dotfiles

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

drop_vimrc.vim (262B)


      1 " Drop to vimrc without changing args
      2 "  (because :drop clobbers args)
      3 function! drop_vimrc#DropToFoldedVimrc()
      4   let s:args = expand("##")
      5   drop $MYVIMRC
      6   setlocal foldmethod=marker foldlevel=0
      7   argdelete *
      8 
      9   exe "argadd ".s:args
     10   unlet s:args
     11 endfunction