AutoYADM commit: 2025-02-13 11:30:07
This commit is contained in:
parent
1b89aa2684
commit
d7dbf3c0e1
2 changed files with 11 additions and 2 deletions
|
@ -37,7 +37,10 @@ prepend_keymap = [
|
||||||
], run = "linemode none", desc = "Linemode: none" },
|
], run = "linemode none", desc = "Linemode: none" },
|
||||||
{ on = "!", run = 'shell "$SHELL" --block', desc = "Open shell here" },
|
{ on = "!", run = 'shell "$SHELL" --block', desc = "Open shell here" },
|
||||||
# { on = "!", run = 'shell --block --interactive', desc = "Open shell here" },
|
# { on = "!", run = 'shell --block --interactive', desc = "Open shell here" },
|
||||||
{ on = "<C-n>", run = "shell --confirm dragon-drop -x -i -T '$1'", desc = "Drag and drop selection" },
|
{ on = [
|
||||||
|
"<space>",
|
||||||
|
"d",
|
||||||
|
], run = 'shell -- dragon-drop -x -i -T "$1"', desc = "Drag and drop selection" },
|
||||||
{ on = [
|
{ on = [
|
||||||
"g",
|
"g",
|
||||||
"r",
|
"r",
|
||||||
|
@ -60,7 +63,10 @@ prepend_keymap = [
|
||||||
"g",
|
"g",
|
||||||
"i",
|
"i",
|
||||||
], run = "plugin lazygit", desc = "run lazygit" },
|
], run = "plugin lazygit", desc = "run lazygit" },
|
||||||
{ on = "<A-y>", run = [
|
{ on = [
|
||||||
|
"c",
|
||||||
|
"C",
|
||||||
|
], run = [
|
||||||
"plugin copy-file-contents",
|
"plugin copy-file-contents",
|
||||||
], desc = "Copy contents of file" },
|
], desc = "Copy contents of file" },
|
||||||
{ on = [
|
{ on = [
|
||||||
|
|
3
.zshrc
3
.zshrc
|
@ -104,6 +104,9 @@ function nh() {
|
||||||
function ls() {
|
function ls() {
|
||||||
eza --long --color=always --git --header --icons "$@"
|
eza --long --color=always --git --header --icons "$@"
|
||||||
}
|
}
|
||||||
|
function copymime() {
|
||||||
|
wl-copy -t 'text/uri-list' <<< "file://$@"
|
||||||
|
}
|
||||||
function y() {
|
function y() {
|
||||||
local tmp="$(mktemp -t "yazi-cwd.XXXXXX")" cwd
|
local tmp="$(mktemp -t "yazi-cwd.XXXXXX")" cwd
|
||||||
yazi "$@" --cwd-file="$tmp"
|
yazi "$@" --cwd-file="$tmp"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue