File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
utils/data/bash-it/plugins Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 88
99// Update icon.
1010func version (cmd * cobra.Command , args []string ) {
11- fmt .Println ("0.26.12 " )
11+ fmt .Println ("0.26.13 " )
1212}
1313
1414var versionCmd = & cobra.Command {
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ function fzf.bat {
9191 if [[ $# > 0 ]]; then
9292 dir=" $@ "
9393 fi
94- o=" $( $fd --type f --print0 --hidden . $dir | fzf --read0 --preview ' bat --color=always {}' ) "
94+ o=" $( $fd --type f --print0 --hidden . $dir | fzf -m - -read0 --preview ' bat --color=always {}' ) "
9595 echo $o
9696 nvim $o
9797}
@@ -124,14 +124,14 @@ function fzf.ripgrep.nvim {
124124 else
125125 nvim +cw -q {+f} # Build quickfix list for the selected items.
126126 fi'
127- fzf --disabled --ansi --multi \
128- --bind " start :$RELOAD " --bind " change:$RELOAD " \
129- --bind " enter:become :$OPENER " \
127+ fzf -m - -disabled --ansi --multi \
128+ --bind " home :$RELOAD " --bind " change:$RELOAD " \
129+ --bind " enter:execute :$OPENER " \
130130 --bind " ctrl-o:execute:$OPENER " \
131131 --bind ' alt-a:select-all,alt-d:deselect-all,ctrl-/:toggle-preview' \
132132 --delimiter : \
133133 --preview ' bat --style=full --color=always --highlight-line {2} {1}' \
134- --preview-window ' ~4,+{2}+4/3,<80(up) '
134+ --preview-window ' right:40% '
135135}
136136
137137alias frgvim=fzf.ripgrep.nvim
@@ -151,7 +151,7 @@ function fzf.history {
151151 _fzf.history.usage
152152 return 0
153153 fi
154- local command=$( HISTTIMEFORMAT=" " history | sed -E ' s/^[ ]*[0-9]+[ ]*//' | fzf | vipe)
154+ local command=$( HISTTIMEFORMAT=" " history | sed -E ' s/^[ ]*[0-9]+[ ]*//' | fzf -m | vipe)
155155 echo $command
156156 history -s " $command "
157157 eval " $command "
You can’t perform that action at this time.
0 commit comments