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.

31 lines
1.3 KiB

3 years ago
  1. # Jump plugin
  2. This plugin allows to easily jump around the file system by manually adding marks.
  3. Those marks are stored as symbolic links in the directory `$MARKPATH` (default `$HOME/.marks`)
  4. To use it, add `jump` to the plugins array in your zshrc file:
  5. ```zsh
  6. plugins=(... jump)
  7. ```
  8. ## Commands
  9. | Command | Description |
  10. |----------------------|-------------------------------------------------------------------------------------------------|
  11. | `jump <mark-name>` | Jump to the given mark |
  12. | `mark [mark-name]` | Create a mark with the given name or with the name of the current directory if none is provided |
  13. | `unmark <mark-name>` | Remove the given mark |
  14. | `marks` | List the existing marks and the directories they point to |
  15. ## Key bindings
  16. Pressing `CTRL`+`G` substitutes the written mark name for the full path of the mark.
  17. For example, with a mark named `mymark` pointing to `/path/to/my/mark`:
  18. ```zsh
  19. $ cp /tmp/file mymark<C-g>
  20. ```
  21. will become:
  22. ```zsh
  23. $ cp /tmp/file /path/to/my/mark
  24. ```