]> Sergey Matveev's repositories - dotfiles.git/blob - vim/.vim/plugin/chnglstnav.vim
648fafb3aed91699a8788ede784ef7e60b57f417
[dotfiles.git] / vim / .vim / plugin / chnglstnav.vim
1 function! s:Chng(...)
2     if a:0 == 0 | return | endif
3     execute "normal " . a:1 . (a:1 > 0 ? "g;" : "g,")
4 endfunction
5
6 command! -nargs=? Chng call s:Chng(<args>)
7 nmap <End> :changes<CR>:Chng<Space>