A collection of scripts and configurations for Bash (and others)
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

34 行
740B

  1. so ~/.vim/plugins.vim
  2. colorscheme zenburn
  3. if exists('$SHELL')
  4. set shell=$SHELL
  5. else
  6. set shell=/bin/sh
  7. endif
  8. " session management
  9. let g:session_directory = "~/.vim/session"
  10. let g:session_autoload = "no"
  11. let g:session_autosave = "no"
  12. let g:session_command_aliases = 1
  13. " Configurations for NERDTree Plugin.
  14. map <C-o> :NERDTreeToggle<CR>
  15. autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
  16. " ---------------------------------------------------
  17. " Core configuration options...
  18. " ---------------------------------------------------
  19. " I like syntax highlighting
  20. syntax enable
  21. " Always spaces for tabs. Two spaces should be nice :)
  22. set expandtab
  23. set shiftwidth=2
  24. set softtabstop=2