mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 13:40:05 +08:00
Fix unite buffer mappings
This commit is contained in:
parent
246e1cebcb
commit
bc491eaae8
@ -311,17 +311,20 @@ function! s:unite_my_settings()
|
|||||||
" Play nice with supertab
|
" Play nice with supertab
|
||||||
let b:SuperTabDisabled=1
|
let b:SuperTabDisabled=1
|
||||||
" Enable navigation with control-j and control-k in insert mode
|
" Enable navigation with control-j and control-k in insert mode
|
||||||
imap <buffer> <C-n> <Plug>(unite_select_next_line)
|
imap <buffer> <C-n> <Plug>(unite_select_next_line)
|
||||||
nmap <buffer> <C-n> <Plug>(unite_select_next_line)
|
nmap <buffer> <C-n> <Plug>(unite_select_next_line)
|
||||||
imap <buffer> <C-p> <Plug>(unite_select_previous_line)
|
imap <buffer> <TAB> <Plug>(unite_select_next_line)
|
||||||
nmap <buffer> <C-p> <Plug>(unite_select_previous_line)
|
nmap <buffer> <TAB> <Plug>(unite_select_next_line)
|
||||||
|
imap <buffer> <C-p> <Plug>(unite_select_previous_line)
|
||||||
|
nmap <buffer> <C-p> <Plug>(unite_select_previous_line)
|
||||||
|
imap <buffer> <S-Tab> <Plug>(unite_select_previous_line)
|
||||||
|
nmap <buffer> <S-Tab> <Plug>(unite_select_previous_line)
|
||||||
|
|
||||||
|
|
||||||
imap <buffer> jj <Plug>(unite_insert_leave)
|
imap <buffer> jj <Plug>(unite_insert_leave)
|
||||||
"imap <buffer> <C-w> <Plug>(unite_delete_backward_path)
|
"imap <buffer> <C-w> <Plug>(unite_delete_backward_path)
|
||||||
|
|
||||||
imap <buffer><expr> j unite#smart_map('j', '')
|
imap <buffer><expr> j unite#smart_map('j', '')
|
||||||
imap <buffer> <TAB> <Plug>(unite_select_next_line)
|
|
||||||
imap <buffer> <C-w> <Plug>(unite_delete_backward_path)
|
imap <buffer> <C-w> <Plug>(unite_delete_backward_path)
|
||||||
imap <buffer> ' <Plug>(unite_quick_match_default_action)
|
imap <buffer> ' <Plug>(unite_quick_match_default_action)
|
||||||
nmap <buffer> ' <Plug>(unite_quick_match_default_action)
|
nmap <buffer> ' <Plug>(unite_quick_match_default_action)
|
||||||
|
Loading…
Reference in New Issue
Block a user