dotfiles

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

.exrc (1592B)


      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 =ga :!cd $(dirname %) && git add % && cd -

     20 map =gc :!cd $(dirname %) && git commit -v -S && cd -
     21 map =gp :!cd $(dirname %) && git push && cd -
     22 map =l :set list
     23 map =L :set nolist
     24 map =n :set number
     25 map =N :set nonumber
     26 
     27 map qB :Edit $BIB
     28 map qc :!compile %
     29 map qC :!tmux new-window -c "$(pwd)" compile -c -o % \; previous-window

     30 map qd :r !date
     31 map qe :edit 
     32 map qh :!tmux split-window -h $EDITOR

     33 map qi :%!indent -i4
     34 map qj :r !jabbrev 
     35 map qm :!make
     36 map qM :!tmux split-window -p 25 make \; select-pane -l

     37 map qo :!compile -o %
     38 map qp :r !xclip -o
     39 map qP :r !xclip -o -selection clipboard
     40 map qr :r !scholarref  
     41 map qs :Edit 
     42 map qS o-- 
Anders Damsgaard
https://adamsgaard.dkkk0
     43 map qt :tag 
     44 map qT :!ctags *.c
     45 map qw :w
     46 map q- 0/\[[ x] \]
lr-
     47 map q_ 0/\[-\]
lr 
     48 map qx 0/\[[ -] \]
lrxA *:r !date +'\%Y-\%m-\%d \%H:\%M \%Z'
kJxA*0fx
     49 map qX 0/\[x\]
lr 
     50 map qy mt:'m,'t w! ~/.ex_yank
:!xclip -i ~/.ex_yank

:!rm -f ~/.ex_yank

     51 map qq :q
     52 map QQ :q!
     53 map q] ok
     54 map q[ Oj
     55 map q/ ^i/* A */^
     56 map q? :s/\/\* *//
:s/ *\*\///
     57 
     58 map #1 :!man vi
     59 
     60 map \m 8G/--
j:.,$!fmt -72
     61 map \p !}fmt
     62 map \P :.,$!fmt
     63 map \e :%!expand -4
     64 map \s :w
:!aspell -c %
:e!

     65 
     66 
     67 map *' Ea'Bi'
     68 map *" Ea"Bi"
     69 map *< Ea>Bi<
     70 map *> Ea>Bi</
     71 
     72 map =e ddppkI\begin{A}jI\end{A}O	
     73 
     74 ab ANders Anders
     75 ab adamsg https://adamsgaard.dk
     76 ab teh the
     77 ab Teh The
     78 ab THe The