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.
git clone https://github.com/WillForan/zim-plugin-datelinker ~/.local/share/zim/plugins/datelinker
- 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 - You will need to restart zim and enable the plugin from the list under
Edit -> Preferences -> Plugins
This plugin provides 3 keybindings for quickly linking and backlinking today's journal page.
- Ctrl+Shift+E OR Alt+g E - link current page onto today's page
- The window is navigated to today's journal page.
- 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)
- if date page is week, text is placed after date header (e.g. line after
- 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:
.
- insert date link
- 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
:
)
- differs from Ctrl+Shift+L in only that the copied path is absolute (starts with
- Ctrl+J jump to title/Ctrl+Shift+F or Ctrl+E search all pages for some text
- jump to and edit edit page
- Ctrl+Shift+E to link current page back to the current day + jump to current date
- Alt+d to go to date page
- Ctl+L to insert link to page to edit
- go to page
- Ctrl+Shift+D to insert link to date and keep editing
- unit tests
- zim style plugin documentation