Solved

having trouble with vi editor

Posted on 2013-01-04
3
309 Views
Last Modified: 2013-01-04
I am using vi editor to edit file on the UNIX server. In vi editor x deletes a character and dd deletes a whole line.

Sometimes both x and dd work for me and sometimes when I hit x it just types in 'x' character. How do i switch back and forth between being able to type and using UNIX shortcuts?
0
Comment
Question by:YZlat
  • 2
3 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 125 total points
ID: 38745057
Hit <ESC> for command mode, <i> for insert mode, <r> for replace mode, <ESC>: to go to command line.
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 38745065
Sorry, <R> for replace mode.
0
 
LVL 35

Author Closing Comment

by:YZlat
ID: 38745074
Thanks!
0

Featured Post

ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

809 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