Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Text Editing&Processing > Others

    speeddating.vim 20080314

    Download button

    No screenshots available
    Downloads: 334  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Fair (2.9/5)
    12 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Tim Pope | More programs
    GPL / FREE
    April 15th, 2008, 07:11 GMT
    ROOT / Text Editing&Processing / Others

     Read user reviews (0)  Refer to a friend  Subscribe

    speeddating.vim description

    speeddating.vim is a Vim script that allows you to use CTRL-A/X to increment dates, times, and more.

    speeddating.vim is a Vim script that allows you to use CTRL-A/X to increment dates, times, and more.

    Take the following date:

    1999-12-31

    Because Vim treats the hyphen as a negative sign, pressing CTRL-A on the 31 would normally increment it to

    1999-12-30

    Compare this with what happens when speeddating.vim is installed:

    2000-01-01

    Pressing 5 on the 03 in the first line below transforms it into the second:

    Sat, 01 Jan 2000 00:00:03 +0000
    Fri, 31 Dec 1999 23:59:58 +0000

    Several date, time, and datetime formats are included. Additional formats can be defined in a strftime-like syntax with the :SpeedDatingFormat command.

    Existing VIm semantics are preserved. CTRL-A and CTRL-X accept a count, and plain number incrementing is used if no date format is matched.

    Use of CTRL-A/X in visual mode enables incrementing several lines at once. Blank spots are filled by incrementing the match from the previous line, allowing for creation of sequences (1, 2, 3; 2000-10-30, 2000-10-31, 2000-11-01).

    Can also increment roman numerals and ordinals (1st, 2nd, 3rd, ...). In visual mode, letters of the alphabet are supported.

    d sets the timestamp under the cursor to the current time. d does the same, but uses UTC rather than the local time.

    Requirements:

    · Vim

    What's New in This Release:

    · Basic timezone support.
    · Formats like "Fri Mar 14" are smartly incremented, rather than assuming the year 2000.
    · Fixed error when wrapping down that would result in things like 23:60:60.



    Product's homepage

      


    TAGS:

    date incrementer | vim script | incrementation script | data | incrementation | vim

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM