junegunn / fzf.vim

fzf :heart: vim
MIT License
9.52k stars 582 forks source link

Have <C-n> and <C-p> cycle through the top and bottom #1475

Closed psygo closed 1 year ago

psygo commented 1 year ago

Is there a way of having C-n or C-p not stop at the bottom or top and cycle through the list of results? I also feel like this is a more natural default.

junegunn commented 1 year ago

Add --cycle to your $FZF_DEFAULT_OPTS.

psygo commented 1 year ago

Thank you!