Guest User

.vimrc

a guest
Feb 4th, 2015
466
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VIM 2.81 KB | None | 0 0
  1. set nocompatible                " choose no compatibility with legacy vi
  2. set number                      " add line numbers
  3. set encoding=utf-8
  4. set showcmd                     " display incomplete commands
  5. filetype off                    " required
  6. "filetype plugin indent on       " load file type plugins + indentation
  7.  
  8. "" Whitespace
  9. set nowrap                      " don't wrap lines
  10. set tabstop=2 shiftwidth=2      " a tab is two spaces (or set this to 4)
  11. set expandtab                   " use spaces, not tabs (optional)
  12. set backspace=indent,eol,start  " backspace through everything in insert mode
  13.  
  14. "" Searching
  15. set hlsearch                    " highlight matches
  16. set incsearch                   " incremental searching
  17. set ignorecase                  " searches are case insensitive...
  18. set smartcase                   " ... unless they contain at least one capital letter
  19.  
  20. " Never quite got this working
  21. " hi CursorLine   cterm=NONE ctermbg=grey
  22. " hi CursorColumn cterm=NONE ctermbg=grey
  23. " nnoremap <Leader>c :set cursorline! cursorcolumn!<CR>
  24.  
  25. " set the runtime path to include Vundle and initialize
  26. set rtp+=~/.vim/bundle/Vundle.vim
  27. call vundle#begin()
  28. let g:vim_json_syntax_conceal = 0
  29.  
  30. " alternatively, pass a path where Vundle should install plugins
  31. "call vundle#begin('~/some/path/here')
  32.  
  33. " let Vundle manage Vundle, required
  34. "Plugin 'https://github.com/bronson/vim-crosshairs'
  35. "Plugin 'hallettj/jslint.vim'
  36. Plugin 'gmarik/Vundle.vim'
  37. Plugin 'mileszs/ack.vim'
  38. Plugin 'kien/ctrlp.vim'
  39. Plugin 'tpope/vim-surround'
  40. Plugin 'tpope/vim-commentary'
  41. Plugin 'tpope/vim-repeat'
  42. Plugin 'plasticboy/vim-markdown'
  43. Plugin 'altercation/solarized'
  44. Plugin 'bling/vim-airline'
  45. Plugin 'scrooloose/syntastic'
  46. Plugin 'scrooloose/nerdtree'
  47. Plugin 'jisaacks/GitGutter'
  48. Plugin 'jisaacks/GitGutter'
  49. Plugin 'tpope/vim-fugitive'
  50. Plugin 'Raimondi/delimitMate'
  51. Plugin 'Lokaltog/vim-easymotion'
  52. Plugin 'elzr/vim-json'
  53. Plugin 'Valloric/YouCompleteMe'
  54. "YouCompleteMe requires more work for osx (https://github.com/Valloric/YouCompleteMe#installation)
  55.  
  56. " All of your Plugins must be added before the following line
  57. call vundle#end()            " required
  58. filetype plugin indent on    " required
  59. " To ignore plugin indent changes, instead use:
  60. "filetype plugin on
  61. "
  62. " Brief help
  63. " :PluginList       - lists configured plugins
  64. " :PluginInstall    - installs plugins; append `!` to update or just
  65. " :PluginUpdate
  66. " :PluginSearch foo - searches for foo; append `!` to refresh local cache
  67. " :PluginClean      - confirms removal of unused plugins; append `!` to auto-approve removal
  68. "
  69. " see :h vundle for more details or wiki for FAQ
  70. " Put your non-Plugin stuff after this line
  71.  
  72. let g:solarized_termcolors=256
  73. colorscheme solarized
  74. "set background=dark
  75.  
  76. syntax enable
  77.  
  78. "map Ctrl+n to toggle NERDTree
  79. map <C-n> :NERDTreeToggle<CR>
Advertisement
Add Comment
Please, Sign In to add comment