-
Notifications
You must be signed in to change notification settings - Fork 30
/
_vimrc
72 lines (54 loc) · 1.78 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
" Specify a directory for plugins
" - For Neovim: ~/.local/share/nvim/plugged
" - Avoid using standard Vim directory names like 'plugin'
call plug#begin('~/.vim/plugged')
" execute pathogen#infect()
" Make sure you use single quotes
"
"PLUGS
"
Plug 'lervag/vimtex'
" On-demand loading
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
Plug 'junegunn/goyo.vim'
Plug 'junegunn/limelight.vim'
" Plug 'mikewest/vimroom.vim'
" autocmd vimenter * NERDTree
" autocmd StdinReadPre * let s:std_in=1
" autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif
map <C-n> :NERDTreeToggle<CR>
map <C-f> :Goyo<CR>
set t_Co=16
" map <leader>f :Goyo <bar> highlight StatusLineNC ctermfg=none <CR>
" highlight StatusLineNC ctermfg=white
" highlight VertSplit ctermfg=white
" highlight StatusLine ctermfg=white
" highlight EndOfBuffer ctermfg=white
"
"function! s:goyo_enter()
" " Remove artifacts for NeoVim on true colors transparent background.
" " guifg is the terminal's background color.
" hi! VertSplit gui=NONE guifg=#0b2545 guibg=NONE
" hi! StatusLine gui=NONE guifg=#0b2545 guibg=NONE
" hi! StatusLineNC gui=NONE guifg=#0b2545 guibg=NONE
" hi! EndOfBuffer gui=NONE guifg=#0b2545 guibg=NONE
"endfunction
"
" Attempt to get rid of tildas and carrot tops
" hi! Normal ctermbg=NONE guibg=NONE
" hi! NonText ctermbg=NONE guibg=NONE
"
" function! s:goyo_enter()
" hi! StatusLine guibg=NONE ctermbg=NONE ctermfg=NONE
" hi! VertSplit guibg=NONE
" hi! StatusLineNC guibg=NONE ctermbg=NONE ctermfg=NONE
" endfunction
"
" au! User GoyoEnter
" au User GoyoEnter nested call <SID>goyo_enter()
"
" hi! StatusLineNC gui=NONE guibg=NONE
"
" hi! EndOfBuffer ctermbg=bg ctermfg=bg guibg=bg guifg=bg
" Initialize plugin system
call plug#end()