12-18-2014
Generally, vi is configured by $HOME/.exrc (vi stands for visual ex, where the : part is ex). Steal a good one or lean out some of the stuff in yours. You can see options with ":se" which is akin to shell comand 'set -o', and displays if not given anything to set/unset. If your vi is vim, $HOME/..vimrc can hide $HOME/..exrc, so be careful.
The UNIX School: What is .exrc file for?
[Chapter 7] Advanced Editing
if vim:
A Good Vimrc
Last edited by DGPickett; 12-18-2014 at 04:58 PM..
This User Gave Thanks to DGPickett For This Post:
10 More Discussions You Might Find Interesting
1. Solaris
I want to install VIM 7.0 from sunfreeware.com onto a server.
The security guys are giving me a hard time because they found this security vulnerability.
http://xforce.iss.net/xforce/xfdb/6259
This vulnerability came out in 2001, and it looks like it was mostly for linux, but I cant be... (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies
2. UNIX for Dummies Questions & Answers
I use vim for writing code. I was using nano but found that vim is a much advanced editor. I am trying to achieve something like this:
When trying a loop or a function, I generally type:
function name() {}
Now when I take my cursor one position to the left and press the return key, it give... (4 Replies)
Discussion started by: Legend986
4 Replies
3. UNIX for Advanced & Expert Users
Hello,
what is the maximum size of a file that we can open using vim. (3 Replies)
Discussion started by: nagalenoj
3 Replies
4. UNIX and Linux Applications
How do I use compilers and syntax highlighting in (g)Vim?
Specifically, I need a Common Lisp compiler and a C++ compiler.
Thanks in advance!
(Note: Disregard my other topic.) (1 Reply)
Discussion started by: led3234
1 Replies
5. UNIX for Advanced & Expert Users
Does anyone know the fast way to go to tab/2 distance in vim.
I mean set four spaces. (1 Reply)
Discussion started by: mirusnet
1 Replies
6. UNIX for Dummies Questions & Answers
What is the appropriate command should i use to insert a character(example A) in front of line 1 to line 200...Pls help (7 Replies)
Discussion started by: 793589
7 Replies
7. UNIX and Linux Applications
Hi
I tried to install vim7.2 in solaris 10 x86 , installation completed but not able to get vim to be use.
dependency binary: gtk+ , glib & ncurses
install dependency binary package and then install vim7.2.
#pkgadd -d vim-7.2-sol10-x86-local
$ pkginfo SMCvim
application SMCvim vim
... (4 Replies)
Discussion started by: bangbong
4 Replies
8. UNIX for Dummies Questions & Answers
I always used pico as a text editor in Terminal or SSH. But what is the advantages/disadvantages between vim and pico? (7 Replies)
Discussion started by: timgolding
7 Replies
9. Solaris
I downloaded vim.7.2 and compiled the vim source .
Added the vim binary path to PATH (Because iam not the root of the box)
when i load the file using vim it throws me an error
Error detected while processing /home2/e3003091/.vimrc:
line 2:
E185: Cannot find color scheme darkblue
line... (0 Replies)
Discussion started by: girija
0 Replies
10. UNIX for Advanced & Expert Users
Can someone please tell me what this does?
:f word
I thought that was the way to save files with a different name but after a quick google search I saw it was like this.
:w filename (4 Replies)
Discussion started by: cokedude
4 Replies
LEARN ABOUT OSX
httppower
httppower(8) powerman httppower(8)
NAME
httppower - communicate with HTTP based power distribution units
SYNOPSIS
httppower [--url URL]
DESCRIPTION
httppower is a helper program for powerman which enables it to communicate with HTTP based power distribution units. It is run interac-
tively by the powerman daemon.
OPTIONS
-u, --url URL
Set the base URL.
INTERACTIVE COMMANDS
The following commands are accepted at the httppower> prompt:
auth user:pass
Authenticate to the base URL with specified user and password, using ``basic'' HTTP authentication which sends the user and password
over the network in plain text.
seturl URL
Set the base URL. Overrides the command line option.
get [URL-suffix]
Send an HTTP GET to the base URL with the optional URL-suffix appended.
post [URL-suffix] key=val[&key=val]...
Send an HTTP POST to the base URL with the optional URL-suffix appended, and key-value pairs as argument.
FILES
/usr/sbin/httppower
/etc/powerman/powerman.conf
ORIGIN
PowerMan was originally developed by Andrew Uselton on LLNL's Linux clusters. This software is open source and distributed under the terms
of the GNU GPL.
SEE ALSO
powerman(1), powermand(8), httppower(8), plmpower(8), vpcd(8), powerman.conf(5), powerman.dev(5), powerman-devices(7).
http://sourceforge.net/projects/powerman
powerman-2.3.5 2009-02-09 httppower(8)