[Gllug] vi vs emacs (repeat)
Nix
nix at esperi.org.uk
Wed Mar 9 15:25:27 UTC 2005
On Tue, 8 Mar 2005, Benedikt Heinen stated:
>>> // :/wq is the only vi command I know, or have ever needed to know.
>>
>> Thats a bit like me. Unfortunately I don't know much more about emacs, although I do use emacs.
>> The vi command I do know is :wq! which writes to a write protected file. If I knew how to do this in emacs I wouldn't need to exit
>> emacs and load vi to achieve this feat.
>
> When you load the write-protected file, emacs doesn't let you change it. What you can do is just use
> M-x toggle-read-only
> and then edit the file.
The default keybinding of C-x C-q may be easier to remember. :)
--
> ...Hires Root Beer...
What we need these days is a stable, fast, anti-aliased root beer
with dynamic shading. Not that you can let just anybody have root.
--- John M. Ford
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list