vim_movement : Movement over Vim functions with ]m etc.
script karma |
Rating 12/6,
Downloaded by 1281 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Ingo Karkat |
|
script type |
ftplugin |
|
description |
DESCRIPTION
This filetype plugin provides movement commands and text objects for Vim
functions.
This is duplicated from $VIMRUNTIME/ftplugin/vim.vim, using the (IMHO) correct
mappings "move to method", not "move to paragraph".
USAGE
Move around Vim functions:
]m Go to [count] next start of a function.
]M Go to [count] next end of a function.
[m Go to [count] previous start of a function.
[M Go to [count] previous end of a function.
im "inner method" text object, select [count] function contents.
am "a method" text object, select [count] functions, including
the function definition and 'endfunction'. |
|
install details |
DESCRIPTION
This filetype plugin provides movement commands and text objects for Vim
functions.
This is duplicated from $VIMRUNTIME/ftplugin/vim.vim, using the (IMHO) correct
mappings "move to method", not "move to paragraph".
USAGE
Move around Vim functions:
]m Go to [count] next start of a function.
]M Go to [count] next end of a function.
[m Go to [count] previous start of a function.
[M Go to [count] previous end of a function.
im "inner method" text object, select [count] function contents.
am "a method" text object, select [count] functions, including
the function definition and 'endfunction'. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 142.132.191.50
|