Skip to content
Timestamp insertion for Kate.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE.txt
README.md
time-and-date.js

README.md

Synopsis

This script provides date-and-time-stamp insertion for The Kate Editor.

Keyboard shortcuts

  • Ctrl+Alt+d inserts a date and time of the form 20170312 15:01 at the current cursor position.

  • Ctrl+Alt+t inserts a date and time of the form Wednesday, April 12, 2017 22:58:04 at the current cursor position.

Keyboard shortcuts are specified in the katescript object literal at the top of the file, so changing them is quick and easy.

Installation

Place a copy of this script in your katepart5\script\commands directory, which turns out to be C:\Users\user\AppData\Local\katepart5\script\commands on my WIndows 10 system (YMMV), and (re)start Kate. It should therafter be usable via its keyboard shortcuts and through the Kate UI—look in Tools > Scripts > Brian's Utility Belt.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.