diff options
author | Jesse Morgan <jesse@jesterpm.net> | 2018-03-15 21:03:31 -0700 |
---|---|---|
committer | Jesse Morgan <jesse@jesterpm.net> | 2018-03-15 21:03:31 -0700 |
commit | 6674d294ff99b4f6439e6e7f7a8cde399d2bf507 (patch) | |
tree | 38732d7798eb04482ae974f51e048a36e0839d4b /base/vimrc | |
parent | a7137eb9dda0a2c2ff3992fd8336ef577272e304 (diff) |
New machine. New configs.
Diffstat (limited to 'base/vimrc')
-rw-r--r-- | base/vimrc | 26 |
1 files changed, 5 insertions, 21 deletions
@@ -118,27 +118,6 @@ endfunction " Run it every time we change buffers autocmd BufEnter,BufFilePost * call SetTitle() -perl <<EOT - # Get the user name, should probably get the home dir... - my $home_dir = (getpwuid($<))[7]; - - if ( -e $home_dir ) { - my $temp_location = "$home_dir/.vim-tmp"; - my $tmp_dir = $temp_location . '/vXXX'; - my $swp_dir = $temp_location . '/swps'; - - # If the location doesn't exist, create it - mkdir $temp_location unless ( -e $temp_location ); - - mkdir $tmp_dir unless ( -e $tmp_dir ); - mkdir $swp_dir unless ( -e $swp_dir ); - - # Set TMPDIR and directory to the new location - VIM::DoCommand("let \$TMPDIR = '" . $tmp_dir . "'") if ( -w $tmp_dir ); - VIM::DoCommand("set directory=" . $swp_dir) if ( -w $swp_dir ); - } -EOT - " Scratch Plugin let g:scratchBackupFile="/tmp/scratch.txt" @@ -159,6 +138,11 @@ highlight SpellRare term=underline cterm=underline highlight clear SpellLocal highlight SpellLocal term=underline cterm=underline +" ctrlp +let g:ctrlp_extensions = ['tag', 'buffertag'] +map <C-r> :CtrlPTag<Enter> +map <C-y> :redo<Enter> + " Load host-specific settings set runtimepath^=~/.host-specific/vim, set runtimepath+=~/.host-specific/vim/after |