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

Re: clicking to open folds in Gui?

Expand Messages
  • Charles Campbell
    Here s another fold-related mapping I use: nno :SWP [[:let b:topfunc= line( . ) ][:let b:botfunc= line( . ) :exe b:topfunc ,
    Message 1 of 9 , Apr 3, 2013
      Here's another fold-related mapping I use:

      nno <silent> <c-space> :SWP<cr>[[:let b:topfunc= line(".")<cr>][:let
      b:botfunc= line(".")<cr>:exe b:topfunc "," b:botfunc "foldo"<bar>unlet
      b:topfunc b:botfunc<bar>RWP<cr>

      You'll need my cecutil plugin, though: see
      http://www.drchip.org/astronaut/vim/index.html#CECUTIL . What it does,
      using a comment I have in my .vimrc:

      " <c-space>: open all folds between [[ to ][ (ie. unfold the current

      C Campbell

      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

      You received this message because you are subscribed to the Google Groups "vim_use" group.
      To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
    Your message has been successfully submitted and would be delivered to recipients shortly.