mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
vim: remap completion to <C-Space>
This commit is contained in:
parent
7c9ed10a00
commit
7b006d65ca
@ -98,6 +98,10 @@ set mouse=nicr
|
|||||||
nnoremap <LeftMouse> <nop>
|
nnoremap <LeftMouse> <nop>
|
||||||
nnoremap <RightMouse> <nop>
|
nnoremap <RightMouse> <nop>
|
||||||
|
|
||||||
|
" Remap completion
|
||||||
|
inoremap <C-Space> <C-x><C-o>
|
||||||
|
inoremap <C-@> <C-Space>
|
||||||
|
|
||||||
let mapleader="\<space>"
|
let mapleader="\<space>"
|
||||||
" Unbind arrow keys
|
" Unbind arrow keys
|
||||||
for prefix in ['n', 'v']
|
for prefix in ['n', 'v']
|
||||||
|
Loading…
Reference in New Issue
Block a user