Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

tweaks

  • Loading branch information...
commit 46a8cc40cdfbec2e6f1e86c6c5780e3070d00e9e 1 parent a22c04f
@mislav authored
Showing with 4 additions and 5 deletions.
  1. +4 −5 vimrc
View
9 vimrc
@@ -40,6 +40,9 @@ set hidden
" Auto-reload buffers when file changed on disk
set autoread
+" Disable swap files; systems don't crash that often these days
+set updatecount=0
+
" Make Vim able to edit crontab files again.
set backupskip=/tmp/*,/private/tmp/*"
@@ -51,9 +54,7 @@ set expandtab " use spaces, not tabs
set list " Show invisible characters
set backspace=indent,eol,start " backspace through everything in insert mode
" Joining lines
-if v:version > 7.03
- set formatoptions+=j " Delete comment char when joining commented lines
-endif
+set formatoptions+=j " Delete comment char when joining commented lines
set nojoinspaces " Use only 1 space after "." when joining lines, not 2
" Indicator chars
set listchars=tab:\ ,trail:•,extends:❯,precedes:
@@ -197,8 +198,6 @@ map <Right> :echo "no!"<cr>
map <Up> :echo "no!"<cr>
map <Down> :echo "no!"<cr>
-set updatecount=0 " disable swap files
-
if has("statusline") && !&cp
set laststatus=2 " always show the status bar
Please sign in to comment.
Something went wrong with that request. Please try again.