Steven! Ragnarök avatar Steven! Ragnarök committed d161b64

Add some new autocommands for strange file formats.

Also updated

Comments (0)

Files changed (4)

 # colors
+bundle/badwokf =
 bundle/gravity = [git]git://
 bundle/risto = [git]git://
 bundle/lucius = [git]git://
 9895285042a2fd5691b2f6582aa979e4d1bdffea bundle/ack
-049c8cc01c32931ff115f15b44dfc3a8d3a35872 bundle/coffee-script
+0000000000000000000000000000000000000000 bundle/badwokf
+d7ec146b7cdfb274bf6a6273d945d7608ea67d5f bundle/coffee-script
 ec31fa8bb86aade1da6a5067a908ba59652193fb bundle/ctrlp
 51180532f4ceffc1613f57f8a35d1db941c11d81 bundle/cucumber
 667a668e114e9ec0e5d4cbcb0962d835b23614c4 bundle/easymotion
 74306aa18c03ee2fdb044609e6f0bc866872711d bundle/endwise
 64716b9622e5c3fae0caec7e9589988a9da146cb bundle/fugitive
 1ebfbe6c773fe83f16cb953a7823b2fd015bf3fb bundle/gravity
-2a78f151df54b53874f0aa6a85cfdad6ead224ed bundle/gundo
+a860f15c7226ee5b352303c5032732a423409932 bundle/gundo
 a995d4aabb794bd60028537ecb41ca7f2c738e65 bundle/haml
 1870ae144f2aacda087820cc8c518314721fba9f bundle/html5
 981b39bd2dcd839746509328e69c5053b8871d04 bundle/jade
 8702fc5ebca48737224f734e5f5c988c1ea0e4b0 bundle/rspec
 0d4ae14e5ef0969048bee6f1d7ea52ed38fbd1ff bundle/ruby
 eb3ed8f7db63017fc1f58c28b92593562a607660 bundle/ruby-minitest
-022dd831db18cc717c88adbb73f219ce885384ff bundle/slimv
+38022c560f0feb8220ce0c62d7618bbacc7db040 bundle/slimv
 528a59f26d12278698bb946f8fb82a63711eec21 bundle/solarized
 0d038a897307f53ca95e2eec2f4981f95241837e bundle/sparkup
 a08c2d723c68c1da6b4533348161dbf7c13b77c4 bundle/speeddating
 set guioptions -=T
 set guioptions -=r
 "set guifont=Terminus\ 8
-set guifont=Envy\ Code\ R\ Next\ 13
+set guifont=Envy\ Code\ R\ Next\ 8
 call pathogen#runtime_append_all_bundles()
 call pathogen#helptags()
+" While I'm working with JRuby, switch Syntastic to passive to avoid shitty
+" wait times during syntax checks.
+let g:syntastic_mode_map = { 'mode': 'active',
+			\ 'active_filetypes': [],
+			\ 'passive_filetypes': ['ruby'] }
 set nocompatible
 set number
 set linebreak
 let g:Tex_ViewRule_pdf = '/usr/bin/okular'
-" custom mappings.
-nmap <leader>R :RainbowParenthesesToggle<CR>
 " custom functions
 cnoremap <c-x> <c-r>=<SID>PasteEscaped()<cr>
 xnoremap * :<C-u>call <SID>VSetSearch()<CR>/<C-R>=@/<CR><CR>
 xnoremap # :<C-u>call <SID>VSetSearch()<CR>?<C-R>=@/<CR><CR>
+nnoremap <CR> :nohlsearch<CR>
 function! s:VSetSearch()
 	let temp = @s
 	norm! gv"sy let @/ = '\V' . substitute(escape(@s, '/\'), '\n', '\\n', 'g')
 	let @s = temp
+autocmd BufRead,BufNewFile *.step set ft=ruby
+autocmd BufRead,BufNewFile *.hamlc set ft=haml
 autocmd FileType ruby setlocal expandtab
 autocmd FileType fancy setlocal expandtab
 autocmd FileType markdown setlocal textwidth=80 spell
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.