I would like to be able to be able to open a terminal split for running my shell of choice. Is it not already possible to open a micro split for running a shell or must I use tmux or screen to achieve this?
I know you can run shell commands from within micro already but it temporarily quits out of micro which isn't a nice workflow.
There is a term command that opens a terminal in the current/another tab and I believe you can also open it in just a split of a tab too
So there is! Thanks.
Can I create a new keybinding that will open a new split and auto run the term command?
I think yes, if you can bind multiple actions to one key combination, and I think that is possible - check out help keybindings to be sure
I've got nice terminal integration working now. I had to add the line:
"Alt-t": "command:hsplit,command:term",
Into ~/.config/micro/bindings.json
Most helpful comment
I've got nice terminal integration working now. I had to add the line:
Into
~/.config/micro/bindings.json