mirror of
https://github.com/vim/vim.git
synced 2025-07-04 23:07:33 -04:00
26 lines
558 B
VimL
26 lines
558 B
VimL
|
" Vim :abbreviate commands
|
||
|
|
||
|
abbrev <buffer> foo foobar
|
||
|
cabbrev <buffer> cfoo cfoobar
|
||
|
iabbrev <buffer> ifoo cfoobar
|
||
|
|
||
|
abbrev <expr> <buffer> foo foobar
|
||
|
cabbrev <expr> <buffer> cfoo cfoobar
|
||
|
iabbrev <expr> <buffer> ifoo cfoobar
|
||
|
|
||
|
noreabbrev <buffer> foo foobar
|
||
|
cnoreabbrev <buffer> cfoo cfoobar
|
||
|
inoreabbrev <buffer> ifoo cfoobar
|
||
|
|
||
|
abbrev <expr> <buffer> foo foobar
|
||
|
cabbrev <expr> <buffer> cfoo cfoobar
|
||
|
iabbrev <expr> <buffer> ifoo cfoobar
|
||
|
|
||
|
unabbrev <buffer> foo
|
||
|
cunabbrev <buffer> cfoo
|
||
|
iunabbrev <buffer> ifoo
|
||
|
|
||
|
abclear <buffer>
|
||
|
cabclear <buffer>
|
||
|
iabclear <buffer>
|