diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-19 17:02:28 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-19 17:02:28 +1200 |
commit | a1b8cb8d2ef2c2b9967f40bd53609e77d08915e2 (patch) | |
tree | 0b15a4577654377cf3ca25089f4927242821e389 /vim | |
parent | Simplify syntax settings (diff) | |
download | dotfiles-a1b8cb8d2ef2c2b9967f40bd53609e77d08915e2.tar.gz dotfiles-a1b8cb8d2ef2c2b9967f40bd53609e77d08915e2.zip |
Move filetype print mapping to more logical place
Diffstat (limited to 'vim')
-rw-r--r-- | vim/vimrc | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -16,9 +16,11 @@ if has('eval') let g:maplocalleader = '_' endif -" Load filetype settings, including filetype plugins and indent settings +" Load filetype-specific plugins, indent settings, and syntax highlighting +" Bind \p to show filetype at a glance if has('autocmd') filetype plugin indent on + nnoremap <silent> <Leader>p :<C-U>set filetype?<CR> endif " Options dependent on the syntax feature @@ -157,9 +159,6 @@ nnoremap <silent> <Leader>l :<C-U>set list! list?<CR> set nonumber nnoremap <silent> <Leader>n :<C-U>set number! number?<CR> -" 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=** |