Vimrc cleanup - in clean easy to read sections
Moved appearance settings to plugin/settings/skwp-appearance.vim
This commit is contained in:
7
vim/plugin/settings/persistent-undo.vim
Normal file
7
vim/plugin/settings/persistent-undo.vim
Normal file
@@ -0,0 +1,7 @@
|
||||
" persistent undos - undo after you re-open the file
|
||||
" but this gives warnings under command line vim
|
||||
" use only in macvim
|
||||
if has('gui_running')
|
||||
set undodir=~/.vim/backups
|
||||
set undofile
|
||||
endif
|
||||
23
vim/plugin/settings/skwp-appearance.vim
Normal file
23
vim/plugin/settings/skwp-appearance.vim
Normal file
@@ -0,0 +1,23 @@
|
||||
" Make it beautiful - colors and fonts
|
||||
if has("gui_running")
|
||||
"tell the term has 256 colors
|
||||
set t_Co=256
|
||||
|
||||
" http://ethanschoonover.com/solarized/vim-colors-solarized
|
||||
colorscheme solarized
|
||||
set background=dark
|
||||
|
||||
" Show tab number (useful for Cmd-1, Cmd-2.. mapping)
|
||||
" For some reason this doesn't work as a regular set command,
|
||||
" (the numbers don't show up) so I made it a VimEnter event
|
||||
autocmd VimEnter * set guitablabel=%N:\ %t\ %M
|
||||
|
||||
set lines=60
|
||||
set columns=190
|
||||
|
||||
set guifont=Inconsolata:h20,Monaco:h17
|
||||
else
|
||||
"dont load csapprox if we no gui support - silences an annoying warning
|
||||
let g:CSApprox_loaded = 1
|
||||
endif
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
" Default to rspec 1. If you want
|
||||
" rspec 2, set this to 'rspec'
|
||||
let g:ruby_conque_rspec_command='spec'
|
||||
|
||||
" prevent auto insert mode, which is helpful when using conque
|
||||
" term for running tests
|
||||
"
|
||||
autocmd WinEnter * stopinsert
|
||||
|
||||
Reference in New Issue
Block a user