[vox-tech] vim question
Peter Jay Salzman
vox-tech@lists.lugod.org
Thu, 1 Aug 2002 17:08:33 -0700
begin Peter Jay Salzman <p@dirac.org>
> hola,
>
> one of my students asked me a question i couldn't answer.
>
> at the bottom of the file, he has:
>
> -> :!top
> -> :!nice -n10 planetary % &
> -> :w
>
> he was playing around with vim and came up with the following macros:
>
> > map <F12> mzG3l"zDp'z@z<CR>
> > map <F11> mzGk3l"zDp'z@z<CR>
> > map <F10> mzGkk3l"zDp'z@z<CR>
> > map <F9> mzGkkk3l"zDp'z@z<CR>
>
> so <F9> writes the file.
^^^^
heh. you know what i mean! :-)
pete