From 588967bcc3ba88a9ea66680462f29aea8a4715ea Mon Sep 17 00:00:00 2001 From: Suleyman Farajli Date: Thu, 25 Jul 2024 20:05:44 +0400 Subject: small update to vimrc --- config/vim/vimrc | 1 + 1 file changed, 1 insertion(+) (limited to 'config/vim/vimrc') diff --git a/config/vim/vimrc b/config/vim/vimrc index cfb9931..b45fec2 100644 --- a/config/vim/vimrc +++ b/config/vim/vimrc @@ -6,6 +6,7 @@ set scrolloff=5 " Smooth scroll set clipboard=unnamedplus " Use system clipboard set shortmess+=I " Deactivate intro text set fillchars=eob:\ " Remove "~" for empty lines (must end wit trailing a space) +set nowrap " Disable wrapping autocmd BufwritePost * %s/\s\+$//e " Remove useless trailing spaces when saving autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o " Disable autocomments -- cgit v1.2.3