Make some changes

NvChad
David Holland 2021-06-22 16:54:13 +02:00
parent 7aacd58ed5
commit dc4a46d6e2
Signed by: DustVoice
GPG Key ID: 47068995A14EDCA9
5 changed files with 52 additions and 22 deletions

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
* text=auto

22
.gitignore vendored
View File

@ -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/

3
coc-settings.json Normal file
View File

@ -0,0 +1,3 @@
{
"omnisharp.version": "latest"
}

View File

@ -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

View File

@ -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