top | item 39344622 Ask HN: What are your favorite vim/nvim customizations/shortcuts? 2 points| multiplied | 2 years ago 3 comments order hn newest greybrunix|2 years ago One 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() johncoltrane|2 years ago The ones _I_ have made _myself_ to solve _my_ own problems. multiplied|2 years ago Yes, that's actually largely a part of the question.
greybrunix|2 years ago One 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()
johncoltrane|2 years ago The ones _I_ have made _myself_ to solve _my_ own problems. multiplied|2 years ago Yes, that's actually largely a part of the question.
greybrunix|2 years ago
johncoltrane|2 years ago
multiplied|2 years ago