-
-
Notifications
You must be signed in to change notification settings - Fork 585
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add setlocal filetype=fzf when opening a terminal buffer #982
Comments
We already do that: However, fzf currently does not open in a terminal buffer iff
If you want to force fzf to open in a terminal buffer, set up https://github.com/junegunn/fzf/blob/master/README-VIM.md#configuration |
Thanks, that is perfect! |
Hi @junegunn, I tested this out and it still does not work as intended. I believe this is because |
I'm not sure, changing it |
Thanks for the quick reply. I don't follow your suggestion exactly. I need to add an autocmd for all terminals except fzf, ranger and other tools. How would I do this would |
man fzf
)Right now if I have the following in my .vimrc:
then I'm unable to navigate the fzf candidates.
If you add
setlocal filetype=fzf
when opening a terminal buffer, then users can do something like this:If there's another way to achieve this, please advice. I'd like to use
c-<h,j,k,l>
to navigate between terminal buffers and vim buffers (and tmux buffers) but I'd also like to usec-<j,k>
to move between candidates in a fzf terminal buffer.See this issue discussion for more context: christoomey/vim-tmux-navigator#172 (comment)
The text was updated successfully, but these errors were encountered: