dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

scratchpad.vim (235B)


      1 function! scratchpad#Create()
      2   new
      3   call scratchpad#MarkScratch()
      4 endfunction
      5 function! scratchpad#MarkScratch()
      6   exe "setlocal textwidth=".(winwidth(0)-7)
      7   setlocal bufhidden=wipe buftype=nofile nobuflisted noswapfile
      8 endfunction