-
Notifications
You must be signed in to change notification settings - Fork 0
Insert several candidates with a single key
vim-scripts/smartchr
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a mirror of http://www.vim.org/scripts/script.php?script_id=2290 *smartchr* is a Vim plugin to support input several candidates with a single key, like ess-smart-underscore in Emacs Speaks Statistics -- when user types "_" key, it inserts " <- " for the first time or it replaces " <- " by "_" for the second time. This plugin provides functions to support to define such key bindings easily. For example: inoremap <expr> _ smartchr#one_of(' <- ', '_') Requirements: - Vim 7.1 or later Latest version: http://github.com/kana/vim-smartchr Document in HTML format: http://kana.github.com/config/vim/smartchr.html
About
Insert several candidates with a single key
Resources
Stars
Watchers
Forks
Packages 0
No packages published