my xfce4 dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
733 B

3 years ago
  1. # Dnote Plugin
  2. This plugin adds auto-completion for [Dnote](https://dnote.io) project.
  3. To use it, add `dnote` to the plugins array in your zshrc file:
  4. ```zsh
  5. plugins=(dnote)
  6. ```
  7. ## Usage
  8. At the basic level, this plugin completes all Dnote commands.
  9. ```zsh
  10. $ dnote a(press <TAB> here)
  11. ```
  12. would result in:
  13. ```zsh
  14. $ dnote add
  15. ```
  16. For some commands, this plugin dynamically suggests matching book names.
  17. For instance, if you have three books that begin with 'j': 'javascript', 'job', 'js',
  18. ```zsh
  19. $ dnote view j(press <TAB> here)
  20. ```
  21. would result in:
  22. ```zsh
  23. $ dnote v j
  24. javascript job js
  25. ```
  26. As another example,
  27. ```zsh
  28. $ dnote edit ja(press <TAB> here)
  29. ```
  30. would result in:
  31. ```zsh
  32. $ dnote v javascript
  33. ``````