This commit is contained in:
Alex Yatskov 2016-03-03 21:12:14 -08:00
parent b5d34009f8
commit ea0840e6bb

View File

@ -4,17 +4,23 @@ let mapleader = "\<Space>"
nnoremap <Bs> :bd!<Cr> nnoremap <Bs> :bd!<Cr>
nnoremap <kMinus> <C-W>- nnoremap <kMinus> <C-W>-
nnoremap <kPlus> <C-W>+ nnoremap <kPlus> <C-W>+
nnoremap <leader><leader> :b#<Cr> nnoremap <Leader><Leader> :b#<Cr>
nnoremap <leader>w :w<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 Q <Nop> nnoremap Q <Nop>
nnoremap j gj nnoremap j gj
nnoremap k gk nnoremap k gk
noremap <C-c> <Esc> noremap <C-c> <Esc>
vnoremap <Leader>y "+y
vnoremap <Leader>d "+d
nnoremap <Leader>p "+p
nnoremap <Leader>P "+P
vnoremap <Leader>p "+p
vnoremap <Leader>P "+P
" vim-argwrap " vim-argwrap
nnoremap <silent> <leader>a :ArgWrap<Cr> nnoremap <silent> <Leader>a :ArgWrap<Cr>
" vim-bufonly " vim-bufonly
nnoremap <silent> <S-Bs> :BufOnly<Cr> nnoremap <silent> <S-Bs> :BufOnly<Cr>
@ -24,14 +30,14 @@ nmap ga <Plug>(EasyAlign)
vmap <Cr> <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)
auto FileType go nmap <leader>c <Plug>(go-coverage) auto FileType go nmap <Leader>c <Plug>(go-coverage)
auto FileType go nmap <leader>r <Plug>(go-run) auto FileType go nmap <Leader>r <Plug>(go-run)
auto FileType go nmap <leader>t <Plug>(go-test) auto FileType go nmap <Leader>t <Plug>(go-test)
" vim-fswitch " vim-fswitch
noremap <silent> <leader>fs :FSHere<Cr> noremap <silent> <Leader>fs :FSHere<Cr>
" open-browser.vim " open-browser.vim
nmap <leader>o <Plug>(openbrowser-smart-search) nmap <Leader>o <Plug>(openbrowser-smart-search)
vmap <leader>o <Plug>(openbrowser-smart-search) vmap <Leader>o <Plug>(openbrowser-smart-search)