From 179840e4c0c8f70292754619ef3398712e0ae796 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Wed, 10 Aug 2022 09:01:09 +0200 Subject: [PATCH] sh: Add vim personal knowledge base alias Added alias `vw` to open the index page of my PKB (essentially the start page of my wiki) using my zettelkasten.nvim plugin. --- sh/.config/sh/alias | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sh/.config/sh/alias b/sh/.config/sh/alias index fd8fe99..54e9ea5 100644 --- a/sh/.config/sh/alias +++ b/sh/.config/sh/alias @@ -10,8 +10,9 @@ unalias -a # v shorthand for neovim if exist nvim; then alias v="nvim" - alias vs="nvim -c 'ScratchPad'" alias vim="nvim" + alias vs="nvim -c 'ScratchPad'" # open an empty 'scratchpad' which simply disappears after use + alias vw="nvim -c \"lua require 'zettelkasten'.index_open()\"" # open to personal wiki elif exist vim; then alias v="vim" else