2021-01-20 05:02:36 +00:00
|
|
|
let mapleader = "\<space>"
|
2015-01-28 10:41:26 +00:00
|
|
|
|
|
|
|
" core
|
2021-01-20 04:31:16 +00:00
|
|
|
nnoremap <silent><leader><leader> :b#<cr>
|
|
|
|
nnoremap <silent><c-c><c-c> :nohlsearch<cr>
|
|
|
|
nnoremap <silent><leader>m :make<cr>
|
|
|
|
nnoremap <silent><leader>w :w<cr>
|
|
|
|
nnoremap <silent><leader>x :x<cr>
|
|
|
|
inoremap <C-c> <esc>
|
|
|
|
nnoremap Q <nop>
|
2016-03-04 22:18:15 +00:00
|
|
|
|
2019-12-17 21:02:34 +00:00
|
|
|
nnoremap Y y$
|
2021-01-20 04:31:16 +00:00
|
|
|
nnoremap <leader>Y "+y$
|
|
|
|
vnoremap <leader>y "+y
|
|
|
|
vnoremap <leader>d "+d
|
|
|
|
vnoremap <leader>p "+p
|
|
|
|
vnoremap <leader>P "+P
|
|
|
|
nnoremap <leader>y "+y
|
|
|
|
nnoremap <leader>d "+d
|
|
|
|
nnoremap <leader>p "+p
|
|
|
|
nnoremap <leader>P "+P
|
|
|
|
nnoremap <leader>yy "+yy
|
|
|
|
nnoremap <leader>d "+dd
|
2016-03-04 22:18:15 +00:00
|
|
|
|
2021-05-23 04:58:53 +00:00
|
|
|
nnoremap <silent><bs> :bd<cr>
|
2021-08-22 18:39:51 +00:00
|
|
|
nnoremap <silent><s-bs> :%bd <bar> e# <bar> bd#<cr>
|
2021-05-23 04:58:53 +00:00
|
|
|
|
2021-01-20 04:31:16 +00:00
|
|
|
nnoremap <a-k> <c-w>-
|
|
|
|
nnoremap <a-j> <c-w>+
|
|
|
|
nnoremap <a-h> <c-w><
|
|
|
|
nnoremap <a-l> <c-w>>
|
|
|
|
nnoremap <a-=> <c-w><c-=>
|
2016-03-05 19:30:40 +00:00
|
|
|
|
2016-03-29 17:27:04 +00:00
|
|
|
nnoremap <C-j> <C-W>j
|
|
|
|
nnoremap <C-k> <C-W>k
|
|
|
|
nnoremap <C-h> <C-W>h
|
|
|
|
nnoremap <C-l> <C-W>l
|
2015-01-28 10:41:26 +00:00
|
|
|
|
2016-03-05 19:30:40 +00:00
|
|
|
nnoremap j gj
|
|
|
|
nnoremap k gk
|
|
|
|
|
2021-01-20 04:31:16 +00:00
|
|
|
" util
|
|
|
|
nnoremap <leader>ig :Guid<cr>
|