LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 11-27-2005, 07:40 PM   #1
funkymunky
Member
 
Registered: Jun 2003
Location: Austin, Texas
Distribution: Fedora Core 8, 32-bit
Posts: 126

Rep: Reputation: 15
Unhappy Vim: Starting line numbers from 0


hi everyone,

Ive been using vim to write hex files and assembly code, when i type ":set number" in Vim, it shows line numbers starting from 1 for the 1st line. But what id like is that the 1st line should be labelled '0', i.e, the line numbers should start from 0. Is there a way of doing this in Vim?

thanks in anticipation,
Mayank
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i show line numbers in kdevelop? ereeno Linux - Software 3 12-17-2008 03:16 AM
Prepend # for certain line numbers in VI twantrd Linux - Software 3 09-05-2005 02:27 PM
printing line numbers? fisheromen1031 Programming 1 07-27-2004 03:19 PM
How to count line numbers recursively in a directory? puzz_1 Linux - General 1 07-01-2004 10:43 AM
line numbers in kdevelop febisfebi Programming 1 02-18-2004 08:45 PM


All times are GMT -5. The time now is 04:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration