Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Configuring 'vi' options

Posted on 1999-07-27
5
Medium Priority
?
223 Views
Last Modified: 2013-12-13
How do I configure 'vi'? I'd like to make it exhibe the line the cursor is on in the bottom, as long as info suach as which edition mode is the current, etc...

How do I do that?

[]'s,

Diogo.
0
Comment
Question by:EatEmAndSmile
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 

Expert Comment

by:Leimy
ID: 1635826
when in vi type the following

: set all

this will show you the available options for setting in vi.

you can set any of these vi options in your home directory in a file called ".exrc"
this works like an ini file in windows and is a configuration file.

hope that helps

Dave
0
 
LVL 2

Author Comment

by:EatEmAndSmile
ID: 1635827
Still don't show anything...
0
 
LVL 2

Author Comment

by:EatEmAndSmile
ID: 1635828
Ok, how do I make it just appear?
0
 
LVL 2

Accepted Solution

by:
guiyu earned 40 total points
ID: 1635829
Assuming you are using vim, then edit your vim preference file

      ~/.vimrc

to contain the line
      set ruler

If you wish, download a full vim settings file from:

http://www.math.fu-berlin.de/~guckes/setup/vimrc.gz

and see how it sets the various features. (This file contains plenty of helpful comments)
0
 
LVL 2

Author Comment

by:EatEmAndSmile
ID: 1635830
Now that's the kind of answer I like! Thank you very much, here are you well deserved points.

Later!
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question