No post body was provided.
Ask HN: What are your favorite vim/nvim customizations/shortcuts?
1–4 of 4 posts
Re: Ask HN: What are your favorite vim/nvim customizations/shortcuts?
#2The ones _I_ have made _myself_ to solve _my_ own problems.
Re: Ask HN: What are your favorite vim/nvim customizations/shortcuts?
#3One thing I cannot live without: The Emacs-like Scratch buffer.
it's quite simple to do in vimscript:
function Newscratch()
execute 'tabnew '
setlocal buftype=nofile
setlocal bufhidden=hide
setlocal noswapfile
endfunction
com! Ns call Newscratch()Re: Ask HN: What are your favorite vim/nvim customizations/shortcuts?
#4The ones _I_ have made _myself_ to solve _my_ own problems.
Yes, that's actually largely a part of the question.