mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2025-01-06 17:57:34 +00:00
Consolidate keymapping
This commit is contained in:
parent
da8a4a5d57
commit
a0684794e9
@ -2,9 +2,6 @@
|
||||
filetype on
|
||||
filetype plugin indent on
|
||||
|
||||
" Use more convenient leader
|
||||
let mapleader="\<Space>"
|
||||
|
||||
" Enable mouse input
|
||||
set mousehide
|
||||
set mouse=a
|
||||
|
@ -1,3 +1,6 @@
|
||||
" Use more convenient leader
|
||||
let mapleader="\<Space>"
|
||||
|
||||
" Remap jk to esc
|
||||
inoremap jk <esc>
|
||||
" Easy esc on TEX Yoda
|
||||
@ -48,7 +51,6 @@ cnoremap Q; q
|
||||
|
||||
" Clearing highlighted search
|
||||
nmap <silent> <leader>/ :set hlsearch! hlsearch?<CR>
|
||||
noremap <C-h><C-s> :set hlsearch! hlsearch?<CR>
|
||||
" Clear search
|
||||
nmap <silent> <leader>cs :nohlsearch<CR>
|
||||
|
||||
@ -61,7 +63,8 @@ vnoremap po "_dP
|
||||
|
||||
if has('nvim')
|
||||
" make term exiting easier
|
||||
tnoremap <c-q> <c-\><c-n>
|
||||
tnoremap <c-W> <c-\><c-n>
|
||||
tnoremap <c-W>. <c-W>
|
||||
tnoremap <c-\><c-\> <c-\><c-n>
|
||||
|
||||
" Add bash related term commands
|
||||
|
Loading…
Reference in New Issue
Block a user