home: fix Neovim autosave

inky
Elnu 2 years ago
parent 6396ce2c39
commit 3e1f713bc3

@ -96,7 +96,6 @@ in
gC = "g clone";
goops = "g reset --soft HEAD^";
v = "nvim";
r = "ranger";
rm = "trash-put";
emacs = "emacsclient -nw";
@ -105,6 +104,14 @@ in
clear = "printf '\\E[H\\E[3J'";
};
bashrcExtra = ''
function v {
if [[ $# -eq 0 ]]; then
nvim ~/UNTITLED.md
else
nvim $1
fi
}
# Modify killall for wrapped applications, e.g. firefox
# killall firefox -> killall firefox || killall .firefox-wrapped
function killall {

Loading…
Cancel
Save