set new shortcut for neotree
This commit is contained in:
parent
b4948ede59
commit
1b42384566
|
@ -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",
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue