History
Article Edit this page Discussion

Edit a temporary copy of the current file

From Vim Tips Wiki

(Redirected from VimTip567)
Jump to: navigation, search

Tip 567 Previous Next Created: September 30, 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>

[edit] Comments

Rate this article:

Share this article:

Hubs Highlights International Sites Wikia messages
Entertainment
Gaming
Cartoons & Comics
Science Fiction
Hobbies
Sports
See all...
Grand Theft Auto
Doctor Who
Legend of Zelda Wiki
Terminator Wiki
Everquest II Wiki
Mystery Science Theater 3000
German
Spanish
Chinese
Japanese
More...
Wikia is hiring for several open positions
Send this article to a friend
"Edit a temporary copy of the current file"
 
 
Hi!

I thought you'd like this page from Wikia!

http://vim.wikia.com

Come check it out!
Send confirmation