From e85e3a2549fdbc2c3391ec92d4c179642d05bffb Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 7 Nov 2017 11:45:50 +1300 Subject: Add \p Vim binding to show filetype --- vim/config/file.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vim/config/file.vim b/vim/config/file.vim index 4bf1f86b..a0c99f6c 100644 --- a/vim/config/file.vim +++ b/vim/config/file.vim @@ -3,6 +3,11 @@ if has('autocmd') filetype plugin indent on endif +" Bind \p to show filetype +nnoremap + \ p + \ :set filetype? + " Use all ancestors of current directory for :find if has('file_in_path') set path=** -- cgit v1.2.3