colorscheme desert
"colorscheme xoria256
"let g:solarized_termcolors=256
-"colorscheme solarized
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Vim UI
set hid " you can change buffer without saving
set backspace=2 " make backspace work normal
set whichwrap+=<,>,h,l " backspace and cursor keys wrap to
-set mouse=a " use mouse everywhere
set shortmess=atI " shortens messages to avoid 'press a key' prompt
set report=0 " tell us when anything is changed via :...
" make the splitters between windows be blank
let addons_base = expand('$HOME') . '/.vim/addons'
exec 'set runtimepath+='.addons_base.'/vim-addon-manager'
- " unix based os users may want to use this code checking out VAM
- " if !isdirectory(addons_base.'/vim-addon-manager')
- " exec '!p='.shellescape(addons_base).'; mkdir -p "$p" && cd "$p" && git clone --depth 1 git://github.com/MarcWeber/vim-addon-manager.git'
- " endif
+ try
- " commenting try .. endtry because trace is lost if you use it.
- " There should be no exception anyway
- try
-
- let g:solarized_termcolors=256
- call vam#ActivateAddons(['github:altercation/vim-colors-solarized'])
+ " Plugins that should be always enabled
call vam#ActivateAddons(['surround','checksyntax','snipmate','snipmate-snippets','gnupg','LargeFile','taglist-plus'], {'auto_install' : 0})
- " pluginA could be github:YourName see vam#install#RewriteName()
+
catch /.*/
echoe v:exception
endtry
endf
call SetupVAM()
+" Enable addons with vim-addon-manager using file type recognition
let ft_addons = {
- \ '^\%(R\|r\)$': [ 'Screen_vim__gnu_screentmux', 'Vim-R-plugin' ],
-\ }
+ \ '^\%(R\|r\)$': [ 'Screen_vim__gnu_screentmux', 'Vim-R-plugin' ],
+ \ }
au FileType * for l in values(filter(copy(ft_addons), string(expand('<amatch>')).' =~ v:key')) | call vam#ActivateAddons(l, {'force_loading_plugins_now':1}) | endfor
-" experimental: run after gui has been started (gvim) [3]
-" option1: au VimEnter * call SetupVAM()
-" option2: au GUIEnter * call SetupVAM()
-" See BUGS sections below [*]
+
+
+
+