Make some changes
parent
7aacd58ed5
commit
dc4a46d6e2
|
@ -0,0 +1 @@
|
|||
* text=auto
|
|
@ -1,6 +1,16 @@
|
|||
.netrwhist
|
||||
platform.vim
|
||||
custom.vim
|
||||
plugged/*
|
||||
plugged_bak
|
||||
sessions/*
|
||||
/*
|
||||
/*/
|
||||
!/.gitignore
|
||||
!/.gitattributes
|
||||
|
||||
!/.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"
|
||||
}
|
30
ginit.vim
30
ginit.vim
|
@ -1,11 +1,19 @@
|
|||
set nocompatible
|
||||
|
||||
GuiTabline 0
|
||||
|
||||
if g:use_font==1
|
||||
Guifont! Hack:h16
|
||||
"set guifont=Hack:h16
|
||||
else
|
||||
Guifont! Consolas:h14
|
||||
"set guifont=Consolas:h14
|
||||
endif
|
||||
set nocompatible
|
||||
|
||||
if exists('g:neovide')
|
||||
if g:use_font==1
|
||||
set guifont=Hack:16
|
||||
else
|
||||
set guifont=Consolas:h14
|
||||
endif
|
||||
else
|
||||
GuiTabline 0
|
||||
|
||||
if g:use_font==1
|
||||
GuiFont! Hack:h12
|
||||
"set guifont=Hack:h16
|
||||
else
|
||||
GuiFont! Consolas:h14
|
||||
"set guifont=Consolas:h14
|
||||
endif
|
||||
endif
|
||||
|
|
18
init.vim
18
init.vim
|
@ -472,10 +472,14 @@ endif
|
|||
" Setup F11/S-F11 for fullscreen/maximize toggle
|
||||
" ===
|
||||
function! FullScreenToggle()
|
||||
if g:GuiWindowFullScreen==1
|
||||
call GuiWindowFullScreen(0)
|
||||
if exists('g:neovide')
|
||||
let g:neovide_fullscreen = !g:neovide_fullscreen
|
||||
else
|
||||
call GuiWindowFullScreen(1)
|
||||
if g:GuiWindowFullScreen==1
|
||||
call GuiWindowFullScreen(0)
|
||||
else
|
||||
call GuiWindowFullScreen(1)
|
||||
endif
|
||||
endif
|
||||
endfunction
|
||||
|
||||
|
@ -487,8 +491,12 @@ function! MaximizedToggle()
|
|||
endif
|
||||
endfunction
|
||||
|
||||
nnoremap <silent> <F11> :call MaximizedToggle()<CR>
|
||||
nnoremap <silent> <S-F11> :call FullScreenToggle()<CR>
|
||||
if exists('g:neovide')
|
||||
nnoremap <silent> <F11> :call FullScreenToggle()<CR>
|
||||
else
|
||||
nnoremap <silent> <F11> :call MaximizedToggle()<CR>
|
||||
nnoremap <silent> <S-F11> :call FullScreenToggle()<CR>
|
||||
endif
|
||||
" ===
|
||||
|
||||
let $NVIM_TUI_ENABLE_TRUE_COLOR=1
|
||||
|
|
Loading…
Reference in New Issue