1
0
Fork 0

set new shortcut for neotree

This commit is contained in:
Luca Bilke 2024-06-10 23:26:14 +02:00
parent b4948ede59
commit 1b42384566
2 changed files with 22 additions and 22 deletions

View File

@ -1,24 +1,24 @@
-- NOTE: Managed by shortcuts script
return {
gcf = "~/.config",
gch = "~/.cache",
gco = "~/Documents/dev",
gdk = "~/Desktop",
gdl = "~/Downloads",
gdm = "~/Documents",
gds = "~/.local/share/stow/dots",
gdt = "~/.local/share",
ge = "/etc",
gh = "~",
glo = "/usr/local",
gle = "~/.local/libexec",
glg = "/var/log",
gmn = "/mnt",
gms = "~/Music",
gpc = "~/Pictures",
gr = "/",
gsc = "~/.local/bin",
gst = "~/.local/state",
gsv = "~/.local/sv",
gvd = "~/Videos",
["<c-a>cf"] = "~/.config",
["<c-a>ch"] = "~/.cache",
["<c-a>co"] = "~/Documents/dev",
["<c-a>dk"] = "~/Desktop",
["<c-a>dl"] = "~/Downloads",
["<c-a>dm"] = "~/Documents",
["<c-a>ds"] = "~/.local/share/stow/dots",
["<c-a>dt"] = "~/.local/share",
["<c-a>e"] = "/etc",
["<c-a>h"] = "~",
["<c-a>lo"] = "/usr/local",
["<c-a>le"] = "~/.local/libexec",
["<c-a>lg"] = "/var/log",
["<c-a>mn"] = "/mnt",
["<c-a>ms"] = "~/Music",
["<c-a>pc"] = "~/Pictures",
["<c-a>r"] = "/",
["<c-a>sc"] = "~/.local/bin",
["<c-a>st"] = "~/.local/state",
["<c-a>sv"] = "~/.local/sv",
["<c-a>vd"] = "~/Videos",
}

View File

@ -22,7 +22,7 @@ write() {
printf "hash -d %s=%s\n" "$shortcut" "$path" >>"$zsh"
printf "map g%s cd %s\n" "$shortcut" "$path" >>"$lf"
printf " g%s = \"%s\",\n" "$shortcut" "$path" >>"$nvim"
printf " [\"<c-a>%s\"] = \"%s\",\n" "$shortcut" "$path" >>"$nvim"
done
}