mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-06 04:27:40 +00:00
feat(config): add grokbot scheme handlers and yazi configuration enhancements
This commit is contained in:
1 parent
07b4a56d1b
commit
311538839a
4 files changed
+114
-52
No files matched your search
+77
-52
@@ -1,16 +1,16 @@
|
||||
[[mgr.prepend_keymap]]
|
||||
on = "F"
|
||||
run = "plugin smart-filter"
|
||||
on = "F"
|
||||
run = "plugin smart-filter"
|
||||
desc = "Smart filter"
|
||||
|
||||
[[mgr.prepend_keymap]]
|
||||
on = [ "g", "r" ]
|
||||
run = 'shell -- ya emit cd "$(git rev-parse --show-toplevel)"'
|
||||
on = ["g", "r"]
|
||||
run = 'shell -- ya emit cd "$(git rev-parse --show-toplevel)"'
|
||||
desc = "Go to git root"
|
||||
|
||||
[[mgr.prepend_keymap]]
|
||||
on = [ "g", "C" ]
|
||||
run = 'shell -- ya emit cd "$HOME/.local/share/chezmoi"'
|
||||
on = ["g", "C"]
|
||||
run = 'shell -- ya emit cd "$HOME/.local/share/chezmoi"'
|
||||
desc = "Go to chezmoi root"
|
||||
|
||||
[[mgr.prepend_keymap]]
|
||||
@@ -25,108 +25,108 @@ on = "'"
|
||||
run = "plugin bunny fuzzy"
|
||||
|
||||
[[mgr.prepend_keymap]]
|
||||
on = [ "g", "d"]
|
||||
run = 'shell -- ya emit cd "$HOME/Downloads"'
|
||||
on = ["g", "d"]
|
||||
run = 'shell -- ya emit cd "$HOME/Downloads"'
|
||||
desc = "Go to ~/Downloads"
|
||||
|
||||
[[mgr.prepend_keymap]]
|
||||
on = [ "g", "D", "d" ]
|
||||
run = 'shell -- ya emit cd "$GHQ_ROOT/github.com"'
|
||||
on = ["g", "D", "d"]
|
||||
run = 'shell -- ya emit cd "$GHQ_ROOT/github.com"'
|
||||
desc = "Go to ~/Developer"
|
||||
|
||||
[[mgr.prepend_keymap]]
|
||||
on = [ "g", "D", "w" ]
|
||||
run = 'shell -- ya emit cd "$GHQ_ROOT/github.com/wltbs"'
|
||||
on = ["g", "D", "w"]
|
||||
run = 'shell -- ya emit cd "$GHQ_ROOT/github.com/wltbs"'
|
||||
desc = "Go to ~/Developer/wltbs"
|
||||
|
||||
[[mgr.prepend_keymap]]
|
||||
on = [ "g", "D", "p" ]
|
||||
run = 'shell -- ya emit cd "$GHQ_ROOT/github.com/prdlk"'
|
||||
on = ["g", "D", "p"]
|
||||
run = 'shell -- ya emit cd "$GHQ_ROOT/github.com/prdlk"'
|
||||
desc = "Go to ~/Developer/prdlk"
|
||||
|
||||
[[mgr.prepend_keymap]]
|
||||
on = [ "g", "l" ]
|
||||
run = 'shell -- ya emit cd "$HOME/.local"'
|
||||
on = ["g", "l"]
|
||||
run = 'shell -- ya emit cd "$HOME/.local"'
|
||||
desc = "Go to ~/.local"
|
||||
|
||||
[[mgr.prepend_keymap]]
|
||||
on = [ "g", "o", "p" ]
|
||||
run = 'shell -- ya emit cd "$HOME/Documents/Obsidian/Personal"'
|
||||
on = ["g", "o", "p"]
|
||||
run = 'shell -- ya emit cd "$HOME/Documents/Obsidian/Personal"'
|
||||
desc = "Open Personal Obsidian"
|
||||
|
||||
[[mgr.prepend_keymap]]
|
||||
on = [ "g", "o", "r" ]
|
||||
run = 'shell -- ya emit cd "$HOME/Documents/Obsidian/Research"'
|
||||
on = ["g", "o", "r"]
|
||||
run = 'shell -- ya emit cd "$HOME/Documents/Obsidian/Research"'
|
||||
desc = "Open Research Obsidian"
|
||||
|
||||
[[mgr.prepend_keymap]]
|
||||
on = [ "g", "o", "w" ]
|
||||
run = 'shell -- ya emit cd "$HOME/Documents/Obsidian/Walletbase"'
|
||||
on = ["g", "o", "w"]
|
||||
run = 'shell -- ya emit cd "$HOME/Documents/Obsidian/Walletbase"'
|
||||
desc = "Open Walletbase Obsidian"
|
||||
|
||||
[[mgr.prepend_keymap]]
|
||||
on = [ "g", "p" ]
|
||||
run = 'shell -- ya emit cd "$HOME/Pictures"'
|
||||
on = ["g", "p"]
|
||||
run = 'shell -- ya emit cd "$HOME/Pictures"'
|
||||
desc = "Go to Pictures"
|
||||
|
||||
[[mgr.prepend_keymap]]
|
||||
on = [ "g", "b" ]
|
||||
run = "back"
|
||||
on = ["g", "b"]
|
||||
run = "back"
|
||||
desc = "Go to previous directory"
|
||||
|
||||
[[mgr.prepend_keymap]]
|
||||
on = [ "g", "f" ]
|
||||
run = "forward"
|
||||
on = ["g", "f"]
|
||||
run = "forward"
|
||||
desc = "Go forward to next directory"
|
||||
|
||||
[[mgr.prepend_keymap]]
|
||||
on = [ "g","m", "p" ]
|
||||
run = "cd sftp://gdrive-personal"
|
||||
on = ["g", "m", "p"]
|
||||
run = "cd sftp://gdrive-personal"
|
||||
desc = "Mount & Go to Personal Drive"
|
||||
|
||||
[[mgr.prepend_keymap]]
|
||||
on = [ "g","m", "s" ]
|
||||
run = "cd sftp://gdrive-sonr"
|
||||
on = ["g", "m", "s"]
|
||||
run = "cd sftp://gdrive-sonr"
|
||||
desc = "Mount & Go to Sonr Drive"
|
||||
|
||||
[[mgr.prepend_keymap]]
|
||||
on = [ "g", "m", "h" ]
|
||||
run = "cd sftp://gdrive-hyperauth"
|
||||
on = ["g", "m", "h"]
|
||||
run = "cd sftp://gdrive-hyperauth"
|
||||
desc = "Mount & Go to HyperAuth Drive"
|
||||
|
||||
[[mgr.prepend_keymap]]
|
||||
on = "<C-q>"
|
||||
run = "quit"
|
||||
on = "<C-q>"
|
||||
run = "quit"
|
||||
desc = "Quit"
|
||||
|
||||
[[mgr.prepend_keymap]]
|
||||
on = "<S-Tab>"
|
||||
run = 'shell "$SHELL" --block'
|
||||
on = "<S-Tab>"
|
||||
run = 'shell "$SHELL" --block'
|
||||
desc = "Drop to shell in the current directory"
|
||||
|
||||
[[mgr.prepend_keymap]]
|
||||
on = "l"
|
||||
run = "plugin smart-enter"
|
||||
on = "l"
|
||||
run = "plugin smart-enter"
|
||||
desc = "Enter the child directory, or open the file"
|
||||
|
||||
[[mgr.prepend_keymap]]
|
||||
on = "<C-t>"
|
||||
on = "<C-t>"
|
||||
run = "plugin tv"
|
||||
desc = "Jump to a file via television"
|
||||
|
||||
[[mgr.prepend_keymap]]
|
||||
on = "<C-g>"
|
||||
on = "<C-g>"
|
||||
run = "plugin tv ghq"
|
||||
desc = "Jump to a ghq repo via television"
|
||||
|
||||
|
||||
[[mgr.prepend_keymap]]
|
||||
on = "<C-d>"
|
||||
on = "<C-d>"
|
||||
run = "plugin tv dirs"
|
||||
desc = "Jump to a directory via television"
|
||||
|
||||
[[mgr.prepend_keymap]]
|
||||
on = "<C-f>"
|
||||
on = "<C-f>"
|
||||
run = "plugin tv text"
|
||||
desc = "Open files using neovim and jump to where the string is located"
|
||||
|
||||
@@ -135,21 +135,46 @@ desc = "Open files using neovim and jump to where the string is located"
|
||||
# standalone yazi — see ~/.local/bin/yazi-nvim-open). Replaces yazi.nvim's
|
||||
# <c-v>/<c-x> buffer-local maps.
|
||||
[[mgr.prepend_keymap]]
|
||||
on = "<C-v>"
|
||||
run = 'shell -- yazi-nvim-open vsplit %s'
|
||||
on = "<C-v>"
|
||||
run = 'shell -- yazi-nvim-open vsplit %s'
|
||||
desc = "Open in nvim vertical split"
|
||||
|
||||
[[mgr.prepend_keymap]]
|
||||
on = "<C-x>"
|
||||
run = 'shell -- yazi-nvim-open split %s'
|
||||
on = "<C-x>"
|
||||
run = 'shell -- yazi-nvim-open split %s'
|
||||
desc = "Open in nvim horizontal split"
|
||||
|
||||
[[mgr.prepend_keymap]]
|
||||
on = "A"
|
||||
run = "create --dir"
|
||||
on = "A"
|
||||
run = "create --dir"
|
||||
desc = "Create a directory"
|
||||
|
||||
[[mgr.prepend_keymap]]
|
||||
on = "N"
|
||||
run = "bulk_create"
|
||||
on = "N"
|
||||
run = "bulk_create"
|
||||
desc = "Bulk create files"
|
||||
|
||||
[[mgr.prepend_keymap]]
|
||||
on = "<C-w>"
|
||||
run = "plugin split-tabs spl_toggle"
|
||||
desc = "Split-tabs: toggle split tabs mode"
|
||||
|
||||
[[mgr.prepend_keymap]]
|
||||
on = "<Tab>"
|
||||
run = "plugin split-tabs spl_switch_tab"
|
||||
desc = "Split-tabs: switch to the other pane"
|
||||
|
||||
[[mgr.prepend_keymap]]
|
||||
on = "<C-p>"
|
||||
run = ["escape --visual", "plugin split-tabs spl_copy"]
|
||||
desc = "Split-tabs: copy to the other pane"
|
||||
|
||||
[[mgr.prepend_keymap]]
|
||||
on = "<C-x>"
|
||||
run = ["escape --visual", "plugin split-tabs spl_move"]
|
||||
desc = "Split-tabs: move to the other pane"
|
||||
|
||||
[[mgr.prepend_keymap]]
|
||||
on = "P"
|
||||
run = "plugin split-tabs spl_preview"
|
||||
desc = "Split-tabs: toggle preview pane"
|
||||
@@ -63,5 +63,10 @@ use = "yazi-rs/plugins:no-status"
|
||||
rev = "efa4d79"
|
||||
hash = "3e023d31f29201efdac2a6ae35fedb78"
|
||||
|
||||
[[plugin.deps]]
|
||||
use = "terrakok/split-tabs"
|
||||
rev = "d0531f4"
|
||||
hash = "4298f0a23f6109a92334eef06fc7ffb9"
|
||||
|
||||
[flavor]
|
||||
deps = []
|
||||
Reference in new issue
Block a user