commit 589bb548ad2b953ff55b904bfbdc6b76add802c9 parent 7371c4481f57d131cc6eeb95ddc4e3f3dfc9af3a Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Tue, 10 Dec 2019 16:04:03 +0100 Go to file dir before running git Diffstat:
M | .exrc | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.exrc b/.exrc @@ -16,9 +16,9 @@ set filec=\ map g 1G map Y ^y$ -map =ga :!git add % -map =gc :!git commit -v -S -map =gp :!git push +map =ga :!cd $(dirname %) && git add % && cd - +map =gc :!cd $(dirname %) && git commit -v -S && cd - +map =gp :!cd $(dirname %) && git push && cd - map =l :set list map =L :set nolist map =n :set number