Skip to content

Instantly share code, notes, and snippets.

@ngocphamm
Last active July 19, 2023 06:23
Show Gist options
  • Save ngocphamm/b58e33743abf44c80ef0fa47c4876584 to your computer and use it in GitHub Desktop.
Save ngocphamm/b58e33743abf44c80ef0fa47c4876584 to your computer and use it in GitHub Desktop.
rg search results for FZF_DEFAULT_OPTS
.zsh/main.zsh:3
.tmux/plugins/tmux-fzf/scripts/session.sh:8
.tmux/plugins/tmux-fzf/scripts/command.sh:2
.tmux/plugins/tmux-fzf/scripts/window.sh:12
.tmux/plugins/tmux-fzf/scripts/keybinding.sh:2
.tmux/plugins/tmux-fzf/scripts/clipboard.sh:2
.tmux/plugins/tmux-fzf/scripts/process.sh:4
.tmux/plugins/tmux-fzf/scripts/.fzf-tmux:5
.tmux/plugins/tmux-fzf/scripts/pane.sh:16
Downloads/Temp/_local---custom/custom.plugin.zsh:1
DATA/Working/Tools/git/zinit-configs/NICHOLAS85/.zinit/plugins/_local---config-files/config-files.plugin.zsh:5
DATA/Working/Tools/git/zinit-configs/NICHOLAS85/.zinit/plugins/_local---config-files/functions/autoenv-files:2
DATA/Working/Tools/git/zinit-configs/NICHOLAS85/.zinit/plugins/_local---config-files/functions/mcsvr:2
Documents/TEMP/rpi/home/pi/.config/nvim/plugged/fzf.vim/doc/fzf-vim.txt:1
Documents/TEMP/rpi/home/pi/.config/nvim/plugged/fzf.vim/README.md:1
.zinit/plugins/b4b4r07---enhancd/src/completion.zsh:2
.zsh_history:1
Library/Caches/Transmit/D62729DA-75B1-4A56-AD2F-3075F1DE13AE/Rpi4/home/pi/.zsh/main.zsh:1
Library/Caches/Transmit/33689231-989C-4E9F-A4D0-252216C0BECD/Rpi4/home/pi/.zsh/main-simple.zsh:1
Library/Caches/Transmit/1C3EA272-61BF-43CD-83E9-B7EC304A5A72/Rpi4/home/pi/.zsh/main.zsh:1
Library/Caches/Transmit/389885B7-7228-42F1-85A2-5008CB802EE8/Rpi4/home/pi/.zinit/plugins/_local---custom/custom.plugin.zsh:1
Library/Caches/Transmit/57DBFDD3-5319-4DD1-85ED-10BC1922B400/Rpi4/home/pi/.zsh/main.zsh:1
Library/Caches/Transmit/08B2AA67-21C0-413A-A657-94F7076182DD/Rpi4/home/pi/.zinit/plugins/_local---custom/custom.plugin.zsh:1
Library/Caches/Transmit/01A60ABE-209C-4C24-8F99-3CF99927602D/Rpi4/home/pi/.zinit/plugins/_local---custom/custom.plugin.zsh:1
Library/Caches/Transmit/9F06DB7F-2CAD-4391-A1B6-03935CB5E66D/Rpi4/home/pi/.zsh/main.zsh:1
Library/Caches/Transmit/BD939199-C06E-45E0-B553-7DB0DAAAD5F0/Rpi4/home/pi/.zsh/main-simple.zsh:1
Library/Caches/Transmit/8E983858-BEDA-4D58-B41D-BEC410A89C7F/Rpi4/home/pi/.zsh/main.zsh:1
Library/Caches/Transmit/135EF091-D603-4587-A1D5-9B9A3C1A929E/Rpi4/home/pi/.zsh/main.zsh:1
Library/Caches/Transmit/8470BBF9-3F3B-47B2-BBAA-70FD4D5A118D/Rpi4/home/pi/.zsh/main.zsh:1
Library/Mobile Documents/com~apple~CloudDocs/Temp/Macmini/main.zsh:1
Library/Application Support/Sublime Text 3/Local/Auto Save Session.sublime_session:289
Library/Application Support/MailMate/Database.noindex/Headers/#quoted.cache:1
Library/Application Support/MailMate/Database.noindex/Headers/#unquoted.cache:3
Library/Application Support/MailMate/Database.noindex/Headers/subject.cache:1
Library/Application Support/MailMate/Messages.noindex/IMAP/ngocphamm%40fastmail.fm@imap.fastmail.com/Trash.mailbox/Messages/29077.eml:5
Library/Application Support/MailMate/Messages.noindex/IMAP/ngocphamm%40fastmail.fm@imap.fastmail.com/Trash.mailbox/Messages/29080.eml:3
Library/Application Support/MailMate/Messages.noindex/IMAP/ngocphamm%40fastmail.fm@imap.fastmail.com/INBOX.mailbox/Messages/29105.eml:3
.zshrc:3
.config/nvim/plugged/fzf/README-VIM.md:1
.config/nvim/plugged/fzf/doc/fzf.txt:1
.config/nvim/plugged/fzf/src/options.go:2
.config/nvim/plugged/fzf/ADVANCED.md:9
.config/nvim/plugged/fzf/README.md:7
.config/nvim/plugged/fzf/plugin/fzf.vim:2
.config/nvim/plugged/fzf/shell/key-bindings.fish:6
.config/nvim/plugged/fzf/shell/key-bindings.zsh:6
.config/nvim/plugged/fzf/shell/key-bindings.bash:6
.config/nvim/plugged/fzf/shell/completion.zsh:4
.config/nvim/plugged/fzf/shell/completion.bash:4
.config/nvim/plugged/fzf/CHANGELOG.md:6
.config/nvim/plugged/fzf/bin/fzf-tmux:5
.config/nvim/plugged/fzf/test/test_go.rb:2
.config/nvim/plugged/fzf/man/man1/fzf.1:2
.config/nvim/plugged/fzf.vim/autoload/fzf/vim.vim:1
.zsh/main.zsh
201: export FZF_DEFAULT_OPTS='--height 40% --reverse'
223: export FZF_DEFAULT_OPTS="$FZF_DEFAULT_OPTS"\
.tmux/plugins/tmux-fzf/scripts/session.sh
13:FZF_DEFAULT_OPTS=$(echo $FZF_DEFAULT_OPTS | sed -E -e '$a --header="Select an action."')
23: FZF_DEFAULT_OPTS=$(echo $FZF_DEFAULT_OPTS | sed -E -e '$a --header="Select target session(s). Press TAB to mark multiple items."')
25: FZF_DEFAULT_OPTS=$(echo $FZF_DEFAULT_OPTS | sed -E -e '$a --header="Select target session."')
38: FZF_DEFAULT_OPTS=$(echo $FZF_DEFAULT_OPTS | sed -E -e '$a --header="Select target session(s). Press TAB to mark multiple items."')
.tmux/plugins/tmux-fzf/scripts/command.sh
3:FZF_DEFAULT_OPTS=$(echo $FZF_DEFAULT_OPTS | sed -E -e '$a --header="Select a command."')
.tmux/plugins/tmux-fzf/scripts/window.sh
14:FZF_DEFAULT_OPTS=$(echo $FZF_DEFAULT_OPTS | sed -E -e '$a --header="Select an action."')
27: FZF_DEFAULT_OPTS=$(echo $FZF_DEFAULT_OPTS | sed -E -e '$a --header="Select source window."')
36: FZF_DEFAULT_OPTS=$(echo $FZF_DEFAULT_OPTS | sed -E -e '$a --header="Select source window."')
43: FZF_DEFAULT_OPTS=$(echo $FZF_DEFAULT_OPTS | sed -E -e '$a --header="Select target window(s). Press TAB to mark multiple items."')
45: FZF_DEFAULT_OPTS=$(echo $FZF_DEFAULT_OPTS | sed -E -e '$a --header="Select target window."')
62: FZF_DEFAULT_OPTS=$(echo $FZF_DEFAULT_OPTS | sed -E -e '$a --header="Select another target window."')
.tmux/plugins/tmux-fzf/scripts/keybinding.sh
3:FZF_DEFAULT_OPTS=$(echo $FZF_DEFAULT_OPTS | sed -E -e '$a --header="Select a key binding."')
.tmux/plugins/tmux-fzf/scripts/.fzf-tmux
184:[[ "$opt" =~ "-K -E" ]] && FZF_DEFAULT_OPTS="--margin 0,1 $FZF_DEFAULT_OPTS"
185:[[ -n "$FZF_DEFAULT_OPTS" ]] && envs="$envs FZF_DEFAULT_OPTS=$(printf %q "$FZF_DEFAULT_OPTS")"
.tmux/plugins/tmux-fzf/scripts/clipboard.sh
3:FZF_DEFAULT_OPTS=$(echo $FZF_DEFAULT_OPTS | sed -E -e '$a --header="Select clipboard history"')
.tmux/plugins/tmux-fzf/scripts/pane.sh
15:FZF_DEFAULT_OPTS=$(echo $FZF_DEFAULT_OPTS | sed -E -e '$a --header="Select an action."')
24: FZF_DEFAULT_OPTS=$(echo $FZF_DEFAULT_OPTS | sed -E -e '$a --header="Select a layout."')
29: FZF_DEFAULT_OPTS=$(echo $FZF_DEFAULT_OPTS | sed -E -e '$a --header="Select direction."')
33: FZF_DEFAULT_OPTS=$(echo $FZF_DEFAULT_OPTS | sed -E -e '$a --header="Cells to be adjusted."')
42: FZF_DEFAULT_OPTS=$(echo $FZF_DEFAULT_OPTS | sed -E -e '$a --header="Lines to be adjusted."')
53: FZF_DEFAULT_OPTS=$(echo $FZF_DEFAULT_OPTS | sed -E -e '$a --header="Select target pane(s). Press TAB to mark multiple items."')
55: FZF_DEFAULT_OPTS=$(echo $FZF_DEFAULT_OPTS | sed -E -e '$a --header="Select target pane."')
74: FZF_DEFAULT_OPTS=$(echo $FZF_DEFAULT_OPTS | sed -E -e '$a --header="Select another target pane."')
.tmux/plugins/tmux-fzf/scripts/process.sh
6:FZF_DEFAULT_OPTS=$(echo $FZF_DEFAULT_OPTS | sed -E -e '$a --header="Select an action."')
19:FZF_DEFAULT_OPTS=$(echo $FZF_DEFAULT_OPTS | sed -E -e '$a --header=" PID USER NI STAT COMMAND %CPU %MEM VSZ RSS TIME"')
./.Trash: Operation not permitted (os error 1)
.zinit/plugins/b4b4r07---enhancd/src/completion.zsh
90: | FZF_DEFAULT_OPTS="--height ${FZF_TMUX_HEIGHT:-40%} \
91: --reverse $FZF_DEFAULT_OPTS $FZF_COMPLETION_OPTS \
.zsh_history
71: echo $FZF_DEFAULT_OPTS
./Library/PersonalizationPortrait: Operation not permitted (os error 1)
./Library/Caches/com.apple.HomeKit.configurations: Operation not permitted (os error 1)
Library/Containers/com.docker.docker/Data/vms/0/tty: Permission denied (os error 13)
./Library/Containers/com.apple.stocks: Operation not permitted (os error 1)
./Library/Containers/com.apple.news: Operation not permitted (os error 1)
./Library/Containers/com.apple.mail: Operation not permitted (os error 1)
./Library/Containers/com.apple.CloudDocs.MobileDocumentsFileProvider: Operation not permitted (os error 1)
./Library/Containers/com.apple.iChat: Operation not permitted (os error 1)
./Library/Containers/com.apple.Safari: Operation not permitted (os error 1)
./Library/Containers/com.apple.Home: Operation not permitted (os error 1)
./Library/Containers/com.apple.VoiceMemos: Operation not permitted (os error 1)
./Library/Containers/com.apple.archiveutility: Operation not permitted (os error 1)
./Library/Caches/com.apple.ap.adprivacyd: Operation not permitted (os error 1)
./Library/Caches/com.apple.homed: Operation not permitted (os error 1)
./Library/Caches/com.apple.Safari: Operation not permitted (os error 1)
./Library/Caches/CloudKit: Operation not permitted (os error 1)
.zshrc
46: export FZF_DEFAULT_OPTS='--height 40% --reverse'
68: export FZF_DEFAULT_OPTS="$FZF_DEFAULT_OPTS"\
.config/nvim/plugged/fzf/bin/fzf-tmux
184:[[ "$opt" =~ "-K -E" ]] && FZF_DEFAULT_OPTS="--margin 0,1 $FZF_DEFAULT_OPTS"
185:[[ -n "$FZF_DEFAULT_OPTS" ]] && envs="$envs FZF_DEFAULT_OPTS=$(printf %q "$FZF_DEFAULT_OPTS")"
.config/nvim/plugged/fzf/src/options.go
104: FZF_DEFAULT_OPTS Default options
1656: words, _ := shellwords.Parse(os.Getenv("FZF_DEFAULT_OPTS"))
.config/nvim/plugged/fzf/README-VIM.md
94:`FZF_DEFAULT_OPTS` also apply here.
.config/nvim/plugged/fzf/ADVANCED.md
94:Define `$FZF_DEFAULT_OPTS` like so:
97:export FZF_DEFAULT_OPTS="--height=40% --layout=reverse --info=inline --border --margin=1 --padding=1"
494:export FZF_DEFAULT_OPTS='--color=bg+:#3F3F3F,bg:#4B4B4B,border:#6B6B6B,spinner:#98BC99,hl:#719872,fg:#D9D9D9,header:#719872,info:#BDBB72,pointer:#E12672,marker:#E17899,fg+:#D9D9D9,preview-bg:#3F3F3F,prompt:#98BEDE,hl+:#98BC99'
501:export FZF_DEFAULT_OPTS='--color=bg+:#D9D9D9,bg:#E1E1E1,border:#C8C8C8,spinner:#719899,hl:#719872,fg:#616161,header:#719872,info:#727100,pointer:#E12672,marker:#E17899,fg+:#616161,preview-bg:#D9D9D9,prompt:#0099BD,hl+:#719899'
508:export FZF_DEFAULT_OPTS='--color=bg+:#3c3836,bg:#32302f,spinner:#fb4934,hl:#928374,fg:#ebdbb2,header:#928374,info:#8ec07c,pointer:#fb4934,marker:#fb4934,fg+:#ebdbb2,prompt:#fb4934,hl+:#fb4934'
515:export FZF_DEFAULT_OPTS='--color=bg+:#3B4252,bg:#2E3440,spinner:#81A1C1,hl:#616E88,fg:#D8DEE9,header:#616E88,info:#81A1C1,pointer:#81A1C1,marker:#81A1C1,fg+:#D8DEE9,prompt:#81A1C1,hl+:#81A1C1'
522:export FZF_DEFAULT_OPTS='--color=bg+:#293739,bg:#1B1D1E,border:#808080,spinner:#E6DB74,hl:#7E8E91,fg:#F8F8F2,header:#7E8E91,info:#A6E22E,pointer:#A6E22E,marker:#F92672,fg+:#F8F8F2,prompt:#F92672,hl+:#F92672'
560:Use this command to append `export FZF_DEFAULT_OPTS="..."` line to the end of
564::call append('$', printf('export FZF_DEFAULT_OPTS="%s"', matchstr(fzf#wrap().options, "--color[^']*")))
.config/nvim/plugged/fzf/doc/fzf.txt
114:`FZF_DEFAULT_OPTS` also apply here.
.config/nvim/plugged/fzf/README.md
228:You can add these options to `$FZF_DEFAULT_OPTS` so that they're applied by
232:export FZF_DEFAULT_OPTS='--height 40% --layout=reverse --border'
275:- `FZF_DEFAULT_OPTS`
277: - e.g. `export FZF_DEFAULT_OPTS="--layout=reverse --inline-info"`
525: to your `$FZF_DEFAULT_OPTS`.
634:not a good idea to add `--preview` option to your `$FZF_DEFAULT_OPTS`**.
640:export FZF_DEFAULT_OPTS='--preview "bat --style=numbers --color=always --line-range :500 {}"'
.config/nvim/plugged/fzf/plugin/fzf.vim
362: \ key, join(s:layout_keys, ', '), key == 'options' ? '. Use $FZF_DEFAULT_OPTS.' : '')
723: let opts = $FZF_DEFAULT_OPTS.' '.s:evaluate_opts(get(a:dict, 'options', ''))
.config/nvim/plugged/fzf/shell/key-bindings.zsh
49: eval "$cmd" | FZF_DEFAULT_OPTS="--height ${FZF_TMUX_HEIGHT:-40%} --reverse --bind=ctrl-z:ignore $FZF_DEFAULT_OPTS $FZF_CTRL_T_OPTS" $(__fzfcmd) -m "$@" | while read item; do
76: local dir="$(eval "$cmd" | FZF_DEFAULT_OPTS="--height ${FZF_TMUX_HEIGHT:-40%} --reverse --bind=ctrl-z:ignore $FZF_DEFAULT_OPTS $FZF_ALT_C_OPTS" $(__fzfcmd) +m)"
97: FZF_DEFAULT_OPTS="--height ${FZF_TMUX_HEIGHT:-40%} $FZF_DEFAULT_OPTS -n2..,.. --tiebreak=index --bind=ctrl-r:toggle-sort,ctrl-z:ignore $FZF_CTRL_R_OPTS --query=${(qqq)LBUFFER} +m" $(__fzfcmd)) )
.config/nvim/plugged/fzf/CHANGELOG.md
104: attributes in your `$FZF_DEFAULT_OPTS` and still have those attributes
112: export FZF_DEFAULT_OPTS='--color fg+:italic,hl:-1:underline,hl+:-1:reverse:underline'
825: - `export FZF_DEFAULT_OPTS="--bind tab:toggle-out,shift-tab:toggle-in"`
928: - e.g. `export FZF_DEFAULT_OPTS="--bind esc:cancel"`
1017: - e.g. `let $FZF_DEFAULT_OPTS = $FZF_DEFAULT_OPTS.' --inline-info'`
.config/nvim/plugged/fzf/shell/key-bindings.bash
21: eval "$cmd" | FZF_DEFAULT_OPTS="--height ${FZF_TMUX_HEIGHT:-40%} --reverse --bind=ctrl-z:ignore $FZF_DEFAULT_OPTS $FZF_CTRL_T_OPTS" $(__fzfcmd) -m "$@" | while read -r item; do
44: dir=$(eval "$cmd" | FZF_DEFAULT_OPTS="--height ${FZF_TMUX_HEIGHT:-40%} --reverse --bind=ctrl-z:ignore $FZF_DEFAULT_OPTS $FZF_ALT_C_OPTS" $(__fzfcmd) +m) && printf 'cd %q' "$dir"
52: FZF_DEFAULT_OPTS="--height ${FZF_TMUX_HEIGHT:-40%} $FZF_DEFAULT_OPTS -n2..,.. --tiebreak=index --bind=ctrl-r:toggle-sort,ctrl-z:ignore $FZF_CTRL_R_OPTS +m --read0" $(__fzfcmd) --query "$READLINE_LINE"
.config/nvim/plugged/fzf/shell/completion.zsh
148: matches=$(eval "$compgen $(printf %q "$dir")" | FZF_DEFAULT_OPTS="--height ${FZF_TMUX_HEIGHT:-40%} --reverse --bind=ctrl-z:ignore $FZF_DEFAULT_OPTS $FZF_COMPLETION_OPTS" __fzf_comprun "$cmd" ${(Q)${(Z+n+)fzf_opts}} -q "$leftover" | while read item; do
210: matches=$(FZF_DEFAULT_OPTS="--height ${FZF_TMUX_HEIGHT:-40%} --reverse --bind=ctrl-z:ignore $FZF_DEFAULT_OPTS $FZF_COMPLETION_OPTS $str_arg" __fzf_comprun "$cmd" "${args[@]}" -q "${(Q)prefix}" < "$fifo" | $post | tr '\n' ' ')
.config/nvim/plugged/fzf/shell/completion.bash
179: matches=$(eval "$1 $(printf %q "$dir")" | FZF_DEFAULT_OPTS="--height ${FZF_TMUX_HEIGHT:-40%} --reverse --bind=ctrl-z:ignore $FZF_DEFAULT_OPTS $FZF_COMPLETION_OPTS $2" __fzf_comprun "$4" -q "$leftover" | while read -r item; do
235: selected=$(FZF_DEFAULT_OPTS="--height ${FZF_TMUX_HEIGHT:-40%} --reverse --bind=ctrl-z:ignore $FZF_DEFAULT_OPTS $FZF_COMPLETION_OPTS $str_arg" __fzf_comprun "${rest[0]}" "${args[@]}" -q "$cur" | $post | tr '\n' ' ')
.config/nvim/plugged/fzf/shell/key-bindings.fish
35: set -lx FZF_DEFAULT_OPTS "--height $FZF_TMUX_HEIGHT --reverse --bind=ctrl-z:ignore $FZF_DEFAULT_OPTS $FZF_CTRL_T_OPTS"
56: set -lx FZF_DEFAULT_OPTS "--height $FZF_TMUX_HEIGHT $FZF_DEFAULT_OPTS --tiebreak=index --bind=ctrl-r:toggle-sort,ctrl-z:ignore $FZF_CTRL_R_OPTS +m"
86: set -lx FZF_DEFAULT_OPTS "--height $FZF_TMUX_HEIGHT --reverse --bind=ctrl-z:ignore $FZF_DEFAULT_OPTS $FZF_ALT_C_OPTS"
.config/nvim/plugged/fzf/man/man1/fzf.1
612:.B FZF_DEFAULT_OPTS
613:Default options. e.g. \fBexport FZF_DEFAULT_OPTS="--extended --cycle"\fR
.config/nvim/plugged/fzf/test/test_go.rb
13: FZF_DEFAULT_COMMAND FZF_DEFAULT_OPTS
25:FZF = "FZF_DEFAULT_OPTS= FZF_DEFAULT_COMMAND= #{BASE}/bin/fzf"
.config/nvim/plugged/fzf.vim/autoload/fzf/vim.vim
199: let tokens = map(split($FZF_DEFAULT_OPTS, '[^a-z-]'), 'substitute(v:val, "^--", "", "")')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment