diff --git a/vimrc.common b/vimrc.common index 8916021..0bf04d3 100644 --- a/vimrc.common +++ b/vimrc.common @@ -185,20 +185,6 @@ function! strip_trailing_whitespace() endfunction -function! SelectaCommand(choice_command, selecta_args, vim_command) - try - silent let selection = system(a:choice_command . " | selecta " . a:selecta_args) - catch /Vim:Interrupt/ - " Swallow ^C so the redraw below happens; otherwise there will be - " leftovers of selecta on screen. - redraw! - return - endtry - redraw! - exec a:vim_command . " " . selection -endfunction - - " Key Mappings {{{ let mapleader=',' @@ -225,8 +211,6 @@ nnoremap :setlocal invhlsearch " find all nnoremap fa :%s/\v -nnoremap f :call SelectaCommand("find * -type f", "", ":e") - " Text bubbling (these depend on tpope's unimpaired plugin) nnoremap [e nnoremap ]e @@ -238,12 +222,6 @@ nnoremap gV `[v`] " }}} - -" Command-T should open files in tabs when I hit ; move opening files in -" buffers to -"let g:CommandTAcceptSelectionMap='' -"let g:CommandTAcceptSelectionTabMap='' - " GitGutter shows changed lines in files. "let g:gitgutter_enabled = 0 "highlight clear SignColumn