Changeset 1427 for config/.exrc
- Timestamp:
- 03/25/07 12:43:28 (2 years ago)
- Files:
-
- config/.exrc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
config/.exrc
r1250 r1427 1 1 2 " .exrc for jm3 2 3 :syntax on 4 :colors baycomb 5 :set exrc 3 :syntax enable 4 :set dictionary=/home/fml/public_html/modules/utils.inc.php 6 5 7 6 " set tabs correctly 8 :set autoindent 9 :set hardtabs=2 10 :set tabstop=2 11 :set softtabstop=2 12 :set shiftwidth=2 13 :set expandtab 7 set autoindent 8 set exrc 9 set tabstop=2 10 set shiftwidth=2 14 11 15 " attempt to retab buffers upon saving (doesn't seem to work) 16 :auto BufRead *.php retab! 2 17 :auto BufWrite *.php retab! 2 18 19 :set wildmenu 20 :set nocompatible 12 set wildmenu 13 set nocompatible 21 14 22 15 "escape keys for arrows 23 :set ek16 set ek 24 17 25 18 " whichwrap thing 26 :set ww=b,<,>,h,l19 set ww=b,<,>,h,l 27 20 28 21 " discard ctl-characters and always indicate the current mode. 29 :set beautify30 :set showmode22 set beautify 23 set showmode 31 24 32 25 " display line numbers 33 :set number26 set number 34 27 35 " jm3-isms: 36 """""""""""""""""""""" 28 " jm3-shit 29 map R :redo 30 map cc c/" 31 "map [ { 32 "map ] } 33 map :W :w 34 map W :w 35 map q :q 36 " f10 allows pasting 37 map [21~ :set noai 38 " f11 and f12 toggle numbers 39 map [24~ :set number 40 map [23~ :set nonumber 37 41 38 " re-wrap paragraph: 39 map f !} fmt 40 41 " lazy block navigation 42 map [ { 43 map ] } 44 45 " make list item: 46 47 " add br at EOL 42 "make list item: 48 43 map L ^i<li>$a</li> 49 44 map B $a<br /> 50 45 51 " F1 is save: 52 :map OP :w 46 map ^X i<b><a name='r/home/hirokai/jm3/autolog/autolog.count 47 i'>NAME HERE</a> <span class='subtle'>- DATE HERE</span><b> 53 48 54 " jm3 fat-fingers 55 :map :W :w 56 map W :w 57 :map :Q :q 58 :map :Q! :q! 59 map q :q 49 "in case arrows are FCUK 50 map [A k 51 map [B j 52 map [C l 53 map [D h 60 54 61 " jm3 typos: 55 56 " jm3 compulsive f-key save 57 map [11~ :w 58 map <F1> :w 59 map [17~ :w 60 61 " jm3 compulsive f-key utils.inc recompile 62 map OQ :! ck 63 64 " jm3 compulsive f-key aim-bot recompile 65 map OR :! ak 66 67 abbrev <A <a 62 68 abbrev teh the 63 69 abbrev yuo you … … 71 77 abbrev flase false 72 78 79 map f !} fmt 80 81 "page down, up, end, home 82 map [6~ 83 map [3~ 84 map [5~ $ 85 map [2~ 0 86 87 set viminfo='10,\"100,:20,%,n~/.viminfo 88 au BufReadPost * if line("'\"") > 0|if line("'\"") <= line("$")|exe("norm '\"")|else|exe "norm $"|endif|endif