From 9669b061a3684920330def25876e068a18bb7c8f Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Sun, 23 Jul 2023 19:25:43 +0200 Subject: [PATCH] sh: Add alias for vim notes Added alias that directly opens my vim notes index. Will only work with my own zettelkasten plugin, however. --- sh/.config/sh/alias | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sh/.config/sh/alias b/sh/.config/sh/alias index d26c91e..42dda26 100644 --- a/sh/.config/sh/alias +++ b/sh/.config/sh/alias @@ -19,6 +19,8 @@ else alias v="vi" alias vim="vi" fi +# open notes with my vim zettelkasten plugin +alias vn='v +"lua require \"zettelkasten\".index_open()"' # exit shell mimicks vim alias :q="exit"