sponsor Vim development Vim logo Vim Book Ad

cmdline-insertdatetime : insert date or datetime in command line.

 script karma  Rating 0/0, Downloaded by 785  Comments, bugs, improvements  Vim wiki

created by
omi taku
 
script type
utility
 
description
insert date or datetime in command line.
https://github.com/taku-o/vim-cmdline-insertdatetime

in commandline,
    <C-X>dt         insert YYYYMMDD formated date string.
    <C-X>ts         insert YYYYMMDDHHMM formated datetime string.

usage example,
    1. input file name head .
        :w work

    2. input <C-X>dt .
        :w work20110525

    3. input file extension '.txt' .
        :w work20110525.txt

    4. enter, and save file with date.
 
install details
copy cmdline-insertdatetime.vim into your plugin directory.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-cmdline-insertdatetime.zip 0.1 2011-05-25 7.0 omi taku Initial upload
ip used for rating: 142.132.191.50

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github