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