commit 416ee3628bc6f951f9d10467b72458776be150d1
parent 917541275a50f1ba9e692e6a5fa205e1c55e854f
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Tue, 7 Jul 2020 21:09:21 +0200
Change todo symbols and remap git commands
Diffstat:
M | .exrc | | | 14 | ++++++-------- |
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/.exrc b/.exrc
@@ -16,9 +16,6 @@ set filec=\
map g 1G
map Y ^y$
-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
@@ -31,10 +28,12 @@ map qC :!tmux new-window -c "$(pwd)" cdoc -c -o % \; previous-window
map qd :r !date
map qD :r !date +'\%m/\%d'
A
map qe :edit
+map qga :!cd $(dirname %) && git add % && cd -
+map qgc :!cd $(dirname %) && git commit -v && cd -
+map qgp :!cd $(dirname %) && git push && cd -
map qj :r !jabbrev
map qm :!make
map qM :!tmux split-window -p 25 make \; select-pane -l
-map qn I- [ ]
map qo :!cdoc -o %
map qp :r !xclip -o
map qP :r !xclip -o -selection clipboard
@@ -44,10 +43,6 @@ map qS o--
Anders Damsgaard
https://adamsgaard.dk
gopher://adamsgaard.dk3k0
map qt :tag
map qT :!ctags *.c
map qw :w
-map q- 0/\[[ x] \]
lr-
-map q_ 0/\[-\]
lr
-map qx 0/\[[ -] \]
lrxA *:r !date +'\%Y-\%m-\%d \%H:\%M \%Z'
kJxA*0fx
-map qX 0/\[x\]
lr
map qy :'m,. w! ~/.ex_yank
:!xclip -i ~/.ex_yank
:!rm -f ~/.ex_yank
map qq :q
map QQ :q!
@@ -55,6 +50,9 @@ map q] ok
map q[ Oj
map q/ ^i/* A */^
map q? :s/\/\* *//
:s/ *\*\///
+map q- ^r-
+map q+ ^r+
+map q* ^r*A *:r !date +'\%Y-\%m-\%d \%H:\%M \%Z'
kJxA*0fx
map #1 :!man vi
map #2 :E ~/.exrc