*Note: Following works for Doom Emacs. But with minor change, it should work for vanilla emacs as well
- Make sure you have
CMakeinstalled.- On macOS :
brew install cmake - On Ubuntu based linux distros, it should be
sudo apt-get install cmake - Otherwise use
dnforpacmanor appropriate command for your linux distro.
- On macOS :
- Enable
vtermininit.el doom/reload- This will install appropriate package, and will install and compile
libvterm - Starting a Terminal is as simple as
M-x vterm - I am running
tmuxinside ofvtermto get multiple terminals running in different working directories.😄
Issues:
- I'm yet to figure out how to use
SPCleader key without sending space character to the Terminal.- Workaround: I use mouse to click on non-terminal buffer. 😜
- As my normal workflow, I used
git commitfrom insidevtermwhere my default editor is vi/vim/nvim. When I type:wqto save theCOMMIT_MSGEmacs intercepts the keystrokes, rather than sending tovirunning insidevtermrunning inside Emacs. 😆- Solution: Use Magit for the commits, rather than
vterm
- Solution: Use Magit for the commits, rather than