Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

turn off swap files

They're just a pain in the ass, and my computer doesn't crash anyway
  • Loading branch information...
commit aa698540ad2100e6024554e96b4b60aa795a25bf 1 parent 969e2b1
Mislav Marohnić authored

Showing 3 changed files with 2 additions and 10 deletions. Show diff stats Hide diff stats

  1. +0 2  .gitignore
  2. +1 6 Rakefile
  3. +1 2  vimrc
2  .gitignore
... ... @@ -1,4 +1,2 @@
1   -/_temp
2   -/_backup
3 1 /doc/tags
4 2 .netrwhist
7 Rakefile
... ... @@ -1,4 +1,4 @@
1   -task :default => [:tmp_dirs, :update, :link, :macvim_check]
  1 +task :default => [:update, :link, :macvim_check]
2 2
3 3 desc %(Bring bundles up to date)
4 4 task :update do
@@ -30,11 +30,6 @@ task :link do
30 30 end
31 31 end
32 32
33   -task :tmp_dirs do
34   - mkdir_p "_backup"
35   - mkdir_p "_temp"
36   -end
37   -
38 33 task :macvim_check do
39 34 if mvim = which('mvim') and '/usr/bin/vim' == which('vim')
40 35 warn color('Warning:', 31) + " You have MacVim installed, but `vim` still opens system Vim."
3  vimrc
@@ -158,8 +158,7 @@ map <Right> :echo "no!"<cr>
158 158 map <Up> :echo "no!"<cr>
159 159 map <Down> :echo "no!"<cr>
160 160
161   -set backupdir=~/.vim/_backup " where to put backup files.
162   -set directory=~/.vim/_temp " where to put swap files.
  161 +set updatecount=0 " disable swap files
163 162
164 163 if has("statusline") && !&cp
165 164 set laststatus=2 " always show the status bar

0 comments on commit aa69854

Please sign in to comment.
Something went wrong with that request. Please try again.