ruby.vim defines a set of Ruby mappings. Two of such maps are
]m which move to the previous/next method. When diving into
source code I make heavy use of these maps. So I decided to simplified
m by adding some lines to
augroup ruby autocmd! autocmd BufEnter *.rb,*.ruby map <buffer> m ]m autocmd BufEnter *.rb,*.ruby map <buffer> M [m augroup END
Yes this overwrites the default mark motion, but really, who needs marks when you can breeze through methods?
amos a programar.