Hacker News new | ask | show | jobs
by greybrunix 858 days 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()