1
0
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:
Joe Groocock 2018-03-14 02:08:51 +00:00
parent 7c9ed10a00
commit 7b006d65ca
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -98,6 +98,10 @@ set mouse=nicr
nnoremap <LeftMouse> <nop>
nnoremap <RightMouse> <nop>
" Remap completion
inoremap <C-Space> <C-x><C-o>
inoremap <C-@> <C-Space>
let mapleader="\<space>"
" Unbind arrow keys
for prefix in ['n', 'v']