summaryrefslogtreecommitdiff
path: root/modes/vterm
AgeCommit message (Collapse)Author
2024-02-24vterm: Visual consistency for appendMiguel
evil-collection-vterm-append doesn't work, and evil-collection-vterm-append-line doesn't correctly display where the cursor is located. This fixes both issues.
2024-02-05vterm: implement replaceSteven Allen
Implements evil's "replace" operator ("r") for vterm.
2023-05-01vterm: allow moving the cursor backwards when exiting insert stateJakub Kadlcik
See #719
2023-02-14vterm: make the `G' button jump to the prompt lineJakub Kadlcik
AFAIK `vterm` is basically a square of the size of the whole window it is placed in. As a consequence `M-x count-words` shows 30 lines even for freshly spawned `vterm` with just one line of text. And as a consequence `G` always jumps down to the bottom of the window, even though it is an unused line. This patch changes the behavior and makes `G` jump to the last prompt line. Which in ideal world, should be the last line of the buffer.
2023-02-14vterm: prevent moving the cursor below the last prompt line by `j' buttonJakub Kadlcik
It is not 100% bulletproof but we don't have any function telling us the point or line number of the last prompt, and it doesn't seem to be easy to implement, so I needed to workaround this.
2023-01-27vterm: fix the `x' key, currently it does nothingJakub Kadlcik
Currently, pressing the `x` key in normal mode does nothing. I don't know much about `:motion` but AFAIK `evil-delete-char` doesn't exist. Using `evil-forward-char` fixes the issue.
2022-06-06Change package-requires to 26.3James Nguyen
25 was already deprecated a year ago: https://github.com/emacs-evil/evil-collection/pull/508/files
2022-06-04vterm: remove trailing whitespaceJakub Kadlcik
2022-06-04vterm: when deleting command with `dd`, reset cursor after promptJakub Kadlcik
The original `evil-first-non-blank` isn't usable because the beginning of the prompt is the first non-blank character. Strangely enough, `vterm-beginning-of-line` didn't work either.
2022-06-01vterm: change "x" to evil-delete-charQuang Luong
2022-06-01Correct cursor position when evil-append in vtermQuang Luong
2022-05-02vterm: fix paste-before and add paste-after commandJakub Kadlcik
The `vterm-yank` that is currently bound to `p` actually pastes before the cursor, so I am rebinding it to `P` and adding a function for pasting after the cursor.
2022-05-02vterm: use ^ for jumping at the beginning of the command but after promptJakub Kadlcik
We have `0` for jumping at the very first character of the current line and `^` for jumping to the non-blank character. It is useful to keep this distinction in `vterm` buffers. However, it doesn't make much sense in the command part. Because we have a prompt, both of the commands jump to the very first character. I think it would be more useful to change `^` to jump to the first non-blank character after the prompt.
2022-04-28vterm: add vterm-substitute and vterm-substitute-lineJakub Kadlcik
I baesd the implementation on `evil-substitute` and `evil-change-whole-line`.
2021-03-22vterm | add change, change-lineElliott Shugerman
2021-01-30vterm: add additional evil bindingsMichael Lingelbach
2020-06-04vterm: Remove hook since upstream has vterm-kill-buffer-on-exit.Pierre Neidhardt
2020-05-23Add delete and prev/next prompt bindings for vtermAlex Griffin
2020-04-26travis: fix lintingKien Nguyen
2020-01-25Vterm: Use _James Nguyen
2019-12-09vterm-exit-functions now sends event as 2nd arg.Sunn Yao
2019-10-09Move mode files: evil-collection-*.el -> modes/*/evil-collection-*.elJonathan Lai