I'm struggling to find a way to define keys only for eshell. Looking at the emacs wiki I saw examples using the eshell-mode-map
yet I get errors when trying to define it.
progn: Symbol’s value as variable is void: eshell-mode-map
I'm trying to get the f-keys to work as nornal f-keys after using them to quick launch functions in global mode.
Here is what I tried
(define-key eshell-mode-map (kbd "<f9>") (kbd "<f9>") )
(kbd "<f9>") (kbd "<f9>")
(which will cause an infinite loop). Ignoring the specific code, what is the desired result? What is<f9>
currently doing (and in which specific scenario)?, and what do you need it to do?<f9>
to a program running interm
, which probably requires using escape codes somehow.