3

在 fzf 中,默认情况下,CTRL-P 和 CTRL-N 绑定在项目列表中上下移动。那么我如何才能绑定到上一个历史和下一个历史呢?

4

1 回答 1

4

从码头,检查全局选项

" 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'
于 2017-09-28T19:17:56.357 回答