-
Notifications
You must be signed in to change notification settings - Fork 1
/
.vimrc##Linux
57 lines (42 loc) · 1.27 KB
/
.vimrc##Linux
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
" /\/| __ _
" |/\/ / / (_)
" / /__ __ _ _ __ ___ _ __ ___
" / / \ \ / /| || '_ ` _ \ | '__|/ __|
" / / _ \ V / | || | | | | || | | (__
" /_/ (_) \_/ |_||_| |_| |_||_| \___|
"
" ~/.vimrc by Lachlan Shoesmith (lachlantula).
" Last updated: 27/12/18.
syntax on
" Plugins will be downloaded under the specified directory.
call plug#begin('~/.vim/plugged')
" Declare the list of plugins.
Plug 'posva/vim-vue'
Plug 'godlygeek/tabular'
Plug 'plasticboy/vim-markdown'
Plug 'mattn/emmet-vim'
Plug 'rstacruz/vim-closer'
Plug 'scrooloose/nerdtree'
Plug 'itchyny/lightline.vim'
Plug 'junegunn/goyo.vim'
Plug 'dracula/vim', { 'as': 'dracula' }
Plug 'deviantfero/wpgtk.vim'
" List ends here. Plugins become visible to Vim after this call.
call plug#end()
" Set theme.
colorscheme wpgtk
" Make Vim read .md files as Markdown (.markdown) files.
au BufNewFile,BufFilePre,BufRead *.md set
" Change the cursor to my personal terminal one.
set guicursor=a:ver20-blinkon1
" Open a file tree with Ctrl+T.
map <C-T> :NERDTreeToggle<CR>
" Display relative line numbers
set number relativenumber
" Indentation
set expandtab
set shiftwidth=2
set autoindent
set smartindent
set tabstop=2
set softtabstop=2