132057Re: Fold all blocks without TODO in vim notes file
- Jul 4, 2012Hi Salman,
thank you very much! I did it with your help. I added your key mappings
> map <C-f> :g/TODO/foldopen!<CR>to my ~/.vim/ftplugin/notes.vim and made a keyboard shortcut
> imap <C-f> <C-o><C-f>
> vi notes -c 'set foldenable' -c 'set foldlevel=0' -c 'g/TODO/foldopen!'for my window manager. This does exactly what I want.
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
- << Previous post in topic