forked from kusold/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvimrc
More file actions
63 lines (52 loc) · 2.42 KB
/
vimrc
File metadata and controls
63 lines (52 loc) · 2.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
Plugin 'gmarik/Vundle.vim' "Package manager
Plugin 'pangloss/vim-javascript' "Better Javascript syntax highlighting (Required by react)
Plugin 'kchmck/vim-coffee-script' "Coffeescript support
Plugin 'puppetlabs/puppet-syntax-vim' "Puppet support
Plugin 'saltstack/salt-vim' "Salt Syntax Support
Plugin 'digitaltoad/vim-jade' "Jade language syntax highlighting
Plugin 'ap/vim-css-color' "Highlights colors in css files
Plugin 'kien/ctrlp.vim' "Ctrl-P <filename> to open
Plugin 'mattn/emmet-vim' "Shortcuts to generate HTML
Plugin 'tpope/vim-sleuth' "Match indentation style
call vundle#end() " required
" Brief help
" :PluginList - list configured plugins
" :PluginInstall(!) - install (update) plugins
" :PluginSearch(!) foo - search (or refresh cache first) for foo
" :PluginClean(!) - confirm (or auto-approve) removal of unused plugins
" see :h vundle for more details or wiki for FAQ
" Put your non-Plugin stuff after this line
" Syntax highlighting
syntax enable
" Loading the indent file for specific file types
filetype plugin indent on
" set number " Line numbering on
set showmatch " Show matching brackets/parenthesis
set tabstop=4 "Tabs take up 4 spaces
"set shiftwidth=2
"set softtabstop=2
set ruler " Display location in file
set showcmd "Show command in the last line of the screen
set incsearch "Search as you type. Return to original location if canceled.
"set mouse=a "Enable the mouse use in all modes
set ignorecase "case insensitive searching
set smartcase "if search isn't all lowercase, casesensitive search
set backspace=indent,eol,start "make backspace behave like normal"
" Display characters to symbolize whitespace
"set list
set listchars=tab:▸\ ,eol:¬
nnoremap <silent> <leader>> :vertical resize 123<CR> "Automatically resize split to fit 120 chars
autocmd BufNewFile,BufFilePre,BufRead *.md set filetype=markdown " .md == markdown. .md != modula-2
" ----- mattn/emmet-vim settings -----
"let g:user_emmet_install_global = 0
"autocmd FileType html,css,tpl EmmetInstall "Only enable for html,css,tpl files
" ----- mxw/vim-jsx -----
let g:jsx_ext_required = 0