Home > vim > Creating and Using a VIM Scratch File

Creating and Using a VIM Scratch File

September 22nd, 2010 Leave a comment Go to comments

” put following in your _vimrc

” store for useful text, reusable stuff, code sections
map <f4> :tabe c:/aax/store.txt<CR>
imap <f4> :tabe c:/aax/store.txt<CR>

Hit the F4 key to open store.txt  in a separate tab.  I’ve currently  got a few snippets of Perl I need frequently , a few telephone numbers etc. I find it very useful. The VIM maps above are not rocket science and you will see how to vary them for your own requirements.

Categories: vim Tags:
  1. No comments yet.
  1. No trackbacks yet.