summaryrefslogtreecommitdiff
path: root/config/vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'config/vim/vimrc')
-rw-r--r--config/vim/vimrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/vim/vimrc b/config/vim/vimrc
index b45fec2..b68134d 100644
--- a/config/vim/vimrc
+++ b/config/vim/vimrc
@@ -1,4 +1,5 @@
" Suleyman's minimal vim config with no plugin support
+" at https://git.farajli.net/slcf
let mapleader = " "
set number
@@ -6,7 +7,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
+: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
@@ -33,4 +34,3 @@ inoremap <C-k> <C-o>gk
inoremap <C-o> <C-o>o
set background=dark
-colorscheme lunaperche