diff options
| author | Paul Buetow <paul@buetow.org> | 2025-04-30 15:24:59 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-04-30 15:24:59 +0300 |
| commit | 50f33979fcb25d30be0648b4fba73b4225e222f4 (patch) | |
| tree | f5740ae089ff902a7a06e7ddd3cc9085c17441a6 | |
| parent | ad72432d5562a9b9873cfd506662fd6a8ce4068d (diff) | |
Update
| -rw-r--r-- | dotfiles/fish/conf.d/quickedit.fish | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dotfiles/fish/conf.d/quickedit.fish b/dotfiles/fish/conf.d/quickedit.fish index e51b950..32806a9 100644 --- a/dotfiles/fish/conf.d/quickedit.fish +++ b/dotfiles/fish/conf.d/quickedit.fish @@ -50,6 +50,17 @@ function quickedit cd $prev_dir end +function quickedit::scratchpad + cd ~/Notes + + if editor::helix::open_with_lock scratchpad.md + quickedit::postaction scratchpad.md + end + + cd - +end + abbr -a cdquickedit "cd $QUICKEDIT_DIR" abbr -a e quickedit abbr -a er "ranger $QUICKEDIT_DIR" +abbr -a scratch "quickedit::scratchpad" |
