Skip to content

Commit

Permalink
Solarized. Fix focusLost save. Trailing characters show/hide rebind.
Browse files Browse the repository at this point in the history
  • Loading branch information
vrybas committed Aug 12, 2012
1 parent 9c08d37 commit 3bfeea2
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions rc.vim
Expand Up @@ -119,8 +119,9 @@ if has("gui_running")
set guioptions-=L " remove left-hand scroll bar set guioptions-=L " remove left-hand scroll bar
set showtabline=2 " tabs bar set showtabline=2 " tabs bar
set laststatus=2 " file status set laststatus=2 " file status
colorscheme github set background=dark
set gfn=Monaco:h12 colorscheme solarized
set gfn=Monaco:h15
endif endif


" " " "
Expand All @@ -135,8 +136,7 @@ endif




fun! DarkScheme() fun! DarkScheme()
colorscheme glowchalk set background=dark
set gfn=Terminus\ 10
endf endf


fun! DarkScheme12() fun! DarkScheme12()
Expand All @@ -155,8 +155,7 @@ fun! DarkSchemeMonaco()
endf endf


fun! LightScheme() fun! LightScheme()
colorscheme vrdual set background=light
set gfn=Monospace\ 10
endf endf


fun! GithubScheme(n) fun! GithubScheme(n)
Expand Down Expand Up @@ -389,6 +388,8 @@ nmap <silent><leader><tab> :Sscratch<CR> " Opens a buffer which is never saved
nmap <silent><leader>r :call ToggleRelNumber()<cr> nmap <silent><leader>r :call ToggleRelNumber()<cr>
nmap <silent><leader>b :set ba<CR> " Show trailing characters
" " " "
"*****************************************************************************" "*****************************************************************************"
" "
Expand Down Expand Up @@ -486,7 +487,7 @@ au BufRead,BufNewFile {Gemfile,Rakefile,Vagrantfile,Thorfile,config.ru,*.pill}


"Remove all spaces from end of each line and save file on focus lost "Remove all spaces from end of each line and save file on focus lost
au BufReadPost * call RemoveSpaces() au BufReadPost * call RemoveSpaces()
au FocusLost * silent! windo wa! au FocusLost * silent! wa


"Restore custor position "Restore custor position
autocmd BufReadPost * autocmd BufReadPost *
Expand Down

0 comments on commit 3bfeea2

Please sign in to comment.