I enter vi in the terminal, and the program opens in the terminal window. How to open it in a separate window?
3 answers
vim (vi) - console editor, to open it in a separate window, you need to install a graphical shell for it. Under Gnome, this will be vim-gnome, as I will not be able to say under other GUIs, but look towards the gvim package.
|
Run the terminal emulator in the background, set vi file in its parameters. Linux is not at hand, but something like
xterm -e vi my-file &
- The answer implies working under XWindows in the xterm window. Other options offhand: ssh (telnet, etc., we don’t recall) in the console (without xserver), windows ssh (eg putty). - alexlz
|
Wim can only be opened in the terminal. Alternatively, you can go to another terminal and open it there.
|
:gui
or:gvim
- alexlz