diff options
author | Suleyman Farajli <suleyman@farajli.net> | 2024-07-25 20:05:44 +0400 |
---|---|---|
committer | Suleyman Farajli <suleyman@farajli.net> | 2024-07-25 20:05:44 +0400 |
commit | 588967bcc3ba88a9ea66680462f29aea8a4715ea (patch) | |
tree | 3e47b9d7265535433e93400e1ceedb453fd32f36 | |
parent | 9f60a2b5ec9ae08d846bc7d3b61612aacadf82c8 (diff) |
small update to vimrc
-rw-r--r-- | config/vim/vimrc | 1 |
1 files changed, 1 insertions, 0 deletions
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 |