Remove org-wiki
This commit is contained in:
45
README.org
45
README.org
@@ -561,51 +561,6 @@ Using ~ox-hugo~ a directory of org files can autmatically be extported to markdo
|
||||
|
||||
[[https://ox-hugo.scripter.co/][Documentation]]
|
||||
|
||||
* The Wiki
|
||||
[[https://github.com/caiorss/org-wiki][org-wiki]] is used to create a personal desktop wiki for myself.
|
||||
The advantage is that everything can be done in org-mode.
|
||||
|
||||
The package is not available on [[https://melpa.org/][MELPA]] as of now.
|
||||
It must be installed manually:
|
||||
#+BEGIN_SRC bash
|
||||
(let ((url "https://raw.githubusercontent.com/caiorss/org-wiki/master/org-wiki.el"))
|
||||
(with-current-buffer (url-retrieve-synchronously url)
|
||||
(goto-char (point-min))
|
||||
(re-search-forward "^$")
|
||||
(delete-region (point) (point-min))
|
||||
(kill-whole-line)
|
||||
(package-install-from-buffer)))
|
||||
#+END_SRC
|
||||
|
||||
This will ensure the package is installed and set the default wiki location
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package org-wiki)
|
||||
(setq org-wiki-location "~/org-wiki")
|
||||
#+END_SRC
|
||||
|
||||
The backups will be stored at another location
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(setq org-wiki-backup-location "~/.org-wiki-backup/")
|
||||
#+END_SRC
|
||||
|
||||
The template for new wiki pages is stored in a separate file.
|
||||
This will be used to fill new pages.
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(setq org-wiki-template (get-string-from-file "~/.emacs.d/org-templates/wiki.org"))
|
||||
#+END_SRC
|
||||
|
||||
** Wiki key binds
|
||||
All key bindings for or wiki will start with ~C-c w~ and an additional letters for the command
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(bind-key "C-c w i" 'org-wiki-index) ; Go to the wiki index
|
||||
(bind-key "C-c w l" 'org-wiki-insert-new) ; Link to another wiki page, will create on if it does not exist
|
||||
(bind-key "C-c w e" 'org-wiki-insert-link) ; Link to an existing wiki page with helm search
|
||||
(bind-key "C-c w n" 'org-wiki-new) ; Create a new page
|
||||
(bind-key "C-c w s" 'org-wiki-search) ; Regex full text search
|
||||
(bind-key "C-c w p" 'org-wiki-helm) ; Search pages by title
|
||||
(bind-key "C-c w d" 'org-wiki-toggle-images) ; Toggle image diaplay on pages
|
||||
#+END_SRC
|
||||
|
||||
* Deft
|
||||
Deft package for very nice searching anf file creating.
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
|
||||
Reference in New Issue
Block a user