i started using micro and its pretty great. but when i try to open the terminal within the editor

ctl+e

it seems to just open a whole new terminal window with no context within my document.

anybody got ideas?

  • What is the command executing when you press this shortcut? Usually you need to use an option with the terminal to execute a command. Most terminals use the option -e COMMAND , but it can be different for a few terminal apps. In example my terminal is “Konsole” and to open a new terminal with “Vim”, I need to use this command: konsole -e nvim . Or when I want to use arguments for vim itself, I can do it like this konsole -e "vim -R $HOME/Downloads/test.txt" as an example.

    So find out how to do this with your terminal and use that as a command for your ctrl-e shortcut.

    • when i edit a file i will put

      micro test.txt 
      

      sudo can be applied after. i should be able to open a terminal within the editor and have it appear on the bottom. I should be able to use it to change the settings or style of the micro editor, but it just opens up a whole new instance of my terminal. (which is fish btw)
      i’ll look and see if i have any arguments to add.or maybe edit the config?