Uso Vi De Linux, Esta En Ingles

Páginas: 20 (4986 palabras) Publicado: 26 de octubre de 2011
de
Vim Intro: |
This "vi" tutorial is intended for those who wish to master and advance their skills beyond the basic features of the basic editor. It covers buffers, "vi" command line instructions, interfacing with UNIX commands, and ctags. The vim editor is an enhanced version of vi. The improvements are clearly noticed in the handling of tags.
The advantage of learning vi and learningit well is that one will find vi on all Unix based systems and it does not consume an inordinate amount of system resources. Vi works great over slow network ppp modem connections and on systems of limited resources. One can completely utilize vi without departing a single finger from the keyboard. (No hand to mouse and return to keyboard latency)
NOTE: Microsoft PC Notepad users who do not wishto use "vi" should use "gedit" (GNOME edit) or "gnp" (GNOME Note Pad) on Linux. This is very similar in operation to the Microsoft Windows editor, "Notepad". (Other Unix systems GUI editors: "dtpad", which can be found in /usr/dt/bin/dtpad for AIX, vuepad on HP/UX, or xedit on all Unix systems.)

Vim Installation: |
Red Hat / CentOS / Fedora:
rpm -ivh vim-common-...rpmvim-minimal-...rpm vim-enhanced-...rpm vim-X11-...rpm
yum install vim-common vim-minimal vim-enhanced vim-X11
Ubuntu / Debian:
apt-get install vim vim-common vim-gnome vim-gui-common vim-runtime
Compiling Vim from source:
Download vim source from http://vim.org
tar xzf vim-7.0.tar.gz
cd vim70
./configure --prefix=/opt --enable-cscope
make
make install
Basic "vi"features |
One edits a file in vi by issuing the command: vi file-to-edit.txt
The vi editor has three modes, command mode, insert mode and command line mode.
Command mode: letters or sequence of letters interactively command vi. Commands are case sensitive. The ESC key can end a command.
Insert mode: Text is inserted. The ESC key ends insert mode and returns you to command mode. Onecan enter insert mode with the "i" (insert), "a" (insert after), "A" (insert at end of line), "o" (open new line after current line) or "O" (Open line above current line) commands.
Command line mode: One enters this mode by typing ":" which puts the command line entry at the foot of the screen.
Partial list of interactive commands:
Cursor movement:
Keystrokes | Action |
h/j/k/l| Move cursor left/down/up/right |
spacebar | Move cursor right one space |
-/+ | Move cursor down/up in first column |
ctrl-d | Scroll down one half of a page |
ctrl-u | Scroll up one half of a page |
ctrl-f | Scroll forward one page |
ctrl-b | Scroll back one page |
M (shift-h) | Move cursor to middle of page |
H| Move cursor to top of page |
L | Move cursor to bottom of page |
Ww5w | Move cursor a word at a timeMove cursor ahead 5 words |
Bb5b | Move cursor back a word at a timeMove cursor back a word at a timeMove cursor back 5 words |
e5e | Move cursor to end of wordMove cursor ahead to the end of the 5th word |
0 (zero) | Move cursor to beginning ofline |
$ | Move cursor to end of line |
) | Move cursor to beginning of next sentence |
( | Move cursor to beginning of current sentence |
G | Move cursor to end of file |
% | Move cursor to the matching bracket.Place cursor on {}[]() and type "%". Use the matchit or xmledit plug-in to extend this capability to XML/XHTML tags. |
'. | Movecursor to previously modified line. |
'a | Move cursor to line mark "a" generated by marking with keystroke "ma" |
'A | Move cursor to line mark "a" (global between buffers) generated by marking with keystroke "mA" |
]' | Move cursor to next lower case mark. |
[' | Move cursor to previous lower case mark. |
Editing commands:
Keystrokes | Action...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Ingles vi
  • Tarea Ingles Vi
  • Uso Basico Del Computador(Linux)
  • Uso del comando grep linux
  • Montar disco en linux (ingles)
  • uso de imperativos en ingles
  • Uso Del Diccionario De Ingles
  • La Importancia Del Uso Del Ingles

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS