.exrc (1803B)
1 set autoindent 2 set showmode 3 set showmatch 4 set ruler 5 set shiftwidth=4 6 set tabstop=4 7 set verbose 8 set extended 9 set iclower 10 set searchincr 11 set report=1 12 "set wraplen=80 13 set cedit=\ 14 set filec=\ 15 16 map g 1G 17 map Y ^y$ 18 19 map =l :set list 20 map =L :set nolist 21 map =n :set number 22 map =N :set nonumber 23 24 " add pipe symbol by prefix with ^V character (press C-v twice): | 25 map qB :Edit $BIB 26 map qc :!cdoc % 27 map qC :!tmux new-window -c "$(pwd)" cdoc -c -o % \; previous-window 28 map qd :r !date 29 map qD :r !date +'\%m/\%d' A 30 map qe :edit 31 map qga :!cd $(dirname %) && git add % && cd - 32 map qgc :!cd $(dirname %) && git commit -v && cd - 33 map qgp :!cd $(dirname %) && git push && cd - 34 map qh :w :r !sisterfile % I:edit! dd@1 35 map qj :r !jabbrev 36 map qm :!make 37 map qM :!tmux split-window -p 25 make \; select-pane -l 38 "map qo :!cdoc -o % 39 map qo :r !find . -type f|fzy I:edit! dd@1 40 map qp :r !xclip -o kJ 41 map qP :r !xclip -o -selection clipboard kJ 42 map qr :r !scholarref 43 map qs :Edit 44 map qS o-- Anders Damsgaard https://adamsgaard.dk gopher://adamsgaard.dk3k0 45 map qt :r !cat ./tags|fzy elDI:tag! dd@1 46 map qT :!ctags_recurse 47 map qw :w 48 map qy :'m,. w! ~/.ex_yank :!xclip -i ~/.ex_yank :!rm -f ~/.ex_yank 49 map qq :q 50 map QQ :q! 51 map q] ok 52 map q[ Oj 53 map q/ ^i/* A */^ 54 map q? :s/\/\* *// :s/ *\*\/// 55 map q- ^r- 56 map q+ ^r+ 57 map q* ^r*A *:r !date +'\%Y-\%m-\%d \%H:\%M \%Z' kJxA*0fx 58 59 map #1 :!man vi 60 map #2 :E ~/.exrc 61 62 map \e :%!expand -4 63 map \E :%!expand -8 64 map \i :%!indent -lc75 -bad -di0 -ncdb 65 map \m 8G/-- j:.,$!fmt -72 66 map \p !}fmt 67 map \P :.,$!fmt 68 map \s :w :!aspell -c % :e! 69 map \w :s/ *$// 70 71 map *' Ea'Bi' 72 map *" Ea"Bi" 73 map *< Ea>Bi< 74 map *> Ea>Bi</ 75 76 map =e ddPPI\begin{A}jI\end{A}O 77 78 ab ANders Anders 79 ab adamsg https://adamsgaard.dk 80 ab teh the 81 ab Teh The 82 ab THe The