Updates
This commit is contained in:
parent
e5ae2b3ece
commit
c3ccee84e5
@ -1,15 +1,17 @@
|
|||||||
let mapleader = ','
|
let mapleader = ','
|
||||||
|
|
||||||
" core
|
" core
|
||||||
nnoremap <silent> <Bs> :bd<Cr>
|
nnoremap <Bs> :bd!<Cr>
|
||||||
|
nnoremap <kMinus> <C-W>-
|
||||||
|
nnoremap <kPlus> <C-W>+
|
||||||
|
nnoremap <leader><leader> :b#<Cr>
|
||||||
|
nnoremap <leader>w :w<Cr>
|
||||||
nnoremap <silent> <Esc><Esc> :nohlsearch<Cr>
|
nnoremap <silent> <Esc><Esc> :nohlsearch<Cr>
|
||||||
nnoremap <silent> <leader>n :set relativenumber!<Cr>
|
nnoremap <silent> <leader>n :set relativenumber!<Cr>
|
||||||
nnoremap <silent> Q <Nop>
|
nnoremap Q <Nop>
|
||||||
nnoremap <silent> j gj
|
nnoremap j gj
|
||||||
nnoremap <silent> k gk
|
nnoremap k gk
|
||||||
nnoremap <silent> <kPlus> <C-W>+
|
noremap <C-c> <Esc>
|
||||||
nnoremap <silent> <kMinus> <C-W>-
|
|
||||||
inoremap <silent> <C-c> <Esc>
|
|
||||||
|
|
||||||
" vim-argwrap
|
" vim-argwrap
|
||||||
nnoremap <silent> <leader>a :ArgWrap<Cr>
|
nnoremap <silent> <leader>a :ArgWrap<Cr>
|
||||||
@ -18,8 +20,8 @@ nnoremap <silent> <leader>a :ArgWrap<Cr>
|
|||||||
nnoremap <silent> <S-Bs> :BufOnly<Cr>
|
nnoremap <silent> <S-Bs> :BufOnly<Cr>
|
||||||
|
|
||||||
" vim-easy-align
|
" vim-easy-align
|
||||||
vmap <Cr> <Plug>(EasyAlign)
|
|
||||||
nmap ga <Plug>(EasyAlign)
|
nmap ga <Plug>(EasyAlign)
|
||||||
|
vmap <Cr> <Plug>(EasyAlign)
|
||||||
|
|
||||||
" vim-go
|
" vim-go
|
||||||
auto FileType go nmap <leader>b <Plug>(go-build)
|
auto FileType go nmap <leader>b <Plug>(go-build)
|
||||||
|
@ -2,7 +2,6 @@ call plug#begin('~/.vim/plugged')
|
|||||||
|
|
||||||
Plug 'https://github.com/Chun-Yang/vim-action-ag.git'
|
Plug 'https://github.com/Chun-Yang/vim-action-ag.git'
|
||||||
Plug 'https://github.com/FooSoft/vim-argwrap.git'
|
Plug 'https://github.com/FooSoft/vim-argwrap.git'
|
||||||
Plug 'https://github.com/Lokaltog/vim-easymotion.git'
|
|
||||||
Plug 'https://github.com/airblade/vim-gitgutter.git'
|
Plug 'https://github.com/airblade/vim-gitgutter.git'
|
||||||
Plug 'https://github.com/antoyo/vim-licenses.git'
|
Plug 'https://github.com/antoyo/vim-licenses.git'
|
||||||
Plug 'https://github.com/b4winckler/vim-angry.git'
|
Plug 'https://github.com/b4winckler/vim-angry.git'
|
||||||
|
Loading…
Reference in New Issue
Block a user