Micro: Better terminal/shell support

Created on 10 Oct 2020  路  4Comments  路  Source: zyedidia/micro

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.

Most helpful comment

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

All 4 comments

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

johnmbaughman picture johnmbaughman  路  3Comments

ns-cweber picture ns-cweber  路  4Comments

utkarsh2102 picture utkarsh2102  路  3Comments

xintrea picture xintrea  路  3Comments

DoTheEvo picture DoTheEvo  路  3Comments