diff --git a/vim-sync-append.sh b/vim-sync-append.sh index 5093fce..8e07afa 100755 --- a/vim-sync-append.sh +++ b/vim-sync-append.sh @@ -4,6 +4,11 @@ ############################ #! /bin/bash +# Try to load .bashrc to load rvm functions +if [ -f ~/.bashrc ]; then + . ~/.bashrc +fi + # Get current directory for future use in links VIM_SYNC_DIR=${PWD} diff --git a/vim/dot_vimrc b/vim/dot_vimrc index 0a3ad07..dcbc28d 100644 --- a/vim/dot_vimrc +++ b/vim/dot_vimrc @@ -54,6 +54,8 @@ set tabstop=4 set shiftwidth=4 set softtabstop=4 set autoindent +"Ensure backspace actually works +set backspace=2 filetype plugin indent on set virtualedit=onemore " allow for cursor beyond last character