diff --git a/init.lua b/init.lua index b30a8df..7d9a430 100644 --- a/init.lua +++ b/init.lua @@ -21,7 +21,7 @@ vim.opt.guifont = "DroidSansMono Nerd Font 11" -- set colorscheme vim.opt.termguicolors = true vim.cmd([[ -colorscheme slate +colorscheme morning ]]) -- vim.cmd('source ~/.config/nvim/viml/plugins.vim') diff --git a/viml/legacyconf.vim b/viml/legacyconf.vim index 0036143..af73408 100644 --- a/viml/legacyconf.vim +++ b/viml/legacyconf.vim @@ -27,9 +27,25 @@ autocmd VimLeave * mksession! ~/.config/nvim/lastSession.vi " set spellcheck according to Filetype autocmd VimEnter * set spell spelllang=en_us -autocmd Vimenter *.tex set spell spellang=de_de -autocmd Vimenter *.txt set spell spellang=de_de -autocmd Vimenter *.md set spell spellang=de_de + +function Litde() + set spell spelllang=de_de +endfunction + +function Liten() + set spell spelllang=en_us +endfunction + +nnoremap :call Liten() +nnoremap :call Litde() + +" Theme +" Light + + +" Dark +nnoremap :colo morning +nnoremap :colo ron " autosave for Markdown and Latex set updatetime=800