Loading ...
Sorry, an error occurred while loading the content.

132057Re: Fold all blocks without TODO in vim notes file

Expand Messages
  • Sepp Tannhuber
    Jul 4, 2012
    • 0 Attachment
      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

      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
    • Show all 5 messages in this topic