]> Sergey Matveev's repositories - dotfiles.git/blobdiff - vim/.vim/plugin/fileline.vim
Vim scripts refactoring
[dotfiles.git] / vim / .vim / plugin / fileline.vim
diff --git a/vim/.vim/plugin/fileline.vim b/vim/.vim/plugin/fileline.vim
new file mode 100644 (file)
index 0000000..62bf31a
--- /dev/null
@@ -0,0 +1,3 @@
+if exists("*fileline#goto") | finish | endif
+autocmd! BufNewFile *:* nested call fileline#goto()
+autocmd! BufRead *:* nested call fileline#goto()