News for hackers. Stuff that matters.
Re:Efficient Editing With vim by Pistos2 on Friday September 25, 2009 @04:45PM (#844318)
I've hit Ctrl-W to try to delete a word, and ended up closing an IRC window. It's not exclusive to vim. :)
Re:Efficient Editing With vim by chancho on Friday September 25, 2009 @10:36PM (#844897)
OS X:

Put the following in ~/Library/KeyBindings/DefaultKeyBindings.dict

{ "^w" = "deleteWordBackward:"; }

GTK:

echo 'gtk-key-theme-name = "Emacs"' >>~/.gtkrc-2.0

gconftool -t string --set /desktop/gnome/interface/gtk_key_theme Emacs

Windows:

... uh ...

Re:Efficient Editing With vim by apotheon on Friday September 25, 2009 @07:00PM (#844628)
I've found it easy to avoid misusing Ctrl-w because of the fact I use it so much to close tabs in Firefox. You just need to have two different uses for something, both of which you use very regularly, to get used to not accidentally misusing them, I've found.
Re:Efficient Editing With vim by greyfade on Friday September 25, 2009 @10:19PM (#844883)
Vimperator will break that habit, for sure.
Re:Efficient Editing With vim by apotheon on Saturday September 26, 2009 @01:06AM (#845051)
Alas, I think you may be right. I haven't been using it very long.

Once I actually buckled down and started learning how to use it, I was surprised by how quickly and easily a natural feeling of "this is how it should be" developed while using Vimperator. Of course, there's a lot of positive transference of knowledge from my heavy use of Vim itself, but still -- I didn't expect to find it this easy.

I think part of the reason may be that every single keyboard-driven browser I have ever used before (Lynx, W3m, Links, et cetera, ad infinitum) was so awful as a Web interface that I became convinced Web browsers were a uniquely GUI-suited type of application. Vimperator is definitely changing my mind.

Thank goodness.

Re:Efficient Editing With vim by jcw on Friday September 25, 2009 @05:00PM (#844368)
I've hit ctrl-w and closed a window while taking a test in class.
Re:Efficient Editing With vim by scott_s on Friday September 25, 2009 @05:39PM (#844467)
When I first switched to my Mac, when I'd switch between split windows (ctrl w w), I'd often accidentally close my Terminal session (command w). The Apple Command sat where I expected ctrl to be.