aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorjixiuf <jixiuf@qq.com>2023-01-30 13:18:13 +0800
committerjixiuf <jixiuf@qq.com>2023-01-30 15:45:17 +0800
commit990cc18decb489c54d16d03fd8acbfe268b98a9c (patch)
treefc5d3c07023a1ed078a00f028c92b9ae9db7971a /README.md
parent0d190d15c01fa10daced80d2c947159473812ef6 (diff)
Remove fake newlines in copy mode
when vterm-copy-mode-remove-fake-newlines is not nil. See #497 .
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/README.md b/README.md
index 94171c3..64de4b2 100644
--- a/README.md
+++ b/README.md
@@ -470,6 +470,16 @@ will ask the user whether to build the module when `vterm` is first called. To
avoid this question and always compile the module, set
`vterm-always-compile-module` to `t`.
+## `vterm-copy-mode-remove-fake-newlines`
+
+When not-nil fake newlines are removed on entering copy mode.
+vterm inserts fake-newlines purely for rendering. When using
+`vterm-copy-mode` these are in conflict with many emacs functions
+like isearch-forward. if this varialbe is not-nil the
+fake-newlines are removed on entering copy-mode and re-inserted
+on leaving copy mode. Also truncate-lines is set to t on entering
+copy-mode and set to nil on leaving.
+
## Keybindings
If you want a key to be sent to the terminal, bind it to `vterm--self-insert`,