VIM Only ? How about NVIM ?

3 years ago by DammN to c/vim

as title says :-). Time to start posting some .vimrc / .nvimrc snippets.

maxficco 3 points 3 years ago

I’ll change the sidebar!!

path: 0 201251, hotness: undefined, score: 3, children: 0
dbucklin 2 points 3 years ago

One of my faves, for navigating buffers. You are using buffers, right?

nnoremap H :bp<cr> 
nnoremap L :bn<cr> 
nnoremap gb :ls<cr>:b 
nnoremap <Leader>g :e#<CR> 
nnoremap <Leader>1 :1b<CR> 
nnoremap <Leader>2 :2b<CR> 
nnoremap <Leader>3 :3b<CR> 
nnoremap <Leader>4 :4b<CR> 
nnoremap <Leader>5 :5b<CR>
nnoremap <Leader>6 :6b<CR> 
nnoremap <Leader>7 :7b<CR> 
nnoremap <Leader>8 :8b<CR> 
nnoremap <Leader>9 :9b<CR> 
nnoremap <Leader>0 :10b<CR>
path: 0 194250, hotness: undefined, score: 2, children: 0
rufus 2 points 3 years ago

I also use neovim, using a Lua-based config. I recently switched to NixOS though, so I may be moving all of my configs to Nix at some point

path: 0 194185, hotness: undefined, score: 2, children: 0
rist097 1 point 3 years ago path: 0 210791, hotness: undefined, score: 1, children: 1
chimay 2 points 3 years ago

agreed ! btw, i'm surprised not to see more (neo)vim users here, a lot of them must be linux/bsd users, i thought they would be more concerned with what's going on in reddit right now.

path: 0 210791 344659, hotness: undefined, score: 2, children: 0
PeteZ 1 point 3 years ago

I don’t mind neovim comments here. But you should know there’s a large neovim community as well.

path: 0 1868792, hotness: undefined, score: 1, children: 0
vim
vim

@lemmy.sdf.org

login for more options
1239
41
8

For Vim enthusiasts and anyone interested in Vim/Neovim!

"VIM is the greatest editor since the stone chisel." - Dr. Jose Unpingco

#HJKL

go to feed...