Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

first commit

  • Loading branch information...
commit b84f35c8bc5ee42d90918f45cd252c6b637dba0b 0 parents
Matthew Eernisse authored May 26, 2010
50  .exrc
... ...
@@ -0,0 +1,50 @@
  1
+syntax on
  2
+set background=dark
  3
+
  4
+" Highlight redundant whitespaces.
  5
+highlight RedundantSpaces ctermbg=blue guibg=blue
  6
+match RedundantSpaces /\s\+$\| \+\ze\t/
  7
+" Suppress all spaces at end/beginning of lines
  8
+nmap _s :%s/\s\+$//<CR>
  9
+nmap _S :%s/^\s\+//<CR>
  10
+nmap _j :g/\S/,/^\s*$/join<CR>
  11
+nmap _w :set wrap lbr tw=0 co=65<CR>
  12
+nmap _t :tabnew 
  13
+nmap _l :set nonu<CR>
  14
+nmap _L :set nu<CR>
  15
+
  16
+" Turn off auto-indent for paste
  17
+set pastetoggle=<F9>
  18
+
  19
+" Line numbahs ...
  20
+set nu
  21
+" Use spaces for tabs
  22
+set et
  23
+" Indent 2 spaces
  24
+set ts=2
  25
+set sw=2
  26
+" Jump to matching brackets
  27
+" set sm
  28
+" Auto-indent
  29
+set ai
  30
+
  31
+:set history=1000
  32
+
  33
+" @ will reformat the current paragraph
  34
+map @ !} fmt -w 65
  35
+
  36
+" Cycle through the tabs
  37
+map <C-J> :tabp<CR>
  38
+map <C-K> :tabn<CR>
  39
+
  40
+:abbr #b /*------------------------------------------------
  41
+:abbr #e -----------------------------------------------*/
  42
+
  43
+cabbr lint !runjslint "`cat %`" \| lynx --force-html /dev/fd/5 -dump 5<&0 \| less
  44
+
  45
+" HTML syntax for .ejs template files
  46
+au BufRead,BufNewFile *.ejs    set filetype=html
  47
+
  48
+" JS syntax for .as files
  49
+au BufRead,BufNewFile *.as    set filetype=javascript
  50
+
7  .screenrc
... ...
@@ -0,0 +1,7 @@
  1
+shell -${SHELL}
  2
+caption always "%{= kw}%?%-Lw%?%{+b kw}%n*%t%f %?(%u)%?%{= kw}%?%+Lw%?" 
  3
+defscrollback 2048
  4
+startup_message off
  5
+#hardstatus on
  6
+#hardstatus alwayslastline
  7
+
0  README
No changes.

0 notes on commit b84f35c

Please sign in to comment.
Something went wrong with that request. Please try again.