Permalink
Browse files

switch to CaseCommons commenting so there are fewer diffs

  • Loading branch information...
1 parent cdc3b39 commit 316df3db382cdd8e26d7a519af34eec83eddd5a8 Jacob Maine committed Feb 1, 2012
Showing with 5 additions and 6 deletions.
  1. +0 −1 init/colorscheme.vim
  2. +2 −1 init/keybindings.vim
  3. +3 −4 init/options.vim
View
@@ -6,4 +6,3 @@ endif
set background=dark
colorscheme solarized
-
View
@@ -71,11 +71,12 @@ let g:ctrlp_map = '<leader>f'
map <D-N> :CtrlP<CR>
imap <D-N> <Esc>:CtrlP<CR>
nmap <leader>t :CtrlP<CR>
+" Recent buffer navigation
map <leader>b :CtrlPBuffer<CR>
map <D-e> :CtrlPBuffer<CR>
map <leader>e :e#<CR>
-" Re-index ctags, including Gem home
+" ctags with rails load path
map <leader>rt :!rails runner 'puts $LOAD_PATH.join(" ")' \| xargs /usr/local/bin/ctags -R public/javascripts<CR>
map <leader>T :!rails runner 'puts $LOAD_PATH.join(" ")' \| xargs rdoc -f tags<CR>
View
@@ -50,8 +50,8 @@ set laststatus=2 " Always show statusline
set incsearch " Incremental search
set history=1024 " History size
-set ignorecase " Ignore case
-set smartcase " ... unless uppercase characters are involved
+set ignorecase " Ignore case by default
+set smartcase " Smart case-sensitivity when searching (overrides ignorecase)
set autoread " No prompt for file changes outside Vim
@@ -65,8 +65,7 @@ set hls " search with highlights by default
nnoremap <silent> <Space> :nohlsearch<Bar>:echo<CR>""
" Write all writeable buffers when changing buffers or losing focus.
-
-set autowriteall " Save when focus is lost
+set autowriteall " Save when doing various buffer-switching things.
autocmd BufLeave,FocusLost * silent! wall " Save anytime we leave a buffer or MacVim loses focus.
" Turn off ri tooltips that don't work with Ruby 1.9 yet

0 comments on commit 316df3d

Please sign in to comment.