Edit a temporary copy of the current file Edit History Talk0 1,599pages on this wiki Redirected from VimTip567 Please review this tip: This tip was imported from vim.org and needs general review. You might clean up comments or merge similar tips. Add suitable categories so people can find the tip. Please avoid the discussion page (use the Comments section below for notes). If the tip contains good advice for current Vim, remove the {{review}} line. Tip 567 Printable Monobook Previous Next created 2003 · complexity basic · author mosh · version 6.0 Edit a copy of the current file as $TMP/file-$DATE by pressing zs using the following mapping. :map zs :exe "sav $TMP/" . expand("%:t") . strftime("-%Y-%m-%d_%H%M%S")<CR> CommentsEdit Read more Many people have lots of files containing short notes regarding your computer, your work, and so... Add your note files to Vim help Could not execute shell commands ending with ampersand (&) in gvim running under FreeBSD... Ampersand in freebsd shell commands to view LaTeX files I like to save locations of files I am editing in a bookmark file. Each bookmark shows up as a... Bookmarks as menu item Categories: Review VimTip Add category Cancel Save