Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

vim and syntax highlighting

Status
Not open for further replies.

Minora

Technical User
Dec 30, 2000
17
ZA
Hi

I just started to use vim.
Does anyone know of a web site that has a tutorial that shows how to use the COBOL syntax highlighting in vim.

when I start my first line of code I have to press tab to get to colum 8 but the problem is it highlights the entire line from column 1 to 8 and everything I type there after in red (the whole line is highlighted as a red block.). When it does this the indicator on the bottom of the screen displays "1,2-9".

after I typed procedure division and press tab to indent my code it works for the first line but every line after that when I press enter to go to the next line this red block will form and the only way to get rid of it it is to use backspace and delete in and then use the space bar to move to the desired collumn

Is there any other freeware editors available that works well with COBOL ? I want to learn vim but right now I need to study for my exams so a windows based editor will help a lot I tried a lot so far but most is geared towards other languages like java etc. The reason I need a separate editor is because MF personal cobol uses 100% cpu resources when using its IDE that is bad new for notebook battery life.

Thanks

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top