0
在fzf中,默認情況下,CTRL-P和CTRL-N綁定在項目列表中上下移動。那麼我怎樣才能將歷史和下一個歷史綁定在一起呢?如何在fzf中啓用每條命令的歷史記錄?
在fzf中,默認情況下,CTRL-P和CTRL-N綁定在項目列表中上下移動。那麼我怎樣才能將歷史和下一個歷史綁定在一起呢?如何在fzf中啓用每條命令的歷史記錄?
從碼頭,檢查global options:
" Enable per-command history.
" CTRL-N and CTRL-P will be automatically bound to next-history and
" previous-history instead of down and up. If you don't like the change,
" explicitly bind the keys to down and up in your $FZF_DEFAULT_OPTS.
let g:fzf_history_dir = '~/.local/share/fzf-history'