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 3d5f8acd72c68b17db4da95775988ea328099459
parent 06386b2c35efc737d738fcc8264824f58e9dd97d
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Tue, 22 Oct 2019 19:21:44 +0200

Change bindings

Diffstat:
M.exrc | 30++++++++++++++++++------------
1 file changed, 18 insertions(+), 12 deletions(-)

diff --git a/.exrc b/.exrc @@ -18,32 +18,34 @@ map gg 1G map Y ^y$ map =c :!ctags *.c -map =d :r !date map =l :set list map =L :set nolist -map =m :!make -map =M :!tmux split-window -p 25 make \; select-pane -l map =n :set number map =N :set nonumber -map =r :r !scholarref -map =t :tag map qB :Edit $BIB +map qc ^i/* A */^ " C comment +map qC :s/\/\* \([^*]*\) \*\//\1/ " C uncomment +map qd :r !date map qe :edit -map qs :Edit map qh :!tmux split-window -h $EDITOR -map q] ok -map q[ Oj +map qi :%!indent -i4 " indent and format C program source +map qm :!make +map qM :!tmux split-window -p 25 make \; select-pane -l +map qp :r !xclip -o +map qP :r !xclip -o -selection clipboard +map qr :r !scholarref +map qs :Edit +map qS a-- Anders Damsgaard https://adamsgaard.dkkk0 +map qt :tag map qw :w map qq :q map QQ :q! -map qsig a-- Anders Damsgaard https://adamsgaard.dkkk0 +map q] ok +map q[ Oj map #1 :!man vi -map \c ^i/* A */^ " C comment -map \C :s/\/\* \([^*]*\) \*\//\1/ " C uncomment -map \i :%!indent -i4 " indent and format C program source map \m 8G/-- j:.,$!fmt -75 " format email body map \p !}fmt -75 " format from cursor to end of paragraph map \P :.,$!fmt -75 " format from cursor to end of document @@ -55,6 +57,10 @@ map \s :w :!aspell -c % :e! map *' Ea'Bi' map *" Ea"Bi" +map *< Ea>Bi< +map *> Ea>Bi</ + +map =e ddppkI\begin{A}jI\end{A}O ab ANders Anders ab adamsg https://adamsgaard.dk