diff options
Diffstat (limited to 'pkgs/by-name/ne/neorg/functions/workspace.sh')
-rwxr-xr-x | pkgs/by-name/ne/neorg/functions/workspace.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/by-name/ne/neorg/functions/workspace.sh b/pkgs/by-name/ne/neorg/functions/workspace.sh new file mode 100755 index 00000000..d5eb2fca --- /dev/null +++ b/pkgs/by-name/ne/neorg/functions/workspace.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env dash + +workspace0open_neorg_workspace() { + workspace="$1" + nvim -c "NeorgStart" -s "$(ptmp ":Neorg workspace $workspace\n")" +} +workspace0open_neorg_workspace_prompt() { + nvim -c "NeorgStart" -s "$(ptmp ":Neorg workspace ")" +} |