summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2016-04-09 17:19:49 +0100
committerUrbain Vaes <urbain@vaes.uk>2016-04-09 17:19:49 +0100
commitc8fb4a598c6067944d4d4ea3c13856f28167f4e7 (patch)
tree4cf5e67f506604457c9513f69218b95f401ac074 /vim
parent28969c5dee61c2b6108965be7dec7cab38247063 (diff)
Use environment variable in dotfiles
Diffstat (limited to 'vim')
-rw-r--r--vim/vimrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 437b7d6..854f61c 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -180,7 +180,7 @@ set foldlevel=0
set noswapfile
set nowritebackup
set undofile
-set undodir=/home/urbain/.vim/vimundo/
+set undodir=$HOME/.vim/vimundo/
" Layout window
set nonumber
@@ -205,7 +205,7 @@ set nojoinspaces
" Case and spell
set nospell
-" set spellfile="/home/urbain/.vim/spell/en.utf-8.add"
+" set spellfile="$HOME/.vim/spell/en.utf-8.add"
set smartcase
set ignorecase