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 Possibly
But it would open up the discussion for how you do it alternatively, and I'd say you were using it as a programmable editor at that point, and accomplishing the task.

I might tell you how to do it in your editor of choice, though, to earn a few "Yeah, I know shit and you don't points, and this is a technical interview, so start shining".

Note: This will only work with gvim. The functionality showed up when Brad Mooloneier? (not looking it up) went from character mode (others ways, I'm giving you the visual path) to graphical. So don't use it in default unix vi (it sucks, install vim/gvim as soon as you experience a system that has it).

:set nowrap (if wrapped)

If it is tab delimited data, set your tab stops to wider than the widest field.
:set ts=100 (or whatever)

^V (highlight phase).
Move around with cursor.
y (there are many possible alternatives here since you get to choose any of the named alphabetic (you got 26 you play with, use them well) cut/copy buffers in vim, but a lowercase 'y' will simply throw it into the default buffer)

At that move, hit 'p', and watch the magic. Note: Many settings will affect how it does it, in code VS data and if it is in any type of autoindent mode.

I had a boss that was an old "typsetter". You met him at the wedding. He had a piece of the Village Voice. Really. He used workstations for layout which had an editor. This editor then got ported to MS-DOS and others.

xywrite.

He would do the most ridiculous transformations via a series of search and replaces. It was amazing. And error prone. My 1st task was to remove all macros he ran and put them in a coded production script.
New Meh.
I do data work in Emacs all the time and as far as columnar moves go couldn't tell you anything beyond "go look it up on teh Googlez".

Ask me to show you how to transform something in a list of files, though, and yeah I'll show you some shit... ;-)
Regards,
-scott
Welcome to Rivendell, Mr. Anderson.
New Yes, we've had this discussion
Doesn't matter.
And not like I'm recruiting or hiring right now, so it really doesn't matter.
     How I wish thee were not around... - (folkert) - (20)
         notepad++ is your friend for copypasta to commandline - (boxley) - (18)
             Found a limitation of Notepad++ - (Another Scott) - (17)
                 Classic interview questions - (crazy) - (16)
                     I always use regexes in vim ... would that be a flag? - (drook) - (3)
                         Possibly - (crazy) - (2)
                             Meh. - (malraux) - (1)
                                 Yes, we've had this discussion - (crazy)
                     I don't want anything to do with excel - (boxley)
                     Heh, in all honesty - (jake123) - (10)
                         Oh, how 70s/early 80s of you - (crazy) - (9)
                             The thing for me - (jake123) - (2)
                                 Hehe - (crazy) - (1)
                                     Nice turn of phrase :) -NT - (jake123)
                             I'd rather use something readable, like Python - (malraux) - (5)
                                 Or Ruby. -NT - (static) - (1)
                                     Note where I said "explicit" - (malraux)
                                 Sad, but I agree - (crazy) - (2)
                                     I'm using it to build a complicated site right now - (malraux) - (1)
                                         You misunderstood - (crazy)
         Beat me to it... - (malraux)

What exactly do you expect it to do, halt and catch fire?
92 ms