Re: vi editor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 26Jun2006 13:04, Todd Zullinger <tmz@xxxxxxxxx> wrote:
| Les Mikesell wrote:
| > No, I didn't actually try it in vim.  It was that way in vi long ago
| > and I've given up on keeping track of what versions have what
| > different behavior.  But now that you mention it, none of the
| > versions I use regularly need the space - and the other old quirk of
| > not taking a repeat count for 'r' is fixed too.
| 
| Ahh, at least I know it's not something magical about my vimrc then.

I don't know about :r, but :w and :q have always taken a following "!"
to mean "skip the sanity checks". So if you'd opened a file in readonly
mode, :w will refuse to write it out, but :w! will write it anyway
(file permissions permitting of course). And :q will (the first time)
refuse to quit if you've changed but not saved a file, while :q! will
quit regardless.

It does make less sense with :r, except for syntactic consistency. Which
I like.
-- 
Cameron Simpson <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

Patent laws: made for the benefit of little inventors, opposed by little
inventors, pushed by big corporations. Something is quite wrong.
- http://slashdot.org/~marcello_dl

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux