This commit is contained in:
Alex Yatskov 2016-03-03 21:00:21 -08:00
parent e5ae2b3ece
commit c3ccee84e5
2 changed files with 10 additions and 9 deletions

View File

@ -1,15 +1,17 @@
let mapleader = ','
" 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> <leader>n :set relativenumber!<Cr>
nnoremap <silent> Q <Nop>
nnoremap <silent> j gj
nnoremap <silent> k gk
nnoremap <silent> <kPlus> <C-W>+
nnoremap <silent> <kMinus> <C-W>-
inoremap <silent> <C-c> <Esc>
nnoremap Q <Nop>
nnoremap j gj
nnoremap k gk
noremap <C-c> <Esc>
" vim-argwrap
nnoremap <silent> <leader>a :ArgWrap<Cr>
@ -18,8 +20,8 @@ nnoremap <silent> <leader>a :ArgWrap<Cr>
nnoremap <silent> <S-Bs> :BufOnly<Cr>
" vim-easy-align
vmap <Cr> <Plug>(EasyAlign)
nmap ga <Plug>(EasyAlign)
vmap <Cr> <Plug>(EasyAlign)
" vim-go
auto FileType go nmap <leader>b <Plug>(go-build)

View File

@ -2,7 +2,6 @@ call plug#begin('~/.vim/plugged')
Plug 'https://github.com/Chun-Yang/vim-action-ag.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/antoyo/vim-licenses.git'
Plug 'https://github.com/b4winckler/vim-angry.git'