Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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 authored
Showing with 2 additions and 10 deletions.
  1. +0 −2  .gitignore
  2. +1 −6 Rakefile
  3. +1 −2  vimrc
View
2  .gitignore
@@ -1,4 +1,2 @@
-/_temp
-/_backup
/doc/tags
.netrwhist
View
7 Rakefile
@@ -1,4 +1,4 @@
-task :default => [:tmp_dirs, :update, :link, :macvim_check]
+task :default => [:update, :link, :macvim_check]
desc %(Bring bundles up to date)
task :update do
@@ -30,11 +30,6 @@ task :link do
end
end
-task :tmp_dirs do
- mkdir_p "_backup"
- mkdir_p "_temp"
-end
-
task :macvim_check do
if mvim = which('mvim') and '/usr/bin/vim' == which('vim')
warn color('Warning:', 31) + " You have MacVim installed, but `vim` still opens system Vim."
View
3  vimrc
@@ -158,8 +158,7 @@ map <Right> :echo "no!"<cr>
map <Up> :echo "no!"<cr>
map <Down> :echo "no!"<cr>
-set backupdir=~/.vim/_backup " where to put backup files.
-set directory=~/.vim/_temp " where to put swap files.
+set updatecount=0 " disable swap files
if has("statusline") && !&cp
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.