Make some changes
This commit is contained in:
parent
7aacd58ed5
commit
dc4a46d6e2
|
@ -0,0 +1 @@
|
||||||
|
* text=auto
|
|
@ -1,6 +1,16 @@
|
||||||
.netrwhist
|
/*
|
||||||
platform.vim
|
/*/
|
||||||
custom.vim
|
!/.gitignore
|
||||||
plugged/*
|
!/.gitattributes
|
||||||
plugged_bak
|
|
||||||
sessions/*
|
!/.restore-permissions
|
||||||
|
!/coc-settings.json
|
||||||
|
!/custom.vim.example
|
||||||
|
!/ginit.vim
|
||||||
|
!/init.vim
|
||||||
|
!/platform.vim.example
|
||||||
|
!/TODO.txt
|
||||||
|
|
||||||
|
!/colors/
|
||||||
|
!/autoload/
|
||||||
|
!/spell/
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"omnisharp.version": "latest"
|
||||||
|
}
|
12
ginit.vim
12
ginit.vim
|
@ -1,11 +1,19 @@
|
||||||
set nocompatible
|
set nocompatible
|
||||||
|
|
||||||
|
if exists('g:neovide')
|
||||||
|
if g:use_font==1
|
||||||
|
set guifont=Hack:16
|
||||||
|
else
|
||||||
|
set guifont=Consolas:h14
|
||||||
|
endif
|
||||||
|
else
|
||||||
GuiTabline 0
|
GuiTabline 0
|
||||||
|
|
||||||
if g:use_font==1
|
if g:use_font==1
|
||||||
Guifont! Hack:h16
|
GuiFont! Hack:h12
|
||||||
"set guifont=Hack:h16
|
"set guifont=Hack:h16
|
||||||
else
|
else
|
||||||
Guifont! Consolas:h14
|
GuiFont! Consolas:h14
|
||||||
"set guifont=Consolas:h14
|
"set guifont=Consolas:h14
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
8
init.vim
8
init.vim
|
@ -472,11 +472,15 @@ endif
|
||||||
" Setup F11/S-F11 for fullscreen/maximize toggle
|
" Setup F11/S-F11 for fullscreen/maximize toggle
|
||||||
" ===
|
" ===
|
||||||
function! FullScreenToggle()
|
function! FullScreenToggle()
|
||||||
|
if exists('g:neovide')
|
||||||
|
let g:neovide_fullscreen = !g:neovide_fullscreen
|
||||||
|
else
|
||||||
if g:GuiWindowFullScreen==1
|
if g:GuiWindowFullScreen==1
|
||||||
call GuiWindowFullScreen(0)
|
call GuiWindowFullScreen(0)
|
||||||
else
|
else
|
||||||
call GuiWindowFullScreen(1)
|
call GuiWindowFullScreen(1)
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! MaximizedToggle()
|
function! MaximizedToggle()
|
||||||
|
@ -487,8 +491,12 @@ function! MaximizedToggle()
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
if exists('g:neovide')
|
||||||
|
nnoremap <silent> <F11> :call FullScreenToggle()<CR>
|
||||||
|
else
|
||||||
nnoremap <silent> <F11> :call MaximizedToggle()<CR>
|
nnoremap <silent> <F11> :call MaximizedToggle()<CR>
|
||||||
nnoremap <silent> <S-F11> :call FullScreenToggle()<CR>
|
nnoremap <silent> <S-F11> :call FullScreenToggle()<CR>
|
||||||
|
endif
|
||||||
" ===
|
" ===
|
||||||
|
|
||||||
let $NVIM_TUI_ENABLE_TRUE_COLOR=1
|
let $NVIM_TUI_ENABLE_TRUE_COLOR=1
|
||||||
|
|
Loading…
Reference in New Issue