1
0
mirror of https://github.com/amix/vimrc synced 2025-02-28 14:12:51 +08:00

Update basic.vim

Add compatibility with terminal Vim
This commit is contained in:
Venereo 2019-01-20 17:56:57 +00:00 committed by GitHub
parent 1d42b63013
commit 69c1ae4c4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -206,6 +206,7 @@ vnoremap <silent> # :<C-u>call VisualSelection('', '')<CR>?<C-R>=@/<CR><CR>
" Map <Space> to / (search) and Ctrl-<Space> to ? (backwards search)
map <space> /
map <c-space> ?
map <C-@> ?
" Disable highlight when <leader><cr> is pressed
map <silent> <leader><cr> :noh<cr>