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