this post was submitted on 04 Sep 2024
41 points (97.7% liked)
Linux
48090 readers
761 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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 thiskonsole -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
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?
I'm a bit confused. Your terminal is not Fish. Fish is a shell like Bash, which interprets the commands. Terminal is the window application. Based on the linked image, I assume you have Kitty as your terminal? And you want to open a terminal within your editor using shortcut
Ctrl-e
?If so, then I don't know about this. I thought you want to run a terminal with micro as the editor from outside of micro, not after you started micro. I might have completely missed your point here then.
They want to get to the equivalent of vim's :
sorry, fish is shell, terminal is kitty. you are correct.