Permalink
Browse files

very sad to see foldmethod=syntax go. RIP

  • Loading branch information...
1 parent 03ca63f commit ea4cb8d900fa8856bbe1ff65fc4885a2f4eae58f @will committed Nov 30, 2011
Showing with 16 additions and 16 deletions.
  1. +10 −0 gvimrc
  2. +6 −16 vimrc
View
10 gvimrc
@@ -6,3 +6,13 @@
set guioptions-=T
set guifont=Inconsolata:h16
+
+" show invisibles
+set list
+set listchars=tab:▸\ ,eol
+highlight NonText guifg=#4a4a59
+highlight SpecialKey guifg=#4a4a5
+
+" Save on focus lost
+:au FocusLost * :wa
+
View
22 vimrc
@@ -1,10 +1,9 @@
set nocompatible
set showcmd
+set ttyfast
call pathogen#runtime_append_all_bundles()
-set ttyfast
-
" indent
set autoindent
set smartindent
@@ -35,33 +34,24 @@ set virtualedit=all
set cursorline
set number
-" show invisibles
-set list
-set listchars=tab:▸\ ,eol
-highlight NonText guifg=#4a4a59
-highlight SpecialKey guifg=#4a4a5
-
-
set backspace=indent,eol,start
-
map <leader>t :FuzzyFinderTextMate<CR>
map <leader>r :ruby finder.rescan!<CR>
let g:fuzzy_ignore = "*/log/*;*.swf;*.cache;*.ttf;*.jpg;*.png;*/doc/*;*/etc/*;*/vendor/*;*tmp/*;*/.svn/*;*/public/images/*;*/ufiles/*;*/.git/*;*/script/*"
imap jj <Esc>
+imap jk <Esc>
+imap kj <Esc>
vmap D y'>p
+
" folding
-set foldmethod=syntax
+set foldmethod=indent " synatx i loved you but you're too slow
set foldnestmax=10
set nofoldenable
set foldlevel=1
-au BufNewFile,BufRead *.mxml set filetype=mxml
-au BufNewFile,BufRead *.as set filetype=actionscript
+" kill whitespace
autocmd BufWritePre * :%s/\s\+$//e
-" Save on focus lost
-:au FocusLost * :wa
-

0 comments on commit ea4cb8d

Please sign in to comment.