diff options
author | zeertzjq <zeertzjq@outlook.com> | 2025-03-14 08:27:02 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-14 08:27:02 +0800 |
commit | 6d40fd1dbc4e4f28d3487e12c48a1250e6c2d039 (patch) | |
tree | 2e386f8dead5d7b00298f4f7f3cfdffe35be0f0d | |
parent | 4f6196e91d23f17e6b25ea7356d5bbc5b87d95b6 (diff) | |
download | rneovim-6d40fd1dbc4e4f28d3487e12c48a1250e6c2d039.tar.gz rneovim-6d40fd1dbc4e4f28d3487e12c48a1250e6c2d039.tar.bz2 rneovim-6d40fd1dbc4e4f28d3487e12c48a1250e6c2d039.zip |
vim-patch:4d2c4b9: runtime(doc): document gitrebase filetype (#32881)
closes: vim/vim#16883
https://github.com/vim/vim/commit/4d2c4b90fb0603c9cc53aa33c43c5840c91cb80e
Co-authored-by: Christian Brabandt <cb@256bit.org>
-rw-r--r-- | runtime/doc/filetype.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/runtime/doc/filetype.txt b/runtime/doc/filetype.txt index c04367d1ad..56fbd5c2a0 100644 --- a/runtime/doc/filetype.txt +++ b/runtime/doc/filetype.txt @@ -603,6 +603,24 @@ One command, :DiffGitCached, is provided to show a diff of the current commit in the preview window. It is equivalent to calling "git diff --cached" plus any arguments given to the command. +GIT REBASE *ft-gitrebase-plugin* + +The gitrebase filetype defines the following buffer-local commands, to help +with interactive `git rebase`: > + + :Drop " to discard this commit + :Edit " to stop for editing this commit + :Fixup " to squash (but discard the message) into the previous one + :Pick " to pick this commit (the cursor is on) + :Reword " to pick this commit, but change the commit message + :Squash " to squash this commit into the previous one + +In addition, the following comamnd can be used to cycle between the different +possibilities: > + + :Cycle " to cycle between the previous commands +< +For details, see `git-rebase --help`. GO *ft-go-plugin* |