diff --git a/ftplugin/markdown.vim b/ftplugin/markdown.vim index 828ff3c..c141eff 100644 --- a/ftplugin/markdown.vim +++ b/ftplugin/markdown.vim @@ -2,10 +2,16 @@ " File: ftplugin/markdown.vim " Maintainer: Andrew Nechaev " Version: 0.1.0 -" Modified: 2022-05-16 13:14+0400 +" Modified: 2022-05-16 13:48+0400 " License: MIT """""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +set textwidth=120 +set formatoptions+=t +set colorcolumn=-1 +set wm=0 +set wrap linebreak + nnoremap t :call winrestview(toggle({' ': 'x', 'x': '-', '-': ' '})):w! vnoremap t :call winrestview(toggle({' ': 'x', 'x': '-', '-': ' '})):w!