Changeset 1427 for config/.exrc

Show
Ignore:
Timestamp:
03/25/07 12:43:28 (2 years ago)
Author:
jm3
Message:

synced to FML .exrc and added screenrc

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • config/.exrc

    r1250 r1427  
     1 
    12" .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 
    65 
    76" 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  
     7set autoindent 
     8set exrc 
     9set tabstop=2 
     10set shiftwidth=2 
    1411 
    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  
     12set wildmenu 
     13set nocompatible  
    2114 
    2215"escape keys for arrows 
    23 :set ek 
     16set ek 
    2417 
    2518" whichwrap thing 
    26 :set ww=b,<,>,h,l 
     19set ww=b,<,>,h,l 
    2720 
    2821" discard ctl-characters and always indicate the current mode. 
    29 :set beautify 
    30 :set showmode 
     22set beautify 
     23set showmode 
    3124 
    3225" display line numbers 
    33 :set number 
     26set number 
    3427 
    35 " jm3-isms: 
    36 """""""""""""""""""""" 
     28" jm3-shit 
     29map R :redo 
     30map cc c/" 
     31"map [ { 
     32"map ] } 
     33map :W :w 
     34map W :w 
     35map q :q 
     36" f10 allows pasting 
     37map [21~ :set noai 
     38" f11 and f12 toggle numbers 
     39map [24~ :set number 
     40map [23~ :set nonumber 
    3741 
    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: 
    4843map L ^i<li>$a</li> 
    4944map B $a<br /> 
    5045 
    51 " F1 is save: 
    52 :map OP :w 
     46map ^X i<b><a name='r/home/hirokai/jm3/autolog/autolog.count 
     47i'>NAME HERE</a> <span class='subtle'>- DATE HERE</span><b>  
    5348 
    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 
     50map  k 
     51map  j 
     52map  l 
     53map  h 
    6054 
    61 " jm3 typos: 
     55 
     56" jm3 compulsive f-key save 
     57map [11~ :w 
     58map <F1> :w 
     59map [17~ :w 
     60 
     61" jm3 compulsive f-key utils.inc recompile 
     62map OQ :! ck 
     63 
     64" jm3 compulsive f-key aim-bot recompile 
     65map OR :! ak 
     66 
     67abbrev <A <a 
    6268abbrev teh the 
    6369abbrev yuo you 
     
    7177abbrev flase false 
    7278 
     79map f !} fmt 
     80 
     81"page down, up, end, home 
     82map [6~  
     83map [3~  
     84map [5~ $ 
     85map [2~ 0 
     86 
     87set viminfo='10,\"100,:20,%,n~/.viminfo 
     88au BufReadPost * if line("'\"") > 0|if line("'\"") <= line("$")|exe("norm '\"")|else|exe "norm $"|endif|endif