summaryrefslogtreecommitdiff
path: root/ftplugin
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2020-04-15 16:50:13 +0100
committerw0rp <devw0rp@gmail.com>2020-04-15 16:50:13 +0100
commit82f734a7c286d8705c9a6e2879b4173fe18a6356 (patch)
treed67a2b46e42d078e6b36083013a7ae7ad466c02f /ftplugin
parentbbe5153fcb36dec9860ced33ae8ff0b5d76ac02a (diff)
downloadale-82f734a7c286d8705c9a6e2879b4173fe18a6356.zip
Closes #3019 - Implement default navigation
Default navigation for commands that jump to new locations has been implemented with the `ale_default_navigation` variable, and all commands that jump to locations now support `-tab`, `-split`, or `-vsplit` arguments for overriding the default navigation behavior.
Diffstat (limited to 'ftplugin')
-rw-r--r--ftplugin/ale-preview-selection.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftplugin/ale-preview-selection.vim b/ftplugin/ale-preview-selection.vim
index d77b4f98..7ec84068 100644
--- a/ftplugin/ale-preview-selection.vim
+++ b/ftplugin/ale-preview-selection.vim
@@ -12,5 +12,5 @@ noremap <buffer> A <NOP>
noremap <buffer> o <NOP>
noremap <buffer> O <NOP>
" Keybinds for opening selection items.
-noremap <buffer> <CR> :call ale#preview#OpenSelectionInBuffer()<CR>
+noremap <buffer> <CR> :call ale#preview#OpenSelection()<CR>
noremap <buffer> t :call ale#preview#OpenSelectionInTab()<CR>