diff --git a/my_configs.vim b/my_configs.vim index 386e15c..6083886 100644 --- a/my_configs.vim +++ b/my_configs.vim @@ -112,12 +112,6 @@ nnoremap mk :bel copensilent (cargo run) !redraw! autocmd FileType yaml setlocal shiftwidth=2 softtabstop=2 expandtab autocmd FileType yml setlocal shiftwidth=2 softtabstop=2 expandtab -function! GitStatus() - let [a,m,r] = GitGutterGetHunkSummary() - return printf('+%d ~%d -%d', a, m, r) -endfunction -set statusline+=%{GitStatus()} - " Improve vimdiff colors highlight DiffAdd cterm=bold ctermfg=10 ctermbg=17 gui=none guifg=bg guibg=Red highlight DiffDelete cterm=bold ctermfg=10 ctermbg=17 gui=none guifg=bg guibg=Red @@ -147,7 +141,7 @@ nnoremap wz :call WinZoomToggle() nnoremap / :G nnoremap C :close nnoremap B :Bclose -nnoremap k :Ack +nnoremap k :Ack nnoremap g :Git nnoremap gd :Git diff nnoremap gp :Git push @@ -156,23 +150,14 @@ nnoremap M :Git commit nnoremap u :GitGutterBufferToggle nnoremap L :GitGutterLineHighlightsToggle -" OR map keys to use wrapping. nmap (ale_previous_wrap) nmap (ale_next_wrap) -" this is assigned to jedi#goto_stubs() -" nunmap s - -" nnoremap sv :ALEGoToTypeDefinitionInVSplit -" nnoremap sh :ALEGoToTypeDefinitionInSplit -" nnoremap st :ALEGoToTypeDefinitionInTab -" nnoremap :ALEGoToTypeDefinition nmap sv :ALEGoToDefinition -vsplit nmap sh :ALEGoToDefinition -split nmap st :ALEGoToDefinition -tab nmap A :ALEGoToDefinition nmap n :ALEFindReferences -nmap n :ALEFindReferences nmap h :ALEHover nmap r :ALERename @@ -183,3 +168,13 @@ noremap y "*y noremap p "*p noremap Y "+y noremap P "+p + +" These are the default mappings Default mappings +let g:multi_cursor_start_word_key = '' +let g:multi_cursor_select_all_word_key = '' +let g:multi_cursor_start_key = 'g' +let g:multi_cursor_select_all_key = 'g' +let g:multi_cursor_next_key = '' +let g:multi_cursor_prev_key = '' +let g:multi_cursor_skip_key = '' +let g:multi_cursor_quit_key = ''