[vim] Remove Selecta and Command-T stuff from the old vimrc
This commit is contained in:
parent
5ce57ee011
commit
7af40112cc
1 changed files with 0 additions and 22 deletions
22
vimrc.common
22
vimrc.common
|
|
@ -185,20 +185,6 @@ function! <SID>strip_trailing_whitespace()
|
||||||
endfunction
|
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 {{{
|
" Key Mappings {{{
|
||||||
let mapleader=','
|
let mapleader=','
|
||||||
|
|
||||||
|
|
@ -225,8 +211,6 @@ nnoremap <silent> <leader><space> :setlocal invhlsearch<CR>
|
||||||
" find all
|
" find all
|
||||||
nnoremap <leader>fa :%s/\v
|
nnoremap <leader>fa :%s/\v
|
||||||
|
|
||||||
nnoremap <leader>f :call SelectaCommand("find * -type f", "", ":e")<cr>
|
|
||||||
|
|
||||||
" Text bubbling (these depend on tpope's unimpaired plugin)
|
" Text bubbling (these depend on tpope's unimpaired plugin)
|
||||||
nnoremap <C-Up> [e
|
nnoremap <C-Up> [e
|
||||||
nnoremap <C-Down> ]e
|
nnoremap <C-Down> ]e
|
||||||
|
|
@ -238,12 +222,6 @@ nnoremap gV `[v`]
|
||||||
|
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
|
|
||||||
" Command-T should open files in tabs when I hit <CR>; move opening files in
|
|
||||||
" buffers to <C-b>
|
|
||||||
"let g:CommandTAcceptSelectionMap='<C-b>'
|
|
||||||
"let g:CommandTAcceptSelectionTabMap='<CR>'
|
|
||||||
|
|
||||||
" GitGutter shows changed lines in files.
|
" GitGutter shows changed lines in files.
|
||||||
"let g:gitgutter_enabled = 0
|
"let g:gitgutter_enabled = 0
|
||||||
"highlight clear SignColumn
|
"highlight clear SignColumn
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue