Re: Default editor



Nigel Henry <cave.dnb2m97pp@xxxxxxxxxxxx> wrote:

Personally I use GUI text editors most of the time (Gedit,Kwrite,etc), as it's
easy to find the files that I want to edit. I have made changes
to /etc/X11/xorg.conf though, and have lost the Xserver. Not using vi/vim on
a regular basis, I found that nano was easier to use for the odd occasion
that I needed to use a text mode text editor.

the biggest problem I find in using text mode text editors is finding the file
that I want to edit, and it's name.

For example. nano /etc/X11 results in "this is a directory", and unless you
know the filename that you want to edit in /etc/X11 you're back to square
one.

vim and Emacs give you a listing of /etc/X11/ where you can select the
file you want to edit. They also have file name completion when
opening a file. In nano you get the listing by pressing Ctrl-R Ctrl-T.

Maybe you want to have a look at fte, it's a menu driven text mode editor




Florian
--
<http://www.florian-diesch.de/>
-----------------------------------------------------------------------
** Hi! I'm a signature virus! Copy me into your signature, please! **
-----------------------------------------------------------------------

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: help use gedit to edit server files
    ... cannot edit files that require sudo to edit them. ... It is a common configuration of SSH to disable root login. ... Another alternative has already been given: edit the file with nano. ...
    (Ubuntu)
  • Re: Clams.....
    ... you have to edit freshclam.conf. ... Type nano freshclam.conf. ... If your distro allows you to use sudo, then you can do cd /etc sudo nano ... To unsubscribe or change subscription options: ...
    (Fedora)
  • Re: help use gedit to edit server files
    ... cannot edit files that require sudo to edit them. ... I disagree with the login as root. ... Another alternative has already been given: edit the file with nano. ...
    (Ubuntu)
  • Re: Why is redhat 9 so unfriendly in text mode?
    ... > was using MC to search for files and to edit files. ... I have used emacs in years. ... want something like "C-x C-o", based on how you save and exit. ... This would be nano, as it is closest to edit. ...
    (linux.redhat.misc)
  • Re: how to use crontab and cron.daily
    ... Why would you do that instead of just running crontab -e as your ... If you do edit the file directly as root, ... that your editor won't mangle the permissions on you. ... use text mode text editors much, and nano is for me the easier to use. ...
    (Fedora)