Consolidate keymapping

This commit is contained in:
ViViDboarder 2018-06-13 13:18:21 -07:00
parent da8a4a5d57
commit a0684794e9
2 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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