Vim的 Snippet是甚麼?中文介紹請看此 http://c9s.blogspot.com/2007/06/vim-snippet.html
其中有支援Ruby,看看Ruby的trigger有哪些:
||
endif
=
=
=
do
class
begin
each_with_index0
collect
forin
doo
:
def
case
collecto
each
each_with_index
if
eacho
unless
ife
when
selecto
injecto
reject
rejecto
inject
select