Hi Salman,
thank you very much! I did it with your help. I added your key mappings
> map <C-f> :g/TODO/foldopen!<CR>
> imap <C-f> <C-o><C-f>
to my ~/.vim/ftplugin/notes.vim and made a keyboard shortcut
> vi notes -c 'set foldenable' -c 'set foldlevel=0' -c 'g/TODO/foldopen!'
for my window manager. This does exactly what I want.
Thank you
Sepp
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
Wednesday, July 4, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment