sponsor Vim development Vim logo Vim Book Ad

colon_operator.vim : Use colon commands with motions

 script karma  Rating 4/1, Downloaded by 21  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)
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-colon-operator-0.3.0.tar.gz 0.3.0 2018-09-06 7.0 Tom Ryder Initial upload
ip used for rating: 54.163.22.209

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
OSDN.net Logo