about summary refs log blame commit diff stats
path: root/pkgs/by-name/ne/neorg/functions/workspace.sh
blob: d5eb2fca164f38a674dec1900c6ad2b21f3c7054 (plain) (tree)
1
2
3
4
5
6
7
8
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 ")"
}