dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 24ee4bf19bead03f9d262f9cdd5af242a2f95f76
parent 3d5f8acd72c68b17db4da95775988ea328099459
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Fri, 25 Oct 2019 08:27:01 +0200

Add git bindings

Diffstat:
M.exrc | 5++++-
M.local/bin/tmux-journal.sh | 2+-
2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/.exrc b/.exrc @@ -17,7 +17,9 @@ set filec= map gg 1G map Y ^y$ -map =c :!ctags *.c +map =ga :!git add % +map =gc :!git commit -v -S +map =gp :!git push map =l :set list map =L :set nolist map =n :set number @@ -38,6 +40,7 @@ map qr :r !scholarref map qs :Edit map qS a-- Anders Damsgaard https://adamsgaard.dkkk0 map qt :tag +map qT :!ctags *.c map qw :w map qq :q map QQ :q! diff --git a/.local/bin/tmux-journal.sh b/.local/bin/tmux-journal.sh @@ -3,6 +3,6 @@ cd $HOME/doc/journal SESSION=journal -tmux new-session -A -s "$SESSION" -n editor "$EDITOR + journal.tex" +tmux new-session -A -s "$SESSION" -n editor "$EDITOR + journal.tex && git commit -a -S -m 'auto commit'" cd -