This commit is contained in:
Christian Nieves
2022-09-27 14:55:48 -05:00
parent 3effd03a36
commit 0139026e84
33 changed files with 39 additions and 36 deletions

View File

@ -176,7 +176,8 @@ nnoremap <leader>cc :CritiqueUnresolvedComments<space><cr>
nnoremap <leader>s :call CitCObsession()<CR>
nnoremap <leader>g :GoogleOutlineWindow<CR>
nnoremap <leader>ps :PiperSelectActiveFiles<CR>
" nnoremap <leader>ps :PiperSelectActiveFiles<CR>
nnoremap <leader>ps :FzfHgFiles<CR>
nnoremap <leader>pl :PiperLoadActiveAsBuffers<CR>
nnoremap <leader>po :PiperOpenPath<CR>

View File

@ -4,7 +4,7 @@ set runtimepath+=/google/src/files/head/depot/google3/experimental/users/tstone/
set runtimepath+=/google/src/files/head/depot/google3/experimental/users/tstone/vim/imp-csearch
Glug! glaive
Glaive imp plugin[mappings] Suggest[default]=buffer,primp,csearch,prompt Report[default]=popupnotify
Glaive imp plugin[mappings] Suggest[default]=buffer,csearch,prompt,primp Report[default]=popupnotify
"
" nnoremap <leader>csi :CsImporter<cr>
nnoremap <leader>csi :ImpSuggest

View File

@ -10,15 +10,16 @@ omap <leader><tab> <plug>(fzf-maps-o)
let g:fzf_preview_window = ['right:50%', 'ctrl-/']
let g:fzf_command_prefix = 'Fzf'
" use the same keybindings for fzf as in shell
" nnoremap <silent> <c-s-t> :FzfHgFiles<CR>
" nnoremap <silent> <c-s-f> :FzfHgRg<space>
let s:hg_command = 'hg files 2>/dev/null'
let s:hg_command = 'hg whatsout --template= -- '
" command! -bang -nargs=* HgFiles
" \ call fzf#vim#grep(
" \ 'git grep --line-number -- '.shellescape(<q-args>), 0,
" \ fzf#vim#with_preview({'dir': systemlist('git rev-parse --show-toplevel')[0]}), <bang>0)
command! -bang FzfHgFiles
\ call fzf#run(fzf#wrap({
\ 'source': s:hg_command,
\ 'options': $FZF_DEFAULT_OPTS . " " . $FZF_CTRL_T_OPTS,
\ }),
\ <bang>0
\ )

View File

@ -24,6 +24,7 @@ Plug 'sso://user/vintharas/telescope-codesearch.nvim'
" UI EXTENSIONS
Plug 'ntpeters/vim-better-whitespace' "auto-set tab/space size
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'
Plug 'vim-airline/vim-airline' " ...
Plug 'vim-airline/vim-airline-themes'