-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
58 lines (40 loc) · 1.37 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
let g:powerline_pycmd="py3"
filetype plugin indent on
set t_Co=256
set ttyfast
" set cursorline
set nocompatible
set scrolloff=10
set laststatus=2 " Always display the statusline in all windows
set noshowmode " Hide the default mode text (e.g. -- INSERT -- below the statusline)
set number
set expandtab
set tabstop=2
set shiftwidth=2
" Allows writing to files with root priviledges
cmap w!! w !sudo tee % > /dev/null
call plug#begin('~/.vim/plugged')
" Make sure you use single quotes
Plug 'junegunn/seoul256.vim'
Plug 'junegunn/vim-easy-align'
" Group dependencies, vim-snippets depends on ultisnips
Plug 'SirVer/ultisnips' | Plug 'honza/vim-snippets'
" On-demand loading
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
Plug 'tpope/vim-fireplace', { 'for': 'clojure' }
" Using git URL
Plug 'https://github.com/junegunn/vim-github-dashboard.git'
" Plugin options
Plug 'nsf/gocode', { 'tag': 'v.20150303', 'rtp': 'vim' }
" Plugin outside ~/.vim/plugged with post-update hook
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': 'yes \| ./install' }
" Unmanaged plugin (manually installed and updated)
Plug '~/my-prototype-plugin'
" Using plug for wal compatibility (colour theme switching)
Plug 'dylanaraps/wal.vim'
" Get rust syntax highlighting etc.
Plug 'rust-lang/rust.vim'
" Using youcompleteme (autocompletion)
Plug 'Valloric/YouCompleteMe'
colorscheme wal
call plug#end()