vim open last modified file
Here's an alias which opens the last modified file in the current directory in vim.
alias vimp='vim $(ls -ct | head -1)'
Written by ilia choly
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vim
Authors
Related Tags
#vim
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#