Permalink
Browse files

Keep the alternate file on rename

  • Loading branch information...
cehoffman authored and tpope committed May 11, 2012
1 parent edd2f4f commit fd3da99b62291c6732b264feedc24e3d73f1baa9
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugin/eunuch.vim
View
@@ -21,7 +21,7 @@ command! -bar -bang Remove :Unlink<bang>
command! -bar -nargs=1 -bang -complete=file Rename :
\ let s:file = expand('%:p') |
\ setlocal modified |
- \ saveas<bang> <args> |
+ \ keepalt saveas<bang> <args> |
\ if s:file !=# expand('%:p') |
\ call delete(s:file) |
\ endif |

0 comments on commit fd3da99

Please sign in to comment.