diff options
Diffstat (limited to 'nvim')
-rw-r--r-- | nvim/.config/nvim/init.vim | 69 |
1 files changed, 14 insertions, 55 deletions
diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index 59ce2b3..ce38e7c 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim | |||
@@ -15,8 +15,6 @@ Plug 'junegunn/goyo.vim' | |||
15 | Plug 'airblade/vim-gitgutter' | 15 | Plug 'airblade/vim-gitgutter' |
16 | Plug 'godlygeek/tabular' | 16 | Plug 'godlygeek/tabular' |
17 | Plug 'plasticboy/vim-markdown' | 17 | Plug 'plasticboy/vim-markdown' |
18 | Plug 'vim-airline/vim-airline' | ||
19 | Plug 'vim-airline/vim-airline-themes' | ||
20 | call plug#end() | 18 | call plug#end() |
21 | 19 | ||
22 | set guicursor= | 20 | set guicursor= |
@@ -88,60 +86,21 @@ let g:keysound_volume = 1000 | |||
88 | let g:keysound_py_version = 3 | 86 | let g:keysound_py_version = 3 |
89 | let g:keysound_theme = 'default' | 87 | let g:keysound_theme = 'default' |
90 | 88 | ||
91 | " symbols | ||
92 | let g:Powerline_symbols = "fancy" | ||
93 | let g:Powerline_dividers_override = ["\Ue0b0","\Ue0b1","\Ue0b2","\Ue0b3"] | ||
94 | let g:Powerline_symbols_override = {'BRANCH': "\Ue0a0", 'LINE': "\Ue0a1", 'RO': "\Ue0a2"} | ||
95 | let g:airline_powerline_fonts = 1 | ||
96 | let g:airline_right_alt_sep = '' | ||
97 | let g:airline_right_sep = '' | ||
98 | let g:airline_left_alt_sep= '' | ||
99 | let g:airline_left_sep = '' | ||
100 | |||
101 | " air-line | ||
102 | let g:airline_powerline_fonts = 1 | ||
103 | |||
104 | if !exists('g:airline_symbols') | ||
105 | let g:airline_symbols = {} | ||
106 | endif | ||
107 | |||
108 | " unicode symbols | ||
109 | let g:airline_left_sep = '»' | ||
110 | let g:airline_left_sep = '▶' | ||
111 | let g:airline_right_sep = '«' | ||
112 | let g:airline_right_sep = '◀' | ||
113 | let g:airline_symbols.linenr = '␊' | ||
114 | let g:airline_symbols.linenr = '' | ||
115 | let g:airline_symbols.linenr = '¶' | ||
116 | let g:airline_symbols.branch = '⎇' | ||
117 | let g:airline_symbols.paste = 'ρ' | ||
118 | let g:airline_symbols.paste = 'Þ' | ||
119 | let g:airline_symbols.paste = '∥' | ||
120 | let g:airline_symbols.whitespace = 'Ξ' | ||
121 | |||
122 | " airline symbols | ||
123 | let g:airline_left_sep = '' | ||
124 | let g:airline_left_alt_sep = '' | ||
125 | let g:airline_right_sep = '' | ||
126 | let g:airline_right_alt_sep = '' | ||
127 | let g:airline_symbols.branch = '' | ||
128 | let g:airline_symbols.readonly = '' | ||
129 | let g:airline_symbols.linenr = '' | ||
130 | |||
131 | "Airline Themes | ||
132 | "let g:airline_theme='dark' | ||
133 | "let g:airline_theme='badcat' | ||
134 | let g:airline_theme='base16_grayscale' | ||
135 | "let g:airline_theme='ravenpower' | ||
136 | "let g:airline_theme='simple' | ||
137 | "let g:airline_theme='term' | ||
138 | "let g:airline_theme='ubaryd' | ||
139 | "let g:airline_theme='laederon' | ||
140 | "let g:airline_theme='kolor' | ||
141 | "let g:airline_theme='deus' | ||
142 | "let g:airline_theme='powerlineish' | ||
143 | |||
144 | " nerdtree | 89 | " nerdtree |
145 | let g:NERDTreeWinPos = "right" | 90 | let g:NERDTreeWinPos = "right" |
146 | map <C-n> :NERDTreeToggle<CR> | 91 | map <C-n> :NERDTreeToggle<CR> |
147 | nnoremap <c-p> :FZF<CR> | 92 | nnoremap <c-p> :FZF<CR> |
93 | |||
94 | "statusbar | ||
95 | hi Comment cterm=italic | ||
96 | hi CursorLine ctermbg=none | ||
97 | set statusline= | ||
98 | set statusline +=%1*\ %n\ %* "buffer number | ||
99 | set statusline +=%5*%{&ff}%* "file format | ||
100 | set statusline +=%3*%y%* "file type | ||
101 | set statusline +=%4*\ %<%F%* "full path | ||
102 | set statusline +=%2*%m%* "modified flag | ||
103 | set statusline +=%1*%=%5l%* "current line | ||
104 | set statusline +=%2*/%L%* "total lines | ||
105 | set statusline +=%1*%4v\ %* "virtual column number | ||
106 | set statusline +=%2*0x%04B\ %* "character under cursor | ||