A collection of scripts and configurations for Bash (and others)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
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