Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation on vterm-mode-map #680

Open
wlmb opened this issue Aug 8, 2023 · 0 comments
Open

Documentation on vterm-mode-map #680

wlmb opened this issue Aug 8, 2023 · 0 comments

Comments

@wlmb
Copy link

wlmb commented Aug 8, 2023

The docucmentation (README.md) suggests under the heading Keybindings adding the line
(define-key vterm-mode-map (kbd "C-q") #'vterm-send-next-key)
to send a key that is recognize by emacs. I tried that in my .emacs file, but I got the error
Symbol's value as variable is void: vterm-mode-map
upon initialization. I found I could write
(with-eval-after-load 'vterm
(define-key vterm-mode-map (kbd "C-q") #'vterm-send-next-key))
in my .emacs and then the error would be gone. I suggest modifying the documentation accordingly.
Regards and thanks,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant