aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vim/after/ftplugin/diff.vim1
-rw-r--r--vim/filetype.vim2
2 files changed, 3 insertions, 0 deletions
diff --git a/vim/after/ftplugin/diff.vim b/vim/after/ftplugin/diff.vim
index 6098ce48..a8f77125 100644
--- a/vim/after/ftplugin/diff.vim
+++ b/vim/after/ftplugin/diff.vim
@@ -19,6 +19,7 @@ endif
" Set mappings
nmap <buffer> <LocalLeader>p <Plug>DiffPrune
+nmap <buffer> <LocalLeader>pp <Plug>(DiffPrune)l
xmap <buffer> <LocalLeader>p <Plug>DiffPrune
let b:undo_ftplugin = b:undo_ftplugin
\ . '|nunmap <buffer> <LocalLeader>p'
diff --git a/vim/filetype.vim b/vim/filetype.vim
index bda01984..440ee6e1 100644
--- a/vim/filetype.vim
+++ b/vim/filetype.vim
@@ -172,6 +172,8 @@ augroup filetypedetect
" Vim help files
autocmd BufNewFile,BufRead
\ ~/.vim/doc/?*.txt
+ \,*/vim-*/doc/?*.txt
+ \,*/*.vim/doc/?*.txt
\,$VIMRUNTIME/doc/?*.txt
\ setfiletype help
" HTML files