colon_operator.vim : Use colon commands with motions
| script karma
Downloaded by 1
Comments, bugs, improvements
script versions (upload new version)
|This plugin provides a mapping target to use an Ex command as an operator, in a way repeatable with the . (dot) operator. This allows you to, for example, :sort a text object like a paragraph, and then repeat it on another paragraph. Think of it as the : analogue to the ! motion.
|Drop plugin/colon_operator.vim in your ~/.vim/plugin directory, and autoload/colon_operator.vim in ~/.vim/autoload. Add doc/colon_operator.txt in ~/.vim/doc if you want the help file. Otherwise, use your favourite Vim plugin package manager.
The single normal mode mapping target is <Plug>(ColonOperator). There is no default key mapping; you should define one yourself in your vimrc. For example:
nmap g: <Plug>(ColonOperator)
Click on the package to download.
ip used for rating: