mirror of
https://github.com/aquatix/dotfiles.git
synced 2025-12-06 22:55:10 +01:00
Better support for theming in gvim
This commit is contained in:
8
.vimrc
8
.vimrc
@@ -201,9 +201,8 @@ nnoremap <silent> ]f :lnext<CR>
|
|||||||
" https://github.com/ryanoasis/nerd-fonts
|
" https://github.com/ryanoasis/nerd-fonts
|
||||||
Plug 'ryanoasis/vim-devicons'
|
Plug 'ryanoasis/vim-devicons'
|
||||||
" Set guifont when using gvim:
|
" Set guifont when using gvim:
|
||||||
"set guifont=Droid\ Sans\ Mono\ for\ Powerline\ Plus\ Nerd\ File\ Types\ 11
|
set guifont=Hack\ Nerd\ Font\ Mono\ 10
|
||||||
|
|
||||||
"
|
|
||||||
" undotree.vim : Display your undo history in a graph.
|
" undotree.vim : Display your undo history in a graph.
|
||||||
Plug 'mbbill/undotree'
|
Plug 'mbbill/undotree'
|
||||||
nnoremap <Leader>u :UndotreeToggle<CR>
|
nnoremap <Leader>u :UndotreeToggle<CR>
|
||||||
@@ -572,7 +571,7 @@ set hidden
|
|||||||
set cryptmethod=blowfish2
|
set cryptmethod=blowfish2
|
||||||
|
|
||||||
" Ensure 256 colour support if the terminal supports it
|
" Ensure 256 colour support if the terminal supports it
|
||||||
if &term == "xterm" || &term == "xterm-256color" || &term == "screen-bce" || &term == "screen-256color" || &term == "screen" || &term == "tmux-256color-italic"
|
if has("gui_running") || &term == "xterm" || &term == "xterm-256color" || &term == "screen-bce" || &term == "screen-256color" || &term == "screen" || &term == "tmux-256color-italic"
|
||||||
|
|
||||||
set background=dark
|
set background=dark
|
||||||
let g:enable_bold_font = 1
|
let g:enable_bold_font = 1
|
||||||
@@ -583,6 +582,9 @@ if &term == "xterm" || &term == "xterm-256color" || &term == "screen-bce" || &te
|
|||||||
" create a bar for airline
|
" create a bar for airline
|
||||||
set laststatus=2
|
set laststatus=2
|
||||||
let g:airline_powerline_fonts = 1
|
let g:airline_powerline_fonts = 1
|
||||||
|
|
||||||
|
" ensure black background in gvim
|
||||||
|
highlight Normal guibg=black
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" This is what sets vim to use 24-bit colors. It will also work for any version of neovim
|
" This is what sets vim to use 24-bit colors. It will also work for any version of neovim
|
||||||
|
|||||||
Reference in New Issue
Block a user