commit ed2064967cd112e1b9ce7370f3c4f47d01b42ddb
parent 91bf6ff4f92739f9b049d21c584e81c48721cc85
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Thu, 30 Aug 2018 15:14:19 +0200
vim command to list known file types
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/dotfiles/vim-config/commands.vimrc b/dotfiles/vim-config/commands.vimrc
@@ -2,6 +2,7 @@
command Todo vimgrep /TODO\C<Bslash><Bar>TO DO\C/ **/*.* | copen
command Note vimgrep /NOTE\C/ **/*.* | copen
command Fix vimgrep /FIXME\C/ **/*.* | copen
+command ListFileTypes echo glob($VIMRUNTIME . '/syntax/*.vim')
command CDC cd %:p:h
command Maketab set noet ts=2 | %retab!
command Diff w !diff % -