-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc.nopower
68 lines (60 loc) · 1.39 KB
/
.vimrc.nopower
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
if has('nvim')
set rtp^=/usr/share/vim/vimfiles/
set rtp^=~/.vim/
endif
call plug#begin('~/.vim/plugged')
Plug 'scrooloose/nerdtree'
Plug 'majutsushi/tagbar'
Plug 'bling/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'cohama/lexima.vim'
Plug 'alvan/vim-closetag'
Plug 'lervag/vimtex'
Plug 'sheerun/vim-polyglot'
Plug 'whatyouhide/vim-gotham'
Plug 'flazz/vim-colorschemes'
call plug#end()
set number
syntax on
filetype indent plugin on
filetype plugin on
set ruler
set wrap
set breakindent
set breakindentopt=shift:1
set tabstop=3
set shiftwidth=3
set autoindent
set laststatus=2
set t_Co=256
set backupdir=/tmp
set directory=/tmp
set mouse=a
set shell=/bin/zsh
set encoding=UTF-8
let g:airline#extensions#tabline#enabled=1
if has("gui_running")
" colorscheme gotham256
colorscheme spacedark
let g:airline_theme='base16_spacemacs'
set guioptions-=m
set guioptions-=T
set guioptions-=r
set guioptions-=L
if has("unix")
set guifont=Droid\ Sans\ Mono\ for\ Powerline\ Regular\ 10
else
set guifont=Sauce_Code_Powerline:h7:cEASTEUROPE
endif
set guicursor+=n-v-c:blinkon0
hi NonText guifg=bg
else
let g:airline_theme='base16_google'
endif
nmap <F8> :TagbarToggle<CR>
nmap <F7> :NERDTreeToggle<CR>
let g:closetag_filenames = "*.html,*.xhtml,*.phtml"
au BufRead,BufNewFile jquery.*.js set ft=javascript syntax=jquery
let g:tagbar_compact = 1
let g:tagbar_indent = 1
let python_highlight_all = 1