Size: a a a

2019 December 04

SA

Sergio Araujo in NeoVim
cat  "change a (html) tag"
источник

SA

Sergio Araujo in NeoVim
vi'   visual inner quotes
vi[   visual inner  square brackets
da(  delete include parenthesis
источник

Q(

QoBi BeN NuN (THiaGo NuNeS) in NeoVim
Sergio Araujo
to select the whole paragraph just press  vip
wich means "visual inner paragraph"
Oh. I didn't know their name, but I usually use cat or cit with html.
источник

SA

Sergio Araujo in NeoVim
"+yap    

" register plus (clipboard)
источник

Q(

QoBi BeN NuN (THiaGo NuNeS) in NeoVim
Just had no idea it may work to visual as well.
источник

SA

Sergio Araujo in NeoVim
When I have to test a piece of code on vim I simple do:

:@+
источник

SA

Sergio Araujo in NeoVim
or if you have just run a command and you want to share with someone:

:let @+=@:
источник

SA

Sergio Araujo in NeoVim
this will put your last command into your clipboard
источник

SA

Sergio Araujo in NeoVim
or share your last search command

:let @+=@/
источник

Q(

QoBi BeN NuN (THiaGo NuNeS) in NeoVim
It seems I really don't use the power of (neo)vim
источник

SA

Sergio Araujo in NeoVim
If you are on insert mode and want to insert the content of the clipboard just type (INSERT MODE)

Ctrl-r +
источник
2019 December 05

SA

Sergio Araujo in NeoVim
Let's say you have made some changes on your vimrc/init.vim and you are not satisfied, you can do:

## Going back 1 hour in time

   :earlier 1h
источник

SA

Sergio Araujo in NeoVim
:earlier 15m
источник

SA

Sergio Araujo in NeoVim
" list buffers and jump to a chosen one
nnoremap <Leader>b :buffers<CR>:b<Space>
источник

SA

Sergio Araujo in NeoVim
Insert the current line as a vim command

Ctrl-r Ctrl-l
источник
2019 December 06

SA

Sergio Araujo in NeoVim
Have you guys seen this amazing site:
https://vimrcfu.com/
источник

SA

Sergio Araujo in NeoVim
If you by any chance have opened a privileged file with no right permission, this would come in handy:

https://vimrcfu.com/snippet/223
источник
2019 December 07

SA

Sergio Araujo in NeoVim
I've just found an useful vim function:

noremap J :call J()<cr>
function! J()
   if getline(line('.')+1)=="" | exe 'normal gJ' | else | join | endif
endfunction
источник

SA

Sergio Araujo in NeoVim
to follow the discussion about it follow:
https://stackoverflow.com/questions/59219559/
источник

SA

Sergio Araujo in NeoVim
sorry for too much "follow" :)
источник