Comments (2)
@Aloxaf hi, please look at it once you have the time
from fzf-tab.
Turns out you can configure that with fzf-flags
. I wish this was better documented though, had to crawl dots to get it right:
# Fzf-tab
zstyle ':completion:*' menu no # don't use zsh's native completion menu
zstyle ':fzf-tab:complete:*' fzf-preview \
'[[ -d $realpath ]] && { echo " Directory: \e[1m$(basename "$realpath")\e[0m" && eza $(<$EZA_DEFAULT_OPTS_FILE) -1a --color=always --ignore-glob ".DS_Store|.idea|.vscode" $realpath } || bat --color=always $realpath'
zstyle ':fzf-tab:complete:*' fzf-flags \
--height=40% \
--preview-window=right:60%:wrap:cycle:border-double \
--bind="tab:toggle-down" \
--bind="ctrl-p:change-preview-window(down,90%,wrap,cycle,border-double|hidden|right,50%,wrap,cycle,border-double)" \
--bind="ctrl-v:execute(bat --paging=always --color=always {+})"
from fzf-tab.
Related Issues (20)
- [BUG] Breaks nix completion when quotes are used instead of \ HOT 2
- [Q] why my completion is like this
- [FR] Add support for zellij floating panes
- [BUG] build-fzf-tab-module fails with "conflicting types for ‘boolcodes’" HOT 1
- [Q] Is there way to set the height of the preview window? HOT 2
- build-fzf-tab-module fails on MacOs(14.5) because of helpfiles?
- [BUG] Using `--tmux` in an exported `FZF_DEFAULT_OPTS` breaks `ftb-tmux-popup` HOT 6
- [BUG] Completion options are not shown when word starts with a quote
- [Q] Color syntax of completion selection menu cannot be displayed normally HOT 1
- [BUG?] Do not select a candidate when pressing the slash (/) key HOT 1
- [Q] What's the difference between this plugin and the offical fzf implementation? HOT 2
- [BUG] Preview always shows "fork/exec /usr/bin/zsh: invalid argument" HOT 5
- [Q] How to make fzf-tab show all available completion values HOT 1
- fzf-tab hl color setting does not take effect HOT 2
- [BUG] delay in autocomplete with WSL1
- [BUG] `cd` completion bug when a folder start with digit
- [BUG] Styles Not Working for local-directories and Similar Tags in Completion
- [FR] Compatibility with z-shell/zsh-fancy-completions HOT 1
- [BUG] FZF tab completion does not activate on similar file names HOT 3
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.