colon_operator.vim : Use colon commands with motions
script karma |
Rating 20/5,
Downloaded by 644 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Tom Ryder |
|
script type |
utility |
|
description |
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.
https://sanctum.geek.nz/cgit/vim-colon-operator.git/ |
|
install details |
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) |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 142.132.191.50
|