diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-07 11:45:50 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-07 11:45:50 +1300 |
commit | e85e3a2549fdbc2c3391ec92d4c179642d05bffb (patch) | |
tree | c8cc877c68fa788de872a5f2d07ae60f6fde47f9 /vim/config | |
parent | Merge branch 'feature/bash-compl' into develop (diff) | |
download | dotfiles-e85e3a2549fdbc2c3391ec92d4c179642d05bffb.tar.gz dotfiles-e85e3a2549fdbc2c3391ec92d4c179642d05bffb.zip |
Add \p Vim binding to show filetype
Diffstat (limited to 'vim/config')
-rw-r--r-- | vim/config/file.vim | 5 |
1 files changed, 5 insertions, 0 deletions
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 <silent> + \ <Leader>p + \ :<C-U>set filetype?<CR> + " Use all ancestors of current directory for :find if has('file_in_path') set path=** |