from small one page howto to huge articles all in one place
 

search text in:




Other .linuxhowtos.org sites: www.linuxhowtos.org
toolsntoys.linuxhowtos.org



Last additions:
How to make X listen on port 6000

How to make X listen on port 6000

words:

34

views:

37385

userrating:

average rating: 1.5 (4 votes) (1=very good 6=terrible)


May, 25th 2007:
April, 26th 2007:
Apr, 10th. 2007:
Druckversion . pdf icon
You are here: Tutorials per portage category->app-editors->VI

Please save the file located at this link as vilesson.txt. It will serve as a practice file for vi exercises.


1. Intro

Arguably, the most prolific editor in the world is vi. Available on every UNIX machine (and in its many incarnations also on DOS, OS/2 and other platforms), with the recent Internet explosion, this lean and powerful editor is attracting as much praise as criticism from the cyberspace citizens.


When vi is first started, it expects commands, be it text input, deletions, changes, searches. Following the command, an argument usually needs to be given, for example, following command i (insert text at the cursor), one would type text and then end the command with Escape. For deletion, one would press d and then an argument, for example w for word, or 3w for three words or } which in vi-speak means to the end of the paragraph. If simple mnemonic commands are not sufficient, command line is provided through pressing : (colon). From there long commands can be executed to be applied to ranges of lines in text. Even external programs can be used as filters to process parts of the text.

This particular design model has also allowed the author to make commands easy to remember and easy to deduce once some of them are memorized. This easy inference is necessary in vi since its bandwidth frugality precluded it from having menus.



/* The article above and any accompanying files are freely
* distributable, but please leave this notice and the text intact.
* Home for this document: http://www.infobound.com/vi.html
* Copyright (C) 1994, 1999 Tony Thomas
* Contact author through email:tony@infobound.com
* Last revision Feb 23, 1999
* UNIX is a trademark of X/Open
*/

rate this article:
current rating: no votes yet
Your rating:
Very good (1) Good (2) ok (3) average (4) bad (5) terrible (6)

back
Please read "Why adblockers are bad".



other Ads
Trace My Cash
Wenn Sie sich schon immer mal gefragt haben, wo eigentlich Ihr geliebtes Bargeld geblieben ist, finden Sie hier vielleicht die Antwort.
www.tracemycash.com
Other free services
toURL.org
Shorten long
URLs to short
links like
http://tourl.org/2
tourl.org
.
Reverse DNS lookup
Find out which hostname(s)
resolve to a
given IP or other hostnames for the server
www.reversednslookup.org

New Packages

- as rdf newsfeed
- as rss newsfeed
- as Atom newsfeed
2017-04-29
Gtk2 - 1.249.920
Ebuild name:

dev-perl/Gtk2-1.249.920

Description

Perl bindings for GTK2

Added to portage

2017-04-29

firefox - 52.1.0
Ebuild name:

www-client/firefox-52.1.0

Description

Firefox Web Browser

Added to portage

2017-04-29

firefox - 53.0
Ebuild name:

www-client/firefox-53.0

Description

Firefox Web Browser

Added to portage

2017-04-29

gentoo-systemd-integration - 7
Ebuild name:

sys-apps/gentoo-systemd-integration-7

Description

systemd integration files for Gentoo

Added to portage

2017-04-29

glib-perl - 1.325.0
Ebuild name:

dev-perl/glib-perl-1.325.0

Description

Glib - Perl wrappers for the GLib utility and Object libraries

Added to portage

2017-04-29

libinput - 1.7.1
Ebuild name:

dev-libs/libinput-1.7.1

Description

Library to handle input devices in Wayland

Added to portage

2017-04-29

llpp - 26b
Ebuild name:

app-text/llpp-26b

Description

graphical PDF viewer which aims to superficially resemble less(1)

Added to portage

2017-04-29

meson - 0.40.1
Ebuild name:

dev-util/meson-0.40.1

Description

Open source build system

Added to portage

2017-04-29

petrovich - 1.0.0-r1
Ebuild name:

app-admin/petrovich-1.0.0-r1

Description

Filesystem Integrity Checker

Added to portage

2017-04-29

python-engineio - 1.4.0
Ebuild name:

dev-python/python-engineio-1.4.0

Description

Python implementation of the Engine.IO realtime server.

Added to portage

2017-04-29

rkflashtool - 6.1
Ebuild name:

sys-apps/rkflashtool-6.1

Description

Tool for flashing Rockchip devices

Added to portage

2017-04-29

yarn - 0.21.3-r1
Ebuild name:

sys-apps/yarn-0.21.3-r1

Description

Fast, reliable, and secure node dependency management

Added to portage

2017-04-29

2017-04-28
allin1 - 0.5.0-r2
Ebuild name:

x11-plugins/allin1-0.5.0-r2

Description

All in one monitoring dockapp RAM, CPU, Net, Power, df, seti

Added to portage

2017-04-28

cacti - 1.1.5
Ebuild name:

net-analyzer/cacti-1.1.5

Description

Cacti is a complete frontend to rrdtool

Added to portage

2017-04-28

cacti-spine - 1.1.5
Ebuild name:

net-analyzer/cacti-spine-1.1.5

Description

Spine is a fast poller for Cacti (formerly known as Cactid)

Added to portage

2017-04-28

chromium - 59.0.3071.29
Ebuild name:

www-client/chromium-59.0.3071.29

Description

Open-source version of Google Chrome web browser

Added to portage

2017-04-28

chromium - 60.0.3080.5
Ebuild name:

www-client/chromium-60.0.3080.5

Description

Open-source version of Google Chrome web browser

Added to portage

2017-04-28

ck-sources - 4.10.13
Ebuild name:

sys-kernel/ck-sources-4.10.13

Description

Con Kolivas' high performance patchset and Gentoo's genpatches for Li

Added to portage

2017-04-28

ck-sources - 4.9.25
Ebuild name:

sys-kernel/ck-sources-4.9.25

Description

Con Kolivas' high performance patchset and Gentoo's genpatches for Lin

Added to portage

2017-04-28

cmake - 3.8.0-r1
Ebuild name:

dev-util/cmake-3.8.0-r1

Description

Cross platform Make

Added to portage

2017-04-28

comi - 1
Ebuild name:

games-rpg/comi-1

Description

The Curse of Monkey Island, the third game in the series

Added to portage

2017-04-28

cutecom - 0.40.0-r1
Ebuild name:

net-dialup/cutecom-0.40.0-r1

Description

CuteCom is a serial terminal, like minicom, written in qt

Added to portage

2017-04-28

descent1-data - 1.4a
Ebuild name:

games-action/descent1-data-1.4a

Description

Data files for Descent 1

Added to portage

2017-04-28

descent1-demodata - 1.4-r1
Ebuild name:

games-action/descent1-demodata-1.4-r1

Description

Demo data files for Descent 1

Added to portage

2017-04-28

descent2-data - 1.2
Ebuild name:

games-action/descent2-data-1.2

Description

Data files for Descent 2

Added to portage

2017-04-28

descent2-demodata - 1.0-r1
Ebuild name:

games-action/descent2-demodata-1.0-r1

Description

Demo data files for Descent 2

Added to portage

2017-04-28

descent2-vertigo - 1.0
Ebuild name:

games-action/descent2-vertigo-1.0

Description

Data files for Descent 2 The Vertigo Series

Added to portage

2017-04-28

docker - 17.05.0_rc2
Ebuild name:

app-emulation/docker-17.05.0_rc2

Description

The core functions you need to create Docker images and run Docker

Added to portage

2017-04-28

dxx-rebirth - 0.59.100
Ebuild name:

games-action/dxx-rebirth-0.59.100

Description

Descent Rebirth - enhanced Descent 1 & 2 engine

Added to portage

2017-04-28

eclass-manpages - 20170428
Ebuild name:

app-portage/eclass-manpages-20170428

Description

collection of Gentoo eclass manpages

Added to portage

2017-04-28

etcd - 3.1.6
Ebuild name:

dev-db/etcd-3.1.6

Description

Highly-available key value store for shared configuration and service discovery

Added to portage

2017-04-28

facter - 3.6.4
Ebuild name:

dev-ruby/facter-3.6.4

Description

A cross-platform ruby library for retrieving facts from operating systems

Added to portage

2017-04-28

flask-socketio - 2.8.6
Ebuild name:

dev-python/flask-socketio-2.8.6

Description

Socket.IO integration for Flask applications.

Added to portage

2017-04-28

gramps - 4.2.5
Ebuild name:

app-misc/gramps-4.2.5

Description

Genealogical Research and Analysis Management Programming System

Added to portage

2017-04-28

gsoap - 2.8.45
Ebuild name:

net-libs/gsoap-2.8.45

Description

A cross-platform open source C and C++ SDK for SOAP/XML Web services

Added to portage

2017-04-28

libkgapi - 17.04.0-r1
Ebuild name:

kde-apps/libkgapi-17.04.0-r1

Description

Library for accessing Google calendar and contact resources

Added to portage

2017-04-28

minitest-bonus-assertions - 3.0
Ebuild name:

dev-ruby/minitest-bonus-assertions-3.0

Description

Bonus assertions for minitest

Added to portage

2017-04-28

mupdf - 1.11
Ebuild name:

app-text/mupdf-1.11

Description

a lightweight PDF viewer and toolkit written in portable C

Added to portage

2017-04-28

opera-beta - 45.0.2552.626
Ebuild name:

www-client/opera-beta-45.0.2552.626

Description

A fast and secure web browser

Added to portage

2017-04-28

py-lz4framed - 0.9.6
Ebuild name:

dev-python/py-lz4framed-0.9.6

Description

LZ4Frame library for Python (via C bindings)

Added to portage

2017-04-28

pybitmessage - 0.6.2
Ebuild name:

net-p2p/pybitmessage-0.6.2

Description

P2P communications protocol

Added to portage

2017-04-28

python-engineio - 1.3.2
Ebuild name:

dev-python/python-engineio-1.3.2

Description

Python implementation of the Engine.IO realtime server.

Added to portage

2017-04-28

python-socketio - 1.7.4
Ebuild name:

dev-python/python-socketio-1.7.4

Description

Python implementation of the Socket.IO realtime server.

Added to portage

2017-04-28

sudo - 1.8.20_rc1
Ebuild name:

app-admin/sudo-1.8.20_rc1

Description

Allows users or groups to run commands as other users

Added to portage

2017-04-28

sysbench - 1.0.6
Ebuild name:

app-benchmarks/sysbench-1.0.6

Description

System performance benchmark

Added to portage

2017-04-28

tdb - 1.3.13
Ebuild name:

sys-libs/tdb-1.3.13

Description

A simple database API

Added to portage

2017-04-28

unshield - 1.4.2
Ebuild name:

app-arch/unshield-1.4.2

Description

InstallShield CAB file extractor

Added to portage

2017-04-28

whelk - 2.7.1
Ebuild name:

dev-python/whelk-2.7.1

Description

Pretending python is a shell

Added to portage

2017-04-28

ykpers - 1.18.0
Ebuild name:

sys-auth/ykpers-1.18.0

Description

Library and tool for personalization of Yubico's YubiKey

Added to portage

2017-04-28

yubico-piv-tool - 1.4.3
Ebuild name:

sys-auth/yubico-piv-tool-1.4.3

Description

Command line tool for the YubiKey PIV application

Added to portage

2017-04-28

yubikey-manager - 0.3.2
Ebuild name:

app-crypt/yubikey-manager-0.3.2

Description

Python library and command line tool for configuring a YubiKey

Added to portage

2017-04-28

rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2017 Sascha Nitsch Unternehmensberatung UG(haftungsbeschänkt)
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 5.1 ms
system status display