]> Untitled Git - vimfiles.git/commitdiff
:Vt now opens the settings file for the current filetype
authorPhilippe Hürlimann <p@hurlimann.org>
Tue, 25 Oct 2016 19:45:05 +0000 (21:45 +0200)
committerPhilippe Hürlimann <p@hurlimann.org>
Tue, 25 Oct 2016 19:45:05 +0000 (21:45 +0200)
vimrc

diff --git a/vimrc b/vimrc
index 897f6c31ebde70b78598736761bf7f645280c99f..20020c24bd25363cae688c87110d719b73693b3f 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -98,6 +98,7 @@ nnoremap  <F8> :TagbarToggle<CR>
 
 " user defined commands
 command Vr tabedit ~/.vim/vimrc
+command Vt execute "tabedit ~/.vim/ftplugin/" . &filetype . ".vim"
 
 " ctrlp should change working directory
 let g:ctrlp_working_path_mode = 0