better fzf in vim
This commit is contained in:
parent
e4ee2bf4fc
commit
86f23575b2
@ -169,7 +169,7 @@ map g# <Plug>(incsearch-nohl-g#)
|
||||
|
||||
" path for fzf install
|
||||
set rtp+=/usr/share/vim/vimfiles/
|
||||
nnoremap <Leader>l :GitFiles<CR>
|
||||
nnoremap <Leader>l :FZF<CR>
|
||||
nnoremap <Leader>s :Tags<CR>
|
||||
" Plugged }}}
|
||||
|
||||
|
3
profile
3
profile
@ -18,6 +18,9 @@ export PATH="$HOME/.local/bin:$CABAL_HOME/bin:$RBENV_HOME/shims:$CARGO_HOME/bin:
|
||||
export EDITOR="nvim"
|
||||
#stty -ixon # turn of <C-s> for vimshell
|
||||
|
||||
# Searching
|
||||
export FZF_DEFAULT_COMMAND='(git ls-files -co --exclude-standard || rg --files) 2> /dev/null'
|
||||
|
||||
# Start X if we're in tty1
|
||||
xsession() {
|
||||
startx 2>&1 || vlock
|
||||
|
Loading…
Reference in New Issue
Block a user