From 7af40112cc1e556093e42dd88ee100d4640ff759 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Tue, 11 Jul 2023 16:13:35 -0700 Subject: [PATCH] [vim] Remove Selecta and Command-T stuff from the old vimrc --- vimrc.common | 22 ---------------------- 1 file changed, 22 deletions(-) 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