Skip to content
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

fzf_layout --reverse option shows escape characters from Ag #317

Closed
3 of 9 tasks
NiGhTTraX opened this issue Feb 21, 2017 · 2 comments
Closed
3 of 9 tasks

fzf_layout --reverse option shows escape characters from Ag #317

NiGhTTraX opened this issue Feb 21, 2017 · 2 comments

Comments

@NiGhTTraX
Copy link

  • Category
    • Question
    • Bug
    • Suggestion
  • OS
    • Linux
    • macOS
    • Windows
    • Etc.
  • Vim
    • Vim
    • Neovim

image

Removing the --reverse options displays the search results correctly, but from the bottom to the top. I want that option to make fzf in vim consistent with fzf in the shell.

image

@junegunn
Copy link
Owner

Well, g:fzf_layout was not designed to hold options entry. Allowed keys are up, down, left, right, and window (for Neovim).

How about using $FZF_DEFAULT_OPTS instead? You can do it either in your shell configuration or in Vim configuration.

let $FZF_DEFAULT_OPTS = '--reverse'

@NiGhTTraX
Copy link
Author

Awesome! Works like a charm. Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants