8000 GitHub - kevgo/jumbo: A better jump command for Vim
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kevgo/jumbo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Jumbo

Separating methods with 2 empty lines makes code not only more readable, it also allows Vim users to jump to the next/previous method using this plugin.

Installation

This is a normal Vim plugin. Install it like you install all your other plugins.

Vundle users
  • add Bundle 'kevgo/jumbo' to your .vimrc file
  • restart Vim and run :BundleInstall
Pathogen users
  • git clone git://github.com/kevgo/jumbo.git ~/.vim/bundle
  • restart Vim

Activation in Vim

Jumbo provids the two VimL methods JumpToNextMethod and JumpToPreviousMethod, which do exactly what their name says.

To replace the normal { and } commands with Jumbo, add this to your .vimrc file:

nnoremap { :call JumpToPreviousFunction()<CR>
nnoremap } :call JumpToNextFunction()<CR>

About

A better jump command for Vim

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0