Permalink
Browse files

Changing default jump_to_def_vsplit again to <C-W><C-\>

Well, this is emberassing, but it turns out that the previous <C-W>} is
already taken. See :help CTRL-W_} (basically it's a hotkey for :ptag).
As far as I can tell the <C-W><C-\> is free.
  • Loading branch information...
1 parent 83894e1 commit b2341df8af8fc16d37a094ff983a21bac96a18f7 @complex857 complex857 committed Oct 9, 2014
Showing with 5 additions and 5 deletions.
  1. +2 −2 README.md
  2. +3 −3 ftplugin/php_phpcomplete.vim
View
@@ -99,12 +99,12 @@ You change any of them like this in your `vimrc`:
let g:phpcomplete_mappings = {
\ 'jump_to_def': ',g',
\ }
-The keys you don't specify will be mapped the defaults. The defaults are:
+The keys you don't specify will be mapped to the defaults:
let g:phpcomplete_mappings = {
\ 'jump_to_def': '<C-]>',
\ 'jump_to_def_split': '<C-W><C-]>',
- \ 'jump_to_def_vsplit': '<C-W>}',
+ \ 'jump_to_def_vsplit': '<C-W><C-\>',
\}
**let g:phpcomplete\_add\_function\_extensions = [...]**<br>
@@ -22,11 +22,11 @@
" \ 'jump_to_def': ',g',
" \ }
"
-" The keys you don't specify will be mapped the defaults. The defaults are:
+" The keys you don't specify will be mapped to the defaults:
" let g:phpcomplete_mappings = {
" \ 'jump_to_def': '<C-]>',
" \ 'jump_to_def_split': '<C-W><C-]>',
-" \ 'jump_to_def_vsplit': '<C-W>}',
+" \ 'jump_to_def_vsplit': '<C-W><C-\>',
" \}
"
"
@@ -38,7 +38,7 @@ let g:phpcomplete_enhance_jump_to_definition = get(g:, 'phpcomplete_enhance_jump
let g:phpcomplete_mappings = extend({
\ 'jump_to_def': '<C-]>',
\ 'jump_to_def_split': '<C-W><C-]>',
- \ 'jump_to_def_vsplit': '<C-W>}',
+ \ 'jump_to_def_vsplit': '<C-W><C-\>',
\}, get(g:, 'phpcomplete_mappings', {}))
if g:phpcomplete_enhance_jump_to_definition

0 comments on commit b2341df

Please sign in to comment.