summaryrefslogtreecommitdiff
path: root/.config/shell/profile
diff options
context:
space:
mode:
authorVikas Kushwaha <dev@vikas.rocks>2025-04-29 09:25:30 +0530
committerVikas Kushwaha <dev@vikas.rocks>2025-04-29 09:28:54 +0530
commit7df7120b1ae66ed0e9a7c6ed9b224ba44ea1d920 (patch)
tree1a9f78045786dbbad346204d3957194af04988e4 /.config/shell/profile
parenta2860b969e97e47a2b1c0ddb7161adb5b35c06f3 (diff)
Updates
Diffstat (limited to '.config/shell/profile')
-rw-r--r--.config/shell/profile14
1 files changed, 8 insertions, 6 deletions
diff --git a/.config/shell/profile b/.config/shell/profile
index c981fbc..234b1c2 100644
--- a/.config/shell/profile
+++ b/.config/shell/profile
@@ -68,6 +68,8 @@ export FZF_DEFAULT_OPTS="
--bind 'alt-space:toggle-preview,alt-w:toggle-preview-wrap'
--bind 'alt-enter:print-query'
--bind 'ctrl-alt-c:change-preview-window(up|left:50%|down|right:50%)'
+ --bind 'ctrl-alt-k:change-preview-window(50%|60%|70%|80%|90%)'
+ --bind 'ctrl-alt-j:change-preview-window(50%|40%|30%|20%)'
--bind 'ctrl-alt-a:select-all,ctrl-alt-d:deselect-all'
--bind 'alt-n:half-page-down,alt-p:half-page-up'
--bind 'alt-N:page-down,alt-P:page-up'
@@ -84,12 +86,12 @@ export FZF_DEFAULT_OPTS="
--bind 'alt-9:change-preview(printf \"%s\\\n\" {+})'
--bind 'alt-!:execute(less {})'
--bind 'alt-@:execute(\$PREVIEWER {} | less)'
- --bind 'alt-v:execute(echo {q} >> \"$FZF_HISTFILE\"; LESSOPEN=\"|preview %s\" less {})'
- --bind 'alt-e:execute(echo {q} >> \"$FZF_HISTFILE\"; eval \"\${EDITOR:-vi} {}\")'
- --bind 'ctrl-o:execute(echo {q} >> \"$FZF_HISTFILE\"; eval \"\${OPENER:-xdg-open} {}\")'
- --bind 'alt-O:execute(echo {q} >> \"$FZF_HISTFILE\"; mimeopen --ask {})'
- --bind 'alt-o:execute(echo {q} >> \"$FZF_HISTFILE\"; eval \"\${FILES:-lf} {}\")'
- --bind 'alt-D:become(echo {q} >> \"$FZF_HISTFILE\"; dirname {} )'
+ --bind 'ctrl-o:execute(append-to-history {q} \"$FZF_HISTFILE\"; eval \"\${OPENER:-xdg-open} {}\")'
+ --bind 'alt-v:execute(append-to-history {q} \"$FZF_HISTFILE\"; LESSOPEN=\"|preview %s\" less {})'
+ --bind 'alt-e:execute(append-to-history {q} \"$FZF_HISTFILE\"; eval \"\${EDITOR:-vi} {}\")'
+ --bind 'alt-O:execute(append-to-history {q} \"$FZF_HISTFILE\"; mimeopen --ask {})'
+ --bind 'alt-o:execute(append-to-history {q} \"$FZF_HISTFILE\"; eval \"\${FILES:-lf} {}\")'
+ --bind 'alt-D:become(append-to-history {q} \"$FZF_HISTFILE\"; dirname {} )'
"
## Custom themes for GTypist