All Projects → TeddyDD → kakoune-wiki

TeddyDD / kakoune-wiki

Licence: ISC license
Personal wiki plugin for Kakoune

Projects that are alternatives of or similar to kakoune-wiki

gatsby-theme-primer-wiki
A Gatsby Theme for Wiki/Docs/Knowledge Base, which using Primer style as the UI theme, can work well with Foam or Obsibian or just markdown files.
Stars: ✭ 85 (+60.38%)
Mutual labels:  wiki
eryajf.github.io
📝 大千世界,何其茫茫。谨此笔记,记录过往。凭君阅览,小站洛荒。如能收益,莫大奢望
Stars: ✭ 159 (+200%)
Mutual labels:  wiki
kitsu-wiki
📑 The wiki frontend for Kitsu
Stars: ✭ 12 (-77.36%)
Mutual labels:  wiki
SemanticWikibase
Makes Wikibase data available in Semantic MediaWiki
Stars: ✭ 14 (-73.58%)
Mutual labels:  wiki
pw
Best websites a Programmer should visit
Stars: ✭ 27 (-49.06%)
Mutual labels:  wiki
hub
好用的工具、资源收集库, 好记性不如破键盘
Stars: ✭ 63 (+18.87%)
Mutual labels:  wiki
tiddlywiki-docker
Tools for running TiddlyWiki via a Docker container
Stars: ✭ 34 (-35.85%)
Mutual labels:  wiki
InternalSteamWebAPI
Documenting the unofficial and internal Steam Web API
Stars: ✭ 126 (+137.74%)
Mutual labels:  wiki
teedoc
wiki and multi docs friendly static document site generator(doc generator), convert markdown and jupyter notebook to html website. wiki 和多文档友好的静态文档网站生成工具
Stars: ✭ 72 (+35.85%)
Mutual labels:  wiki
rurusetto
A wiki that contain all osu! rulesets
Stars: ✭ 31 (-41.51%)
Mutual labels:  wiki
L4D2-Comp-Stripper-Rework
Reworking Stripper:Source map changes for competitive L4D2 from scratch.
Stars: ✭ 26 (-50.94%)
Mutual labels:  wiki
messages
A python package designed to make sending messages easy and efficient!
Stars: ✭ 38 (-28.3%)
Mutual labels:  wiki
matic-docs
The official documentation for all Polygon products.
Stars: ✭ 181 (+241.51%)
Mutual labels:  wiki
FreePhone
FreePhone es un proyecto de investigación sobre privacidad en dispositivos móviles. Con este repositorio pretendemos liberar toda la experiencia acumulada durante la creación de un smartphone casero.
Stars: ✭ 57 (+7.55%)
Mutual labels:  wiki
LDtkMonogame
Monogame renderer and importer for LDtk Level editor
Stars: ✭ 43 (-18.87%)
Mutual labels:  wiki
blue-book
My personal knowledge repository
Stars: ✭ 464 (+775.47%)
Mutual labels:  wiki
wikibot
Some MediaWiki bot examples including wikipedia, wikidata using MediaWiki module of CeJS library. 採用 CeJS MediaWiki 自動化作業用程式庫來製作 MediaWiki (維基百科/維基數據) 機器人的範例。
Stars: ✭ 26 (-50.94%)
Mutual labels:  wiki
acala-wiki
Acala GitBook Wiki, https://wiki.acala.network
Stars: ✭ 22 (-58.49%)
Mutual labels:  wiki
WikiChron
Data visualization tool for wikis evolution
Stars: ✭ 19 (-64.15%)
Mutual labels:  wiki
connect.kak
Connect a program to Kakoune clients
Stars: ✭ 80 (+50.94%)
Mutual labels:  kakoune

kakoune-wiki

icon

Personal wiki plugin for Kakoune

Motivation

Personal wiki is collection of interconnected notes you can store your knowledge in. I wanted to create plugin for Kakoune that would make creating such wiki as hassle-free as possible. My main issue was manual creation of new pages and writing Markdown links by hand. When I've got an idea I want to write it down right now, without navigating file system. I want to be able to create and link other notes during writing as well.

Features

  • find and edit any page using wiki command, no matter where you are in the file system
  • quickly jump between wiki pages. Just point at link and press enter
  • create interconnected pages with @pagename syntax that expands to standard Markdown links
  • insert images with @path/to/image.png syntax
  • toggle Markdown check-boxes with <ret> key in normal mode
  • wiki is just bunch of Markdown files, you can process/edit them further with tools like pandoc, MdWiki, markor or any text editor. No vendor lock-ins
  • minimal and simple — only essential features, script around 100 LOC

Installation

You can either:

  • load rc/wiki.kak from your kakrc: source path/to/rc/wiki.kak
  • put rc/wiki.kak in your autoloads directory ~/.config/kak/autoload/
  • use plug.kak - plugin manager

Then you have to choose directory for your wiki. Call following command from your kakrc:

wiki-setup `/home/user/my/wiki/directory`
# or
wiki-setup %sh{ echo $HOME/wiki }

Only last stable releases of Kakoune is supported

Usage

Create new page

To create wiki page use wiki command. Provide file name as parameter:

wiki cookies.md

This command creates file cookies.md in your wiki directory. You can also use subdirectories for organization purpose. To create new page in subdirectory:

wiki recipes/cookies.md

Note that path is always relative to the wiki root directory.

Edit existing page

To edit wiki page use (you guessed it) wiki command. You can press TAB key for autocompletion:

wiki recipes/<TAB> # cycle through available pages

Link pages

To reference other wiki page use @tag syntax. Type @cookies<ret> in insert mode to create standard Markdown link to wiki page cookies.md in your wiki directory. As alternative you can use wiki_expand_tag command in normal mode when whole @tag is selected. You can use subdirectories as well, path is always relative to wiki root directory, however expanded link will be relative to currently edited wiki page:

# editing recipes/cookies.md
@chocolate<ret>
expands to
[chocolate](../chocolate.md)

If page referenced by @tag does not exist it will be created. Directories will be created as well.

If you press <ret> with cursor on link, Kakoune will follow link.

Images

To insert image from your wiki directory use @!image syntax. Type @!image.jpg<ret> to insert ![image.jpg](image.jpg). There is also wiki_expand_pic command (@!image tag must be selected). You can use subdirectories like in @tag.

Checkboxes

You can toggle Markdown checkboxes on and off using <ret> key in normal mode or wiki_toggle_checkbox command:

# TODO

- [ ] foo
- [ ] bar # press <ret>
- [X] bar # result

Changelog

  • 0.1:
    • initial release
  • 0.2:
    • ADD toggle checkbox feature
  • 0.3 2018-07-15:
    • ADD support for nested directories
    • REMOVE hide wiki_new_page command, use wiki instead
    • CHANGE wiki command use relative paths now
  • 0.4 2018-09-06:
    • CHANGE update to Kakoune v2018.09.04 breaking
  • 0.5 2018-09-11:
    • FIX tag expansion in middle of the line
    • FIX new line causing unwanted tag expansion
    • FIX refactoring of try statements in NormalMode hooks and commands
  • 0.6 2018-10-27:
    • CHANGE new directory layout (breaking: update path in source command in kakrc)
    • CHANGE Kakoune v2018.10.27 compatibility breaking
    • CHANGE Changelog formatting
    • FIX update README, fix spelling mistakes
  • 0.7 2019-01-04:
    • CHANGE update README
    • CHANGE small refactoring of wiki command
    • FIX following links when pwd is not in wiki_path
    • FIX following links from wiki_path subdirectories
    • FIX expanding tags won't create new line anymore
    • ADD wiki_expand_pic and corresponding syntax @!path/to/pic.jpg (based on PR #2)
  • 0.8 2020-02-03:
    • CHANGE Kakoune v2020.01.16 compatibility breaking
    • CHANGE wiki_setup rename to wiki-setup
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].