Fork me on GitHub
#emacs
<
2020-12-09
>
andrea.crotti11:12:48

sometimes I use eshell to run commands inside Emacs, and I have multiple shells open

andrea.crotti11:12:03

it would be great if switchiing to eshell could switch to the one related to the project I was just on

andrea.crotti11:12:27

it should not be too hard in theory, anyone did something like that already?

Kevin F15:12:29

If you use projectile then I believe projectile-run-eshell does what you’re describing. Bound to <projectile-mode-map> x e (likely C-c p x e if you’re using suggested projectile-mode-map of C-c p

andrea.crotti16:12:54

ah yeah that works, just have to remember to always use that though also to switch to the right shell

bartuka15:12:38

how can I find what application is using a specific hotkey on windows? I am trying to use C-) in paredit but Emacs is not receiving this command. C-h k C-) does not show anything. I already disabled Ctrl+Shift that was used to Language Switching. In fact I receive the command C-(

Kevin F15:12:24

I haven’t dealt with this before, but https://www.gnu.org/software/emacs/manual/html_node/emacs/Windows-Keyboard.html suggests w32-register-hot-key as a potential solution

bartuka15:12:36

Oh, I should be in trouble.. I think this function w32-register-hot-key only exists in the native windows installation. I am using through WSL2