Skip to content

Commit

Permalink
Override vim tmp directory to a local dir due to permission issues wi…
Browse files Browse the repository at this point in the history
…th /tmp that came up recently
  • Loading branch information
jayywolff committed May 18, 2022
1 parent 5366c1f commit 1997e03
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .vim/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
/session
/sessions
/backups
/tmp
.NERDTreeBookmarks

1 change: 1 addition & 0 deletions .vimrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
let $TMPDIR = $HOME."/.vim/tmp" " Override tmp directory due to permission issues with /tmp
set nocompatible " Disable vi-compatibility
filetype off " required for Vundle
set rtp+=~/.vim/bundle/Vundle.vim " set runtime path to include Vundle
Expand Down
1 change: 1 addition & 0 deletions scripts/updateDotfiles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ ln -sf $dotdir/.editorconfig $HOME/.editorconfig
ln -sf $dotdir/.vim/ $HOME/.vim
ln -sf $dotdir/.vimrc $HOME/.vimrc
mkdir $dotdir/.vim/backups
mkdir $dotdir/.vim/tmp
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
vim +PluginInstall +qall
# there may be some un-automated setup required for coc-vim
Expand Down

0 comments on commit 1997e03

Please sign in to comment.