minor fixes
This commit is contained in:
parent
0bd220d83e
commit
14731c0d25
@ -105,48 +105,35 @@ let g:gruvbox_italic=0
|
|||||||
let g:gruvbox_bold=0
|
let g:gruvbox_bold=0
|
||||||
colorscheme gruvbox
|
colorscheme gruvbox
|
||||||
|
|
||||||
if has("gui_running")
|
" NOTE(doyle): Some list chars in gui don't show correctly in terminal so separate logic
|
||||||
" NOTE(doyle): Some list chars in gui don't show correctly in terminal so separate logic
|
" old listchars=tab:>-,eol:¬,trail:■,extends:»,precedes:«
|
||||||
" old listchars=tab:>-,eol:¬,trail:■,extends:»,precedes:«
|
set listchars+=trail:■,extends:»,precedes:«
|
||||||
set listchars+=trail:■,extends:»,precedes:«
|
if s:running_windows
|
||||||
if s:running_windows
|
set guifont=JetBrains_Mono:h9,Consolas:h9
|
||||||
set guifont=JetBrains_Mono:h9,Consolas:h11
|
else
|
||||||
else
|
set guifont=InputMonoCondensed:h9
|
||||||
set guifont=InputMonoCondensed:h10
|
endif
|
||||||
endif
|
|
||||||
|
|
||||||
" Don't show trailing spaces in insert mode
|
" Don't show trailing spaces in insert mode
|
||||||
augroup trailing
|
augroup trailing
|
||||||
au!
|
au!
|
||||||
au InsertEnter * :set listchars-=trail:■
|
au InsertEnter * :set listchars-=trail:■
|
||||||
au InsertLeave * :set listchars+=trail:■
|
au InsertLeave * :set listchars+=trail:■
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
" Increase font size using (Ctrl+Up Arrow) or (Ctrl+Down Arrow) if we are using
|
" Increase font size using (Ctrl+Up Arrow) or (Ctrl+Down Arrow) if we are using
|
||||||
" gvim Otherwise font size is determined in terminal
|
" gvim Otherwise font size is determined in terminal
|
||||||
nnoremap <C-Up> :silent! let &guifont = substitute(
|
nnoremap <C-Up> :silent! let &guifont = substitute(
|
||||||
\ &guifont,
|
\ &guifont,
|
||||||
\ ':h\zs\d\+',
|
\ ':h\zs\d\+',
|
||||||
\ '\=eval(submatch(0)+1)',
|
\ '\=eval(submatch(0)+1)',
|
||||||
\ 'g')<CR>
|
\ 'g')<CR>
|
||||||
nnoremap <C-Down> :silent! let &guifont = substitute(
|
nnoremap <C-Down> :silent! let &guifont = substitute(
|
||||||
\ &guifont,
|
\ &guifont,
|
||||||
\ ':h\zs\d\+',
|
\ ':h\zs\d\+',
|
||||||
\ '\=eval(submatch(0)-1)',
|
\ '\=eval(submatch(0)-1)',
|
||||||
\ 'g')<CR>
|
\ 'g')<CR>
|
||||||
|
|
||||||
else
|
|
||||||
set t_Co=256 " 256 colors
|
|
||||||
let &t_AB="\e[48;5;%dm" " vodoo magic for CONEMU
|
|
||||||
let &t_AF="\e[38;5;%dm" " vodoo magic for CONEMU
|
|
||||||
|
|
||||||
set listchars+=trail:$,extends:>,precedes:<
|
|
||||||
|
|
||||||
" Fix Cmder backspace bug
|
|
||||||
inoremap <Char-0x07F> <BS>
|
|
||||||
nnoremap <Char-0x07F> <BS>
|
|
||||||
endif
|
|
||||||
|
|
||||||
" Formatting options (see :h fo-table)
|
" Formatting options (see :h fo-table)
|
||||||
augroup persistent_settings
|
augroup persistent_settings
|
||||||
au!
|
au!
|
||||||
|
@ -582,6 +582,7 @@ if not exist "!nvim_exe!" (
|
|||||||
|
|
||||||
call :FileHashCheck sha256 "!nvim_exe!" "!nvim_exe_sha256!" || exit /B
|
call :FileHashCheck sha256 "!nvim_exe!" "!nvim_exe_sha256!" || exit /B
|
||||||
call :MakeBatchShortcutInBinDir "nvim" "!nvim_exe!"
|
call :MakeBatchShortcutInBinDir "nvim" "!nvim_exe!"
|
||||||
|
call :MakeBatchShortcutInBinDir "nvim-qt" "!nvim_dir!\bin\nvim-qt.exe"
|
||||||
|
|
||||||
REM ----------------------------------------------------------------------------
|
REM ----------------------------------------------------------------------------
|
||||||
REM Neovide
|
REM Neovide
|
||||||
|
Loading…
Reference in New Issue
Block a user