Skip to content

WillForan/zim-plugin-datelinker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

zim-plugin-DateLinker

Overview

Quickly timestamp, link, and backlink Zim wiki(v .74) pages and the journal with a hotkey. Also in emacs within zw-mode

Heavily inspired by now-button.

Install

git clone https://github.com/WillForan/zim-plugin-datelinker ~/.local/share/zim/plugins/datelinker
  1. Put this repo within the local zim plugin directory ($XDG_DATA_HOME/zim/plugins/). Zim will find __init__.py in the datelinker directory within plugins
  2. You will need to restart zim and enable the plugin from the list under Edit -> Preferences -> Plugins

Description

This plugin provides 3 keybindings for quickly linking and backlinking today's journal page.

screenshot

  • Ctrl+Shift+E OR Alt+g E - link current page onto today's page
    1. The window is navigated to today's journal page.
    2. append e.g. [[Page:IWas:Editting]] - to today's page.
      • if date page is week, text is placed after date header (e.g. line after Friday 31 March header)
  • Alt+Shift+D OR Alt+g L- link today's page to current page
    • insert date link [d: yyyy-mm-dd] at current cursor position. Like Ctrl+d but without a dialog first and the linked path starts with :.
  • Ctrl+Shift+Y OR Alt+g Y- page's absolute path to clipboard
    • differs from Ctrl+Shift+L in only that the copied path is absolute (starts with :)

Work Flow

date backlinking

  1. Ctrl+J jump to title/Ctrl+Shift+F or Ctrl+E search all pages for some text
  2. jump to and edit edit page
  3. Ctrl+Shift+E to link current page back to the current day + jump to current date

date forward linking

  1. Alt+d to go to date page
  2. Ctl+L to insert link to page to edit
  3. go to page
  4. Ctrl+Shift+D to insert link to date and keep editing

ToDo

  • unit tests
  • zim style plugin documentation

About

Quickly link and backlink entries to Zim wiki Journal's today page

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%