Skip to content

vim-scripts/smartchr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

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

No packages published