root/config/.exrc

Revision 1427, 1.4 kB (checked in by jm3, 2 years ago)

synced to FML .exrc and added screenrc

Line 
1
2 " .exrc for jm3
3 :syntax enable
4 :set dictionary=/home/fml/public_html/modules/utils.inc.php
5
6 " set tabs correctly
7 set autoindent
8 set exrc
9 set tabstop=2
10 set shiftwidth=2
11
12 set wildmenu
13 set nocompatible
14
15 "escape keys for arrows
16 set ek
17
18 " whichwrap thing
19 set ww=b,<,>,h,l
20
21 " discard ctl-characters and always indicate the current mode.
22 set beautify
23 set showmode
24
25 " display line numbers
26 set number
27
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
41
42 "make list item:
43 map L ^i<li>$a</li>
44 map B $a<br />
45
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>
48
49 "in case arrows are FCUK
50 map  k
51 map  j
52 map  l
53 map  h
54
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
68 abbrev teh the
69 abbrev yuo you
70 abbrev hte the
71 abbrev nad and
72 abbrev frmo from
73 abbrev buig bug
74 abbrev jsut just
75 abbrev tempalte template
76 abbrev teamplate template
77 abbrev flase false
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
Note: See TracBrowser for help on using the browser.