Sponsored Content
Full Discussion: Vim tips and tricks
Top Forums UNIX for Beginners Questions & Answers Vim tips and tricks Post 302525996 by ifthanwhile on Monday 30th of May 2011 03:10:45 AM
Old 05-30-2011
This thread is a little old, I hope I dont have to make a new one for this.

On most systems the arrow keys will give you control of the cursor, however when I was first learning my arrow keys just stopped working in vim. I found the solution somewhere and it was just a simple command to run before using vim every day so i added it to my .profile and forgot about it. Now I am miles away from my work computer so have no way to look it up, so if someone knows what I am talking about and can clarify or at least post the command I think that would make a great addition to this thread. I will try to find it and post it here. If no one beats me to it.

As a new user that almost made me want to give up, I couldn't scroll and so for me there was nothing better than cat.
 

6 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

tar tricks

Hello there, Is there anyway to make the tar utility print the contents of the files inside it (not list the files, but rather their contents) sequentially from the command line? What I ultimately would like to do is to have a way of printing the contents of each file in the tar archive... (2 Replies)
Discussion started by: neked
2 Replies

2. Shell Programming and Scripting

need couple of ksh tricks please

1) I ran myScript with 2 arguments, I meant to use 3 if I do r my, it will rerun it with the 2 arguments. is there a way I can do r my and add a third argument at the end? 2) say I did myAcript.ksh 2 5 7 8 I realise my typo. is there an easy way to redo the command replacing A with S? ... (4 Replies)
Discussion started by: JamesByars
4 Replies

3. Post Here to Contact Site Administrators and Moderators

Solaris tips and tricks

What do you think could we open new top topic with tips and tricks and to show to other users some tricks what do we know like dtrace , new virtual server , how to add new users etc. This is only suggestion (1 Reply)
Discussion started by: solaris_user
1 Replies

4. UNIX for Dummies Questions & Answers

Sed Tricks

I have a file which containd a string "old" and I need to replace all old with "new" if and only if it is a string not part of a string like Gold or fold etc. I tried with sed like below echo "old gold old" | sed 's/old/new/g' It doesn't give the desired output, It give "old Gnew new".... (3 Replies)
Discussion started by: siba.s.nayak
3 Replies

5. Solaris

Very Importan - Vim Settings - Error while opening a File using vim

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

6. UNIX for Advanced & Expert Users

Basic VI tricks

I found a decent guide of VI basic tricks. This guide does expect you to have a decent understanding of VI. It does not go over very much beginner related. vi Manual (3 Replies)
Discussion started by: cokedude
3 Replies
COLRCONV(1)						      General Commands Manual						       COLRCONV(1)

NAME
colrconv - hamradio convers client with sound and ncurses color support SYNOPSIS
colrconv [options] <host> [<service>] DESCRIPTION
This manual page documents briefly the colrconv commands. This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. Colrconv is a modified version of VA3DP's ttylink client. In addition to the basic split screen session it gives you color and sound sup- port plus some line editing capabilities, a scroll buffer and a status line. Also the default service is changed to 3600 (convers). A new color is assigned to each user the first time he sends text and this color is used when displaying any subsequent text from this user. Available colors are green, yellow, cyan, magenta, blue and red. These are used twice, the second time with BOLD attribute on. After the colors run out they are used again. Bold red is reserved for special messages (starting with ***) and for private messages (eg. <*oh2bns*>: Hello!). Colrconv plays certain sound files when it receives text from the convers bridge. The files are: callsign.au (eg. oh2bns.au), unknown.au, signedon.au says.au and pingpong.au. This feature is still a bit experimental and only works with older convers servers. Also you have to make your own .au file. The rsynth package is good at this. See the readme for details. Sound files should go into /usr/lib/colrconv. OPTIONS
-nocolor Start colrconv in black and white, even if terminal has color support. -c channel Connect to channel number 'channel' at startup. -n name Send a '/n name' when connected. When -n is omitted the user's login name is used. LINE EDITING COMMANDS
Ctrl-A Goto beginning of line. Ctrl-B and Left arrow Go one character backward. Ctrl-D Delete character under cursor. Ctrl-E Goto end of line. Ctrl-F and Right arrow Go one character forward. Ctrl-K Kill from cursor to end of line (and store to kill buffer). Ctrl-L Repaints the whole screen. Ctrl-N and Down arrow Scroll Down. Ctrl-P and Up arrow Scroll Up. Ctrl-R Reprint current line. Ctrl-U Delete current line in total. Ctrl-W Erase last word. Ctrl-Y Yank kill buffer. The scroll buffer can be browsed with arrow keys Up and Down (or Ctrl-P and Ctrl-N), PageUp, PageDown, Home and End keys. FILES
If ~/.conversrc exists, it is sent to the server after logging in. Handy for automatically sending commands like /notify, /who, etc. SEE ALSO
/usr/share/doc/colrconv/README.colrconv. AUTHOR
This manual page was written by Joop Stakenborg <pa3aba@debian.org>, for the Debian GNU/Linux system (but may be used by others). COLRCONV(1)
All times are GMT -4. The time now is 02:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy