diff --git a/nvim/mappings.vim b/nvim/mappings.vim index 6b2519f..1fdd9e8 100644 --- a/nvim/mappings.vim +++ b/nvim/mappings.vim @@ -32,6 +32,13 @@ nnoremap gg :G " neo formatter nnoremap p :Neoformat +" goyo mapping +nnoremap w :Goyo + +" spelling +nnoremap se :set spell spelllang=en +nnoremap sd :set spell spelllang=de + " lsp mappings imap (completion_trigger) diff --git a/nvim/pluginoptions.vim b/nvim/pluginoptions.vim index 54dbfff..121a64b 100644 --- a/nvim/pluginoptions.vim +++ b/nvim/pluginoptions.vim @@ -92,18 +92,20 @@ let g:tmuxcomplete#trigger = '' function! s:goyo_enter() set noshowcmd + set noshowmode set scrolloff=999 endfunction function! s:goyo_leave() set showcmd + set showmode set scrolloff=1 endfunction autocmd! User GoyoEnter nested call goyo_enter() autocmd! User GoyoLeave nested call goyo_leave() -let g:goyo_linenr = 0 +let g:goyo_width = 120 " AUTOCOMPLETION " ========================= @@ -143,7 +145,6 @@ let g:languagetool_cmd='/usr/bin/languagetool' " TREESITTER " lua <