mirror of
https://github.com/wfxr/forgit.git
synced 2026-09-10 07:16:23 -04:00
Update README
This commit is contained in:
parent
99c973a3a1
commit
99b3c66cd6
12
README.md
12
README.md
|
|
@ -115,13 +115,19 @@ FORGIT_FZF_DEFAULT_OPTS="
|
|||
--height '80%'
|
||||
"
|
||||
```
|
||||
## Enhancements
|
||||
|
||||
### Tips
|
||||
- [`diff-so-fancy`](https://github.com/so-fancy/diff-so-fancy): Improve `git diff` output.
|
||||
|
||||
- [`bat`](https://github.com/sharkdp/bat.git): Highlight support for `gitignore`.
|
||||
|
||||
- [`emoji-cli`](https://github.com/wfxr/emoji-cli): Emoji support for `git log`.
|
||||
|
||||
## Tips
|
||||
|
||||
- Hit `q` to quit from full screen preview any time.
|
||||
- Install [`diff-so-fancy`](https://github.com/so-fancy/diff-so-fancy) to have better `diff` output.
|
||||
- Commands like `glo`, `gd`, `gcf` and `gclean` accept path arguments to restrain the items listed in fzf(eg, `glo main.go test.go`, `gclean output/`).
|
||||
- Call `gi` with arguments to get wanted `.gitignore` contents directly(eg, `gi c++`).
|
||||
- Call `gi` with arguments to get the wanted `.gitignore` contents directly(eg, `gi cmake c++`).
|
||||
|
||||
## [License](LICENSE.txt)
|
||||
|
||||
|
|
|
|||
|
|
@ -28,7 +28,6 @@ forgit::inside_work_tree() { git rev-parse --is-inside-work-tree >/dev/null; }
|
|||
hash diff-so-fancy &>/dev/null && forgit_fancy='|diff-so-fancy'
|
||||
# https://github.com/wfxr/emoji-cli
|
||||
hash emojify &>/dev/null && forgit_emojify='|emojify'
|
||||
hash bat &>/dev/null && forgit_ignore_highlighter='|bat -l gitignore --style=numbers,grid'
|
||||
|
||||
# git commit viewer
|
||||
forgit::log() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue