Right click = toggle fold

2007-05-22 Thread Tobia
Hi I just wanted to share this little mapping I've come up with: :map RightMouse LeftMouseza It makes right-clicking on a fold toggle it opened/closed. Using the mouse wheel all the time to scroll around in GVim, I find this very useful for navigating big files, especially with

Re: Right click = toggle fold

2007-05-22 Thread Swaroop C H
I just wanted to share this little mapping I've come up with: :map RightMouse LeftMouseza I find using the keyboard more useful, so I use the space bar to toggle the opening/closing of the folds: :map space za So, it becomes 'j/k/c-f/c-b', space (expand), read, space