|
Aziz's ode to VimSome of my colleagues ask, "hey, what is the big deal about an editor? it is something trivial, what you do with it is more important..". True, what we do with an editor is much more important than the editor itself. But an editor is something basic, not something trivial. I would like to have a tremendous control at my fingertips when I work. This is where one editor compares with others. In this aspect, I can't think of an editor which can beat Vim. This entire website was developed with Vim. Perhaps I should say more - why I love Vim so much. I love vim because it makes me so powerful. Actually, I philandered with several editors before I happily settled down with Vim. Read more about my experiences with text editors. Vim novice? Here are some tips on getting started on vim. (has details on downloading/installing as well). MacrosSort according to a column I find this one pretty useful when I have data organized in columns and I would like to sort according to one column. The columns could be separated by space or any other character. Usage : " Sort lines treating the entire line as one string
Inserting numbers Insert
numbers in any column by visually selecting that column and typing
Find file Find the location
of a file from within vim. VHDL/Verilog and VimVHDL macros In my previous job, most of my work involved editing VHDL code and these macros come in very handy. These days I am with verilog (verilog macros coming soon). Changing case of VHDL files Here are two commands to change the reserved words and attributes in VHDL to all lower or all upper. Commented words don't get changed. Please note that this works only when syntax is on.
|