summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/vim/vimrc1
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