IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New I have heard this many times but never understood it
What do you do with the text that Vim is so good at? I find that while I write a lot of code the editor that I use doesn't interest me that much. I write a line of code go to the next line and write another line. I don't really use a lot of editing features. What kind of editing features do you use? What I find most useful about the IDE is the refactoring support, where I can take pieces of code from an existing method and create new methods, move things around etc. and the fact that with autocompletion I can see the parameters.
Expand Edited by bluke Sept. 13, 2004, 02:53:08 AM EDT
New Refocus down just a little bit.
Think about *how* your IDE makes it easy to refactor: what is involved in copying a fragment of code and then modifying it slightly for it's new location?

In an IDE such as Microsoft's Visual Studio (note that the last version I used was for MSVC++ v2), this involves lots of action on the editing keys (cursor keys, delete and insert) to highlight relevant text and modify as appropriate, accompanied with a quantity of mouse-work also for selecting or moving text and for actvitating toolbar buttons.

Vi has many tools for changing text in efficient ways that be combined in hundreds of variations. The fact that they activated by the typewriter keys helps because your hands can stay there instead of moving off to hit a cursor key (this is the same for Emacs, BTW). For example, non-vi-ers think that having 5 basic ways to switch into a text-entry mode is superfluous. It's not. They all setup your insertion differently. The extra efficiency is slight in typing o to enter a new line below the current one over pressing End then Enter, but it adds up over time.

The difference in approach is one of a complete, but predominantly not-overlapping, set of basic tools for modifying text (typified in part by more keystrokes) versus a much larger toolset that has lots of overlapping functionality (typified in part by less keystrokes). It's difficult to explain.

Wade.

Is it enough to love
Is it enough to breathe
Somebody rip my heart out
And leave me here to bleed
 
Is it enough to die
Somebody save my life
I'd rather be Anything but Ordinary
Please

-- "Anything but Ordinary" by Avril Lavigne.

New For me?
The reasons I like VI


  1. I can do everything on the keyboard, without taking my hands off of it to touch a mouse.
  2. I can do a :set list and see every character, whether it's a tab or a space or a something else
  3. I can then do a :set nolist :-)
  4. I can indent 10 lines (by tabs, my preferred programming style) by 10>
  5. I can delete 10 lines by simply typing 10d
  6. I can see all line numbers by doing :set numbers
  7. I can delete lines 100, 1000 by typeing :100,1000d
  8. I can delete all lines that contain /foo/
  9. etc...


and that's just a sample, without even touching macros.
     Do you use an IDE? - (bluke) - (63)
         I use emacs - (admin) - (17)
             That was just 1 example - (bluke) - (9)
                 Re: That was just 1 example - (admin) - (8)
                     What I meant was ... - (bluke) - (4)
                         Re: What I meant was ... - (admin) - (3)
                             I never really used Emacs ... - (bluke) - (2)
                                 No argument there. - (admin)
                                 But if they're using VIM and calling it VI - (Simon_Jester)
                     I find the prefix to be distracting - (bluke) - (2)
                         That would work as well. -NT - (admin)
                         Use leading underscores for ivars - less distracting - (tuberculosis)
             Little features won me over - (bluke) - (6)
                 Re: Little features won me over - (admin) - (5)
                     I am only doing Java now - (bluke) - (3)
                         Re: I am only doing Java now - (admin) - (2)
                             I do browse jars ... - (bluke) - (1)
                                 How about embedded ones? - (admin)
                     ICLRPD (new thread) - (Another Scott)
         I'm bouncing back and forth on this. - (broomberg) - (36)
             There is no question ... - (bluke) - (30)
                 OK - (broomberg) - (29)
                     Not that I am selling Intellij ... - (bluke) - (28)
                         Doubt it - (broomberg) - (27)
                             Most of my typing is inserting text. - (admin) - (2)
                                 ed is the standard text editor. -NT - (pwhysall) - (1)
                                     ? -NT - (admin)
                             Modes are evil. - (FuManChu) - (23)
                                 ? -NT - (pwhysall) - (14)
                                     ? RTFA - (FuManChu) - (13)
                                         ? -NT - (pwhysall) - (8)
                                             Love ya man -NT - (FuManChu)
                                             Type faster, Barry! :D -NT - (FuManChu) - (1)
                                                 Huh? -NT - (broomberg)
                                             I did RTFA - (broomberg) - (4)
                                                 ? - (pwhysall) - (3)
                                                     ? - (FuManChu) - (1)
                                                         Footpedal - (altmann)
                                                     Yup - (broomberg)
                                         ? -NT - (admin) - (3)
                                             ??? -NT - (Yendor) - (2)
                                                 ???? -NT - (broomberg) - (1)
                                                     !!! -NT - (Yendor)
                                 Modals wobble but they don't fall down. - (Another Scott) - (7)
                                     ROfsckingFL! - (jb4) - (6)
                                         Yep, teco was great. - (admin)
                                         In that case - (broomberg) - (4)
                                             Wuss - (pwhysall)
                                             Oh dear -- you woke Peter up. :-D -NT - (static) - (1)
                                                 Stalker! -NT - (pwhysall)
                                             Used both... - (jb4)
             VI keys. - (static) - (3)
                 I have heard this many times but never understood it - (bluke) - (2)
                     Refocus down just a little bit. - (static)
                     For me? - (Simon_Jester)
             IDEA for Java - (tuberculosis)
         The refactor tools are good - (ChrisR)
         Call it a terminology mismatch, then - (FuManChu) - (4)
             But that is what I use it for! - (broomberg) - (2)
                 How about this - (drewk) - (1)
                     Mostly. - (FuManChu)
             Maybe - (bluke)
         I don't either - (ben_tilly)
         I think I put my finger on it - (drewk)

Everybody knows the 'Linux' facade is just the skorry chepooka, til we shvat the strack of Vesch 6.66a.
91 ms