Comments (6)
I've found that removing these 3 lines fixes the issue. I'd make a PR, but I honestly have no idea how any of this stuff works, so I imagine there's a reason for these lines:
Lines 75 to 77 in 1133a88
from fzf-tab.
Your fzf ui is not displaying correctly.
When the tmux popup is shown above the cursor, the fzf prompt should be at the bottom, then 'tab' behavior conforms to expectations. But in your screenshot, the fzf prompt is always at the top.
Have you ever set FZF_DEFAULT_OPTS
anywhere?
from fzf-tab.
Thanks for the quick response.
Yes, you're probably right. I'd forgotten that even though I was testing with the minimal zshrc, the FZF_DEFAULT_OPTS
is exported, so it was getting passed to the child zsh shells.
I have this in my .zshrc:
export FZF_DEFAULT_OPTS="--height 40% --layout=reverse"
I will toy with it some more when I'm next at my keyboard. I'm going to leave this bug open until then (unless you're confident enough to close it).
from fzf-tab.
Unfortunately, it doesn't seem like that was it. I unset FZF_DEFAULT_OPTS
and still saw the undesirable behavior. I tried a handful of different settings, as well as returning all of fzf's variables to default.
For what it's worth, I can't replicate this behavior using just fzf (nor it's ctrl-t or alt-c). The issue only occurs when I hit the TAB key and start fzf-tab.
from fzf-tab.
Very strange.
Can you replicate this behavior with tmux popup -E 'seq 10 | fzf'
?
And how about change this line to fzf_opts+=(--bind=tab:up,btab:down --layout=default)
and try again?
Line 76 in a975fce
from fzf-tab.
I tried out tmux popup -E 'seq 10 | fzf'
, but it doesn't look like the TAB key works there by default...
However I do have some success with fzf_opts+=(--bind=tab:up,btab:down --layout=default
. The popup still appears above the cursor, the first selection is at the bottom of the list, and TAB causes the cursor to move up the list:
This is much better, I would be ok with calling this an acceptable fix.
The behavior when I'm in the top tmux pane is the same as before (which is desired).
from fzf-tab.
Related Issues (20)
- [FR] Could fzf-tab builds the binary without zsh source code like past? HOT 1
- [Q] how to get color git Tab as shown in the Readme? HOT 1
- [BUG] source directory name confliction on case-insensitive filessytem such as APFS for macos HOT 3
- [Q] How to set the sort of all commands to most frequently used, not alphabetical?
- [BUG] completion is mess when _describe use alternative array HOT 4
- [BUG] Smart Case Prefix Completion HOT 1
- [Q] How to sort directory first on completion? HOT 2
- [BUG] Faulty completion when completing `networkctl` HOT 1
- [Q] Custom Height HOT 3
- [BUG] No completion for some builtin commands? HOT 4
- [Q] How to change the suggestion color? HOT 2
- [Q] How to change "same_word" color? HOT 1
- [Q] How to sort by proximity?
- [FR] Preview completion
- Ctrl J-K movement [Q] HOT 1
- [BUG] Syntax highlighting disappears when completion is cancelled HOT 2
- [Q] Error when using fzf-tab's preview feature HOT 10
- [Q] How can I let fzf-tab use these configs I set for fzf HOT 1
- [BUG] Breaks nix completion when quotes are used instead of \ HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fzf-tab.