feat: morden cli tools

This commit is contained in:
Ryan Yin
2024-01-22 15:23:30 +08:00
parent 4f1c138a01
commit f51242ae08
5 changed files with 101 additions and 51 deletions

View File

@@ -43,6 +43,7 @@ in {
## Optional dependencies
fd # faster projectile indexing
imagemagick # for image-dired
fd # faster projectile indexing
zstd # for undo-fu-session/undo-tree compression
# go-mode

View File

@@ -132,7 +132,13 @@ Press `<Space> + D` to view available bindings and options.
| Description | Shortcut |
| ------------------------------------------------------------ | ---------------------------------------------------------------- |
| Open spectre.nvim search and replace panel | `<Space> + ss` |
| Search and replace in command line(need install `sad` first) | `find -name "*.nix" \| sad '<pattern>' '<replacement>' \| delta` |
Search and replace via cli(fd + sad + delta):
```bash
fd "\\.nix$" . | sad '<pattern>' '<replacement>' | delta
```
### Surrounding Characters