Skip to content

Commit

Permalink
Changing default jump_to_def_vsplit again to <C-W><C-\>
Browse files Browse the repository at this point in the history
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
dudu committed Oct 9, 2014
1 parent 83894e1 commit b2341df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -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>
Expand Down
6 changes: 3 additions & 3 deletions ftplugin/php_phpcomplete.vim
Expand Up @@ -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-\>',
" \}
"
"
Expand All @@ -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
Expand Down

0 comments on commit b2341df

Please sign in to comment.