Hi guys hope you can help me :>)
I have a question on using VI Editor.
I often want to do search and replacements in a text file, and use VI to do this.
For example,
:1,$s/MindMaps...
I am using VIM 7.1 on WXP to make some alterations to a file that is almost 3MB in size. I did remove all asterisks from the file using a global search and replace (%s/*/ /g), but now I need ...
Hi unix gurus
I have a file (test.tx) that when I use vi editor it complains cannot open, I needed to view and change as well - how do I do that - more or less or cat commands allow me to s...
Is there a way to copy lines on top of other lines so that they merge?
For example, my file contains:
xxx zzz
yyy1
yyy2
yyy3
I want shift the yyy's over to th...
How do I insert the copyright symbol ÃÂé in vi ?
Ryan Upton
BE (hons) MBA (adv)
{Links to personal websites removed -- mbizup, Access ZAPE 06-Feb-08}
How do you copy words during a search and replace in vi?
For instance, say every line ends with a word followed by a quote and you need to make a copy of that word after the quote?
Examp...
How would I use vim to quickly commend and uncomment lines?
It just needs to add # to X number of lines from the current line.
The uncomment I could do with regexp (s/^#//), but if there...
How do I get vim to have color when using an ssh client?
I installed CentOS 4.4, booted to a desktop, opened a command line in a window, and then used vi to edit a batch file. It had syntax...
How to replace/insert sting in vi editor say for example
1
2
3
is the contents of a file.now i wan to modify the contents of the file say
insert('1')
insert('2')
insert( '3')
please ...
I am editing a very big log file (1.2million lines) on unix in vi. If I try to delete a lot of lines (e.g. 100000) with the dd command I get the message "Out of register space (ugh)". Does any...
Dear All,
I have two files
One is script file in which I am writing commands to append a text in a normal file.
I want to insert the text on top of the file.
I dont want to use sed and awk...
The query I have is to test a script I must edit an input file in UNIX [an 8 way multi-file] using vi to add in a couple of non-display characters. Then following running a script that transf...
When running Vim 7.1 on Linux, if I edit an HTML file, HTML syntax highlighting and auto-indentation works great. When editing a PHP file, PHP syntax highlighting and auto-indentation works gr...
When I'm working in VI Client it closes with no error. When I atttempt to start it, it logs in ... i get three clicks into it and it closes again. I heard there was a registry fix for this b...