]> Sergey Matveev's repositories - dotfiles.git/blobdiff - vim/.vim/pack/stargrave/start/navindent/plugin/navindent.vim
IndentWise is replaced with navindent
[dotfiles.git] / vim / .vim / pack / stargrave / start / navindent / plugin / navindent.vim
diff --git a/vim/.vim/pack/stargrave/start/navindent/plugin/navindent.vim b/vim/.vim/pack/stargrave/start/navindent/plugin/navindent.vim
new file mode 100644 (file)
index 0000000..138a26b
--- /dev/null
@@ -0,0 +1,7 @@
+if exists("*navindent#Do") | finish | endif
+nmap <silent> [- :call navindent#Do(-1, -1)<CR>
+nmap <silent> ]- :call navindent#Do(+1, -1)<CR>
+nmap <silent> [= :call navindent#Do(-1, 0)<CR>
+nmap <silent> ]= :call navindent#Do(+1, 0)<CR>
+nmap <silent> [+ :call navindent#Do(-1, +1)<CR>
+nmap <silent> ]+ :call navindent#Do(+1, +1)<CR>