Skip to content

Commit a36954b

Browse files
committed
Lots-o-changes
1 parent 2c11a24 commit a36954b

File tree

6 files changed

+22
-4
lines changed

6 files changed

+22
-4
lines changed

basic

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ set list
1818

1919

2020
" Spelling
21+
hi SpellErrors guibg=red guifg=black ctermbg=red ctermfg=black
2122
set spell spelllang=en_us " When you need it, you need it.
2223
" toggle spelling
2324
nnoremap <Leader>ss :setlocal spell!<CR>

bindings

+3
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,6 @@ vmap <S-left> h
4141

4242
" retab the document (tabs to spaces)
4343
nmap <silent> <leader><S-t> :retab!<CR>
44+
45+
" ,e to find files.
46+
nmap <leader>e :e **/

editing

+10
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,16 @@ set encoding=utf-8 nobomb
99
" Remember more command history
1010
set history=1000
1111

12+
" Automatically read files that have changed on the FS but not in Vim.
13+
set autoread
14+
15+
set completeopt=menuone,preview
16+
17+
" omni completion settings
18+
set ofu=syntaxcomplete#Complete
19+
let g:rubycomplete_buffer_loading = 0
20+
let g:rubycomplete_classes_in_global = 1
21+
1222
" allow backspacing over everything in insert mode
1323
set backspace=indent,eol,start
1424
set textwidth=80 " wrap at 80 characters

gui

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"GUI OPTIONS
2-
colorscheme mustang
2+
colorscheme Tomorrow-Night
33
set mouse=a
44
set guifont=Monaco:h13
55

plugins

+6-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ map <leader>d :NERDTreeToggle<cr>
1717
map <leader>a :Tabularize /=>\?<cr>
1818

1919
"Taglist
20-
" map <leader>t :TlistToggle<cr>
20+
map <leader>t :TlistToggle<cr>
2121
let Tlist_Ctags_Cmd = '/usr/local/bin/ctags'
2222

2323
"Specky
@@ -33,10 +33,14 @@ let g:speckyWindowType = 2
3333
"vim-gist
3434
let g:gist_clip_command = 'pbcopy'
3535

36-
3736
" Fugitive and Vim
3837
" =============================================================================
3938
nnoremap <Leader>gs :Gstatus<CR>
4039
nnoremap <silent> <Leader>gd :w<CR>:Gdiff<CR><CR>
4140
nnoremap <Leader>gb :Gblame<CR>
4241
nnoremap <Leader>gw :Gw<CR>
42+
43+
" command-t
44+
nmap <unique> <silent> <Leader><Leader> :CommandT<CR>
45+
nmap <unique> <silent> <Leader><Leader><Leader> :CommandTFlush<CR>:CommandT<CR>
46+
let g:CommandTMatchWindowAtTop=1

window

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"WINDOW OPTIONS
22
set background=dark " use colors suitable for dark backgrounds
33
set t_Co=256
4-
colorscheme mustang " use a default color scheme
4+
colorscheme Tomorrow-Night " use a default color scheme
55

66
set ruler " shows cursor position in the lower right
77
set showcmd " shows incomplete command to the left of the ruler

0 commit comments

Comments
 (0)