Craeating a sequence in calc.

Creating a numberd list in the calc with alphabets can be really tiresome sometimes. I found a simple solution to this. Create the numbered list in vim and then paste it into calc. Here\’s how I do it:

Open vim

type the first in sequence (ex Amit_aga_001)

Follow the below sequence to create a macro:


[Atl]+q+(any alphabet say \’a\’)  — this will start recording the macro

yy  – yank the current line

p — paste the current line

$ — go to end

[Ctrl]+a — increment the number by one

[Alt]+q — stop recording

Now type (in figures the count of lines you want) \’@a\’

and you are done.. Simply copy paste the sequence here to calc.

Feel free to suggest if there are better ways. I am definately looking for one.

3 thoughts on “Craeating a sequence in calc.”

  1. Pingback: Amit Agarwal
  2. Pingback: Amit Agarwal

This site uses Akismet to reduce spam. Learn how your comment data is processed.