-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
119 lines (86 loc) · 2.76 KB
/
.vimrc
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
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()
"""""""""""""""""""""""""""""""""""""""""""""""""""""
" PLUGINS BEGIN
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
" Git Plugin
" github.com/tpope/vim-fugitive
Plugin 'tpope/vim-fugitive'
" Color schemes
" github.com/tetreault/vim-colorschemes
Plugin 'tetreault/vim-colorschemes'
" CSS Live Color Preview
" github.com/tetreault/vim-css-color
Plugin 'tetreault/vim-css-color'
" Fuzzy Finder
" github.com/kien/ctrlp.vim
Plugin 'kien/ctrlp.vim'
" Toggle comments
" github.com/tpope/vim-commentary
Plugin 'tpope/vim-commentary'
" JSON support
" github.com/leshill/vim-json
Plugin 'leshill/vim-json'
" (Better) Javascript syntax and indentation support
" github.com/pangloss/vim-javascript
Plugin 'pangloss/vim-javascript'
" HTML Indentation
" github.com/vim-scripts/indenthtml.vim
Plugin 'vim-scripts/indenthtml.vim'
" Markdown syntax support
" github.com/tpope/vim-markdown
Plugin 'tpope/vim-markdown'
" Vue syntax highlighting
Plugin 'posva/vim-vue'
" Indentation Visual Aid
" github.com/nathanaelkane/vim-indent-guides
Plugin 'nathanaelkane/vim-indent-guides'
" Ale
"https://github.com/w0rp/ale
Plugin 'w0rp/ale'
" PLUGINS END
"""""""""""""""""""""""""""""""""""""""""""""""""""""
" All of your Plugins must be added before the following line
call vundle#end() " required
" filetype plugin indent on " Filetype autodetection
syntax on " Syntax highlighting
set scrolloff=8 " keep 8 lines of space above and below the cursor
set tabstop=2
set shiftwidth=2
set softtabstop=2
set expandtab " use spaces instead of tabs.
set smarttab " let's tab key insert 'tab stops', and bksp deletes tabs.
set shiftround " tab / shifting moves to closest tabstop.
set autoindent " Match indents on new lines.
set smartindent " Intellegently dedent / indent new lines based on rules.
set noswapfile
set number
set t_Co=256 " terminal colors
" Don't ask about file changing on disk before loading it
set autoread
" Set clipboard
set clipboard=unnamed
" Better search
set ignorecase
set smartcase
set incsearch
set showmatch
set hlsearch
" Fix obnoxious delete behavior
set backspace=indent,eol,start
" Allow cursor to go anywhere in visual block mode
set virtualedit+=block
" Leader is a key allowing you to have your own namespace of keybindings
let mapleader = ","
" vim-css-color config
let g:cssColorVimDoNotMessMyUpdatetime = 1
" vue syntax highlighting tweak
let g:vue_disable_pre_processors = 1
let g:netrw_browse_split = 2
let g:netrw_winsize = 20
" Pick your colorscheme (list at tetreault/vim-colorschemes)
colorscheme molokai