]> Sergey Matveev's repositories - dotfiles.git/blobdiff - vim/.vim/plugin/chnglstnav.vim
python#unused#remove() faster call
[dotfiles.git] / vim / .vim / plugin / chnglstnav.vim
index 648fafb3aed91699a8788ede784ef7e60b57f417..699fdd0c542f183e211e540d9c49f4b435c732e4 100644 (file)
@@ -1,7 +1,2 @@
-function! s:Chng(...)
-    if a:0 == 0 | return | endif
-    execute "normal " . a:1 . (a:1 > 0 ? "g;" : "g,")
-endfunction
-
-command! -nargs=? Chng call s:Chng(<args>)
-nmap <End> :changes<CR>:Chng<Space>
+if exists("*chnglstnav#do") | finish | endif
+nmap <End> :changes<CR>:call chnglstnav#do()<Left>