commit 0215da2a5ccb17ae24f41a2b8e3dd3b46c8dcd2f
parent e103ceabe8edc61f2ce3012d9c42e0456d82b62c
Author: Bharatvaj <bharatvaj@yahoo.com>
Date: Mon, 7 Mar 2022 00:21:23 +0530
Add git shortcuts for submodule update
Make VISUAL to one of nvim or vim
Diffstat:
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/.config/git/config b/.config/git/config
@@ -10,7 +10,9 @@
ld = log --pretty=format:"%h %ad %s" --date=short --all
lg = log --graph --oneline --decorate --all
p = pull
+ r = reset
st = status
+ suir = submodule update --init --recursive
wt = worktree
[difftool]
diff --git a/.profile b/.profile
@@ -71,8 +71,7 @@ mich() {
# Setup editor
-# export VISUAL=$(mich nvim && echo nvim || echo vim )
-export VISUAL=nvi
+export VISUAL=$(mich nvim && echo nvim || echo vim )
export EDITOR="$VISUAL"
export BROWSER="$(mich lynx && echo lynx)"