mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
Add settings for fvim
This commit is contained in:
parent
e79c7b846c
commit
ec28139f02
46
ginit.vim
46
ginit.vim
@ -16,3 +16,49 @@ if exists('g:GuiLoaded')
|
||||
" For Windows, Ctrl-6 does not work. So we use this mapping instead.
|
||||
nnoremap <silent> <C-6> <C-^>
|
||||
endif
|
||||
|
||||
if exists('g:fvim_loaded')
|
||||
set termguicolors
|
||||
colorscheme gruvbox8_hard
|
||||
set guifont=Hack:h12
|
||||
|
||||
inoremap <silent> <S-Insert> <C-R>+
|
||||
cnoremap <silent> <S-Insert> <C-R>+
|
||||
nnoremap <silent> <C-6> <C-^>
|
||||
|
||||
" Cursor tweaks
|
||||
FVimCursorSmoothMove v:false
|
||||
FVimCursorSmoothBlink v:true
|
||||
|
||||
" Background composition, can be 'none', 'blur' or 'acrylic'
|
||||
FVimBackgroundComposition 'blur'
|
||||
FVimBackgroundOpacity 0.85
|
||||
FVimBackgroundAltOpacity 0.85
|
||||
|
||||
" Title bar tweaks (themed with colorscheme)
|
||||
FVimCustomTitleBar v:true
|
||||
|
||||
" Debug UI overlay
|
||||
FVimDrawFPS v:false
|
||||
" Font debugging -- draw bounds around each glyph
|
||||
FVimFontDrawBounds v:false
|
||||
|
||||
" Font tweaks
|
||||
FVimFontAntialias v:true
|
||||
FVimFontAutohint v:true
|
||||
FVimFontHintLevel 'full'
|
||||
FVimFontSubpixel v:true
|
||||
FVimFontLcdRender v:false
|
||||
" can be 'default', '14.0', '-1.0' etc.
|
||||
FVimFontLineHeight '+2.0'
|
||||
|
||||
" Try to snap the fonts to the pixels, reduces blur
|
||||
" in some situations (e.g. 100% DPI).
|
||||
FVimFontAutoSnap v:false
|
||||
|
||||
" Font weight tuning, possible valuaes are 100..900
|
||||
FVimFontNormalWeight 400
|
||||
FVimFontBoldWeight 700
|
||||
|
||||
FVimUIPopupMenu v:false
|
||||
endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user