Size: a a a

2019 December 07

F

Felipe in NeoVim
you can use
set nojoinspaces
источник
2019 December 09

SA

Sergio Araujo in NeoVim
Normally when I want to tidy up a paragraph I run in normal mode:

gwap

gw{motion}  Format the lines that {motion} moves over.  Similar to |gq| but puts the cursor back at the same position in the text.  However, 'formatprg' and 'formatexpr' are not used.
источник

SA

Sergio Araujo in NeoVim
A new source of information:
https://vimways.org/2018/
источник

SA

Sergio Araujo in NeoVim
For those of you who use firefox and normally add "tags" to make easy getting back to some interesting articles I recommend reading:
https://superuser.com/questions/414369/how-do-i-change-priority-of-firefox-address-bar-suggestions-to-tags/414387#414387

Now every time I want to see my tags "nvim" on the firefox bookmarks I just type:   + nvim
источник
2019 December 10

SA

Sergio Araujo in NeoVim
источник
2019 December 13

G

GUVO in NeoVim
🤚🏼
источник
2019 December 14

SA

Sergio Araujo in NeoVim
Vim for People Who Think Things Like Vim Are Weird and Hard – CSS Wizardry – CSS Architecture, Web Performance Optimisation, and more, by Harry Roberts
https://csswizardry.com/2014/06/vim-for-people-who-think-things-like-vim-are-weird-and-hard/
источник

SA

Sergio Araujo in NeoVim
источник

SA

Sergio Araujo in NeoVim
Today's tip: In order to improve your vim skills, subscribe to vim questions at stackoverflow. Knowing situations in advance gives you an amazing advantage!
источник
2019 December 15

SA

Sergio Araujo in NeoVim
источник
2019 December 16

SA

Sergio Araujo in NeoVim
источник

SA

Sergio Araujo in NeoVim
источник
2019 December 18

SA

Sergio Araujo in NeoVim
For fastest search and command I have these settings:

let mapleader=','
источник

SA

Sergio Araujo in NeoVim
nnoremap  <space> /
nnoremap <leader><space> :
источник

SA

Sergio Araujo in NeoVim
To open in the browser the URL under your cursor type gx in normal mode.
Yes this is a vim default command!!
источник

SA

Sergio Araujo in NeoVim
источник
2019 December 20

SA

Sergio Araujo in NeoVim
Close current buffer fast:

nnoremap <silent> <leader>x :bd!<cr>
источник

SA

Sergio Araujo in NeoVim
Close other buffers (keep just the current one opened)


if !exists('*CloseAllBuffersButCurrent')
   function! CloseAllBuffersButCurrent()
       let curr = bufnr("%")
       let last = bufnr("$")
       if curr > 1    | silent! execute "1,".(curr-1)."bd"     | endif
       if curr < last | silent! execute (curr+1).",".last."bd" | endif
       echom "All other buffers unloaded!"
   endfunction
endif
command! -nargs=0 Bonly :call CloseAllBuffersButCurrent()
command! -nargs=0 Bo :call CloseAllBuffersButCurrent()
источник

SA

Sergio Araujo in NeoVim
источник
2019 December 21

Ш🌚

Ширмик 🌚 in NeoVim
hello, guys. I have a problen with my NeoVim: in one file there are a column before numberline, but other files have no this column. How I can remove it?
источник