mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-10 02:39:40 +00:00
automatically fallback to ASCII if TTY
This commit is contained in:
parent
5fe3570508
commit
42f358700a
|
@ -107,9 +107,14 @@ set guioptions-=L " remove left-hand scrollbar
|
|||
let g:airline_theme='onedark'
|
||||
let g:airline#extensions#tabline#enabled = 1
|
||||
let g:airline#tabline#formatter = 'unique_tail'
|
||||
let g:airline_symbols_ascii = 1 " Enable ASCII only for TTY
|
||||
let g:airline_left_sep = "\uE0B0" " Change to ASCII symbol on TTY (>)
|
||||
let g:airline_right_sep = "\uE0B2" " Change to ASCII symbol on TTY (<)
|
||||
if empty($DISPLAY) " Automatically apply ASCII only config if we don't have DISPLAY (TTY)
|
||||
let g:airline_left_sep = '►'
|
||||
let g:airline_right_sep = '◄'
|
||||
let g:airline_symbols_ascii = 1
|
||||
else
|
||||
let g:airline_left_sep = "\uE0B0"
|
||||
let g:airline_right_sep = "\uE0B2"
|
||||
endif
|
||||
|
||||
" Neomake
|
||||
let g:neomake_python_enabled_makers = ['flake8']
|
||||
|
@ -125,8 +130,8 @@ let g:jedi#use_splits_not_buffers = "right"
|
|||
|
||||
" NERDTree
|
||||
map <C-n> :NERDTreeToggle<CR>
|
||||
let g:NERDTreeDirArrowExpandable = '►' " Change to ASCII symbol on TTY (>)
|
||||
let g:NERDTreeDirArrowCollapsible = '▼' " Change to ASCII symbol on TTY (V)
|
||||
let g:NERDTreeDirArrowExpandable = '►'
|
||||
let g:NERDTreeDirArrowCollapsible = '▼'
|
||||
let NERDTreeShowLineNumbers=1
|
||||
let NERDTreeShowHidden=1
|
||||
let NERDTreeMinimalUI = 1
|
||||
|
|
Loading…
Reference in a new issue