remove everything I did not use

This commit is contained in:
Thomas Ruoff
2018-01-09 08:20:52 +01:00
parent f0538947ab
commit 3bf7bd3e64

28
vimrc
View File

@@ -178,18 +178,12 @@ let maplocalleader=','
"" fast escaping
inoremap jj <ESC>
"" fast editing
nnoremap <leader>e :e<space>
"" fast saving
nnoremap <leader>w :update<cr>
"" remove hightlighting
nnoremap <leader><space> :nohls <cr>
"" access copy buffer
noremap <leader>x "+
"" fast window switching
nnoremap <C-J> <C-W><C-J>
nnoremap <C-K> <C-W><C-K>
@@ -214,9 +208,6 @@ vnoremap . :norm.<cr>
"" Visually select the text that was last edited/pasted
nnoremap gV `[v`]
"" pull word under cursor into lhs of a substitute (for quick search and replace)
nnoremap <leader>r :%s#\<<C-r>=expand("<cword>")<CR>\>#
"" fast editing of the .vimrc
nnoremap <silent> <leader>ev :e $MYVIMRC<cr>
@@ -236,9 +227,6 @@ nnoremap <silent> <leader>pp :set invpaste<CR>
nnoremap <silent> <leader>nn :set invnumber<CR>
nnoremap <silent> <leader>ii :set invrelativenumber<CR>
"" <Leader>0: Run the visually selected code in node and replace it with the output
vnoremap <silent> <Leader>0 :!node<cr>
" debugging, use leader-DD to start, do a slow action, then leader-DQ to
" finish. Your output will be in profile.log
nnoremap <silent> <leader>DD :exe ":profile start profile.log"<cr>:exe ":profile func *"<cr>:exe ":profile file *"<cr>
@@ -280,16 +268,8 @@ nnoremap <leader>bb :Buffers<cr>
nnoremap <leader>ff :GFiles<cr>
nnoremap <leader>FF :Files<cr>
vnoremap <leader>ff y:Files <c-r>"<cr>
nnoremap <leader>aa :Ag<space>
vnoremap <leader>aa y:Ag <c-r>"<cr>
nnoremap <leader>AA :Ag <c-r><c-w><cr>
nnoremap <leader>cc :Commits<cr>
nnoremap <leader>hf :History<cr>
nnoremap <leader>hc :History<cr>
nnoremap <leader>h/ :History<cr>
"" minibufexpl
map <Leader>t :MBEToggle<cr>
"" ale
nmap <silent> <C-k> <Plug>(ale_previous_wrap)
@@ -308,14 +288,6 @@ if filereadable(expand("~/.vim/lightline.vim"))
augroup END
endif
"" Unimpaired
"" bubble single lines
nnoremap <leader>k [e
nnoremap <leader>j ]e
"" bubble multiple lines
vnoremap <leader>k [egv
vnoremap <leader>j ]egv
"" Indent Guides
nnoremap <leader>g :IndentGuidesToggle<CR>