introducción a vim (vimproved) codificadas
TRANSCRIPT
![Page 1: Introducción a Vim (VImproved) Codificadas](https://reader036.vdocumento.com/reader036/viewer/2022062308/55badd64bb61eb05158b47f1/html5/thumbnails/1.jpg)
Introducción a Vim
![Page 2: Introducción a Vim (VImproved) Codificadas](https://reader036.vdocumento.com/reader036/viewer/2022062308/55badd64bb61eb05158b47f1/html5/thumbnails/2.jpg)
Juan Antonio Chávez Valencia
![Page 3: Introducción a Vim (VImproved) Codificadas](https://reader036.vdocumento.com/reader036/viewer/2022062308/55badd64bb61eb05158b47f1/html5/thumbnails/3.jpg)
Antonio ó Toño
![Page 4: Introducción a Vim (VImproved) Codificadas](https://reader036.vdocumento.com/reader036/viewer/2022062308/55badd64bb61eb05158b47f1/html5/thumbnails/4.jpg)
Software Engineer
![Page 5: Introducción a Vim (VImproved) Codificadas](https://reader036.vdocumento.com/reader036/viewer/2022062308/55badd64bb61eb05158b47f1/html5/thumbnails/5.jpg)
![Page 6: Introducción a Vim (VImproved) Codificadas](https://reader036.vdocumento.com/reader036/viewer/2022062308/55badd64bb61eb05158b47f1/html5/thumbnails/6.jpg)
https://github.com/TheNaoX
Me gusta escribir código open source:
https://github.com/TheNaoX/vimtutor
![Page 7: Introducción a Vim (VImproved) Codificadas](https://reader036.vdocumento.com/reader036/viewer/2022062308/55badd64bb61eb05158b47f1/html5/thumbnails/7.jpg)
Tengo twitter y toda la cosa, pero es mas divertido el face…
@The_NaoX
fb.me/TheNaoX
![Page 8: Introducción a Vim (VImproved) Codificadas](https://reader036.vdocumento.com/reader036/viewer/2022062308/55badd64bb61eb05158b47f1/html5/thumbnails/8.jpg)
![Page 9: Introducción a Vim (VImproved) Codificadas](https://reader036.vdocumento.com/reader036/viewer/2022062308/55badd64bb61eb05158b47f1/html5/thumbnails/9.jpg)
Ya estuvo…
![Page 10: Introducción a Vim (VImproved) Codificadas](https://reader036.vdocumento.com/reader036/viewer/2022062308/55badd64bb61eb05158b47f1/html5/thumbnails/10.jpg)
Hablemos de Vim
![Page 11: Introducción a Vim (VImproved) Codificadas](https://reader036.vdocumento.com/reader036/viewer/2022062308/55badd64bb61eb05158b47f1/html5/thumbnails/11.jpg)
1991
Editor de texto
Bram Moolenar
![Page 12: Introducción a Vim (VImproved) Codificadas](https://reader036.vdocumento.com/reader036/viewer/2022062308/55badd64bb61eb05158b47f1/html5/thumbnails/12.jpg)
Altamente configurable
![Page 13: Introducción a Vim (VImproved) Codificadas](https://reader036.vdocumento.com/reader036/viewer/2022062308/55badd64bb61eb05158b47f1/html5/thumbnails/13.jpg)
https://github.com/carlhuda/janus
![Page 14: Introducción a Vim (VImproved) Codificadas](https://reader036.vdocumento.com/reader036/viewer/2022062308/55badd64bb61eb05158b47f1/html5/thumbnails/14.jpg)
Eficiencia
![Page 15: Introducción a Vim (VImproved) Codificadas](https://reader036.vdocumento.com/reader036/viewer/2022062308/55badd64bb61eb05158b47f1/html5/thumbnails/15.jpg)
![Page 16: Introducción a Vim (VImproved) Codificadas](https://reader036.vdocumento.com/reader036/viewer/2022062308/55badd64bb61eb05158b47f1/html5/thumbnails/16.jpg)
Instalación
![Page 17: Introducción a Vim (VImproved) Codificadas](https://reader036.vdocumento.com/reader036/viewer/2022062308/55badd64bb61eb05158b47f1/html5/thumbnails/17.jpg)
$ sudo apt-get install vimUbuntu
Open SUSE
$ sudo zypper install vim
$ sudo yum install vim
Fedora
Mac OS X
$ brew install vim
![Page 18: Introducción a Vim (VImproved) Codificadas](https://reader036.vdocumento.com/reader036/viewer/2022062308/55badd64bb61eb05158b47f1/html5/thumbnails/18.jpg)
Es un editor modal
Inserción de texto
Visual
Linea de comandos
![Page 19: Introducción a Vim (VImproved) Codificadas](https://reader036.vdocumento.com/reader036/viewer/2022062308/55badd64bb61eb05158b47f1/html5/thumbnails/19.jpg)
Manos a la obra
![Page 20: Introducción a Vim (VImproved) Codificadas](https://reader036.vdocumento.com/reader036/viewer/2022062308/55badd64bb61eb05158b47f1/html5/thumbnails/20.jpg)
$ vim
![Page 21: Introducción a Vim (VImproved) Codificadas](https://reader036.vdocumento.com/reader036/viewer/2022062308/55badd64bb61eb05158b47f1/html5/thumbnails/21.jpg)
Cambiar entre modos
i => Modo inserción de texto
<esc> => Regresar modo visual
: => Línea de comandos
![Page 22: Introducción a Vim (VImproved) Codificadas](https://reader036.vdocumento.com/reader036/viewer/2022062308/55badd64bb61eb05158b47f1/html5/thumbnails/22.jpg)
h j k l
Movimientos
![Page 23: Introducción a Vim (VImproved) Codificadas](https://reader036.vdocumento.com/reader036/viewer/2022062308/55badd64bb61eb05158b47f1/html5/thumbnails/23.jpg)
Comandos
y => Copiar selección
p => Pegar selección
d => Eliminar selección
v => Seleccionar
![Page 24: Introducción a Vim (VImproved) Codificadas](https://reader036.vdocumento.com/reader036/viewer/2022062308/55badd64bb61eb05158b47f1/html5/thumbnails/24.jpg)
r => Reemplazar letra/selección
x => Borrar letra
Comandos
u => Deshacer<ctrl> + r => Rehacer
![Page 25: Introducción a Vim (VImproved) Codificadas](https://reader036.vdocumento.com/reader036/viewer/2022062308/55badd64bb61eb05158b47f1/html5/thumbnails/25.jpg)
o => Escribir en nueva linea
:w => Guardar
Comandos
:q => Salirw => Saltar siguiente palabra
![Page 26: Introducción a Vim (VImproved) Codificadas](https://reader036.vdocumento.com/reader036/viewer/2022062308/55badd64bb61eb05158b47f1/html5/thumbnails/26.jpg)
0 => Inicio de línea
$ => Final de linea
Comandos
^ => Inicio de línea (relativo)
f => Buscar caracter
![Page 27: Introducción a Vim (VImproved) Codificadas](https://reader036.vdocumento.com/reader036/viewer/2022062308/55badd64bb61eb05158b47f1/html5/thumbnails/27.jpg)
gg => Inicio de archivo
G => Final de archivo
Comandos
<ctrl> + u => Scroll arriba
<ctrl> + d => Scroll abajo
![Page 28: Introducción a Vim (VImproved) Codificadas](https://reader036.vdocumento.com/reader036/viewer/2022062308/55badd64bb61eb05158b47f1/html5/thumbnails/28.jpg)
/ => Buscar
n => Siguiente coincidencia
Comandos
N => Coincidencia anterior
:e => Abrir archivo
![Page 29: Introducción a Vim (VImproved) Codificadas](https://reader036.vdocumento.com/reader036/viewer/2022062308/55badd64bb61eb05158b47f1/html5/thumbnails/29.jpg)
<ctrl> + w + b => Split vertical
<ctrl> + w + (h,j,k,l) => Mover entre splits
Comandos
<ctrl> + w + T => Abrir archivo en nueva tab
gt => Cambiar tab
![Page 30: Introducción a Vim (VImproved) Codificadas](https://reader036.vdocumento.com/reader036/viewer/2022062308/55badd64bb61eb05158b47f1/html5/thumbnails/30.jpg)
1. Vimtutor
2. VimBook. http://ftp.vim.org/pub/vim/doc/book/vimbook-OPL.pdf
Guias de estudio
3. Vim Graph lessonshttp://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial.html
![Page 31: Introducción a Vim (VImproved) Codificadas](https://reader036.vdocumento.com/reader036/viewer/2022062308/55badd64bb61eb05158b47f1/html5/thumbnails/31.jpg)
¡Gracias!
@the_naox
http://antoniochavez.com
http://blog.antoniochavez.com