32 lines
662 B
VimL
32 lines
662 B
VimL
" colorscheme vim-monokai-tasty
|
|
colorscheme slate
|
|
|
|
set clipboard+=unnamedplus
|
|
|
|
" set spellcheck according to Filetype
|
|
autocmd VimEnter * set spell spelllang=en_us
|
|
|
|
function Litde()
|
|
set spell spelllang=de_de
|
|
endfunction
|
|
|
|
function Liten()
|
|
set spell spelllang=en_us
|
|
endfunction
|
|
|
|
nnoremap <M-e> :call Liten()<CR>
|
|
nnoremap <M-g> :call Litde()<CR>
|
|
|
|
" Theme
|
|
nnoremap <M-+> :colo tokyonight-day<CR>
|
|
nnoremap <M--> :colo tokyonight-storm<CR>
|
|
|
|
" Try transparent nvim
|
|
" highlight Normal guibg=none
|
|
" highlight NonText guibg=none
|
|
" highlight Normal ctermbg=none
|
|
" highlight NonText ctermbg=none
|
|
|
|
" Autocmd safe on markdown
|
|
autocmd! CursorHold,CursorHoldI *.md write
|