Custom Search
Bloggers Activos
Validación y mensajes de error en CakePHP aarkerio
Al mejor postor, órganos humanos en México tonathiu
10 comandos mas usados mandrake
Instalando NetBeans 6.1 en Linux thot
Y que me traigan mas botellas!!! vendaval
Instalación Rápida de Karamelo thot
Cautionary vendaval
Restarle Fecha-N' dias mandrake
Computacion Humana Distribuida (Soylent Grid) vendaval
Something Stupid vendaval
Last Download
Segunda Fundación
Segunda Fundación
KDE 4.1 on SID
aarkerio
1999-2008
aarkerio
DragonFly BSD 2.0
vendaval
Libro del maestro RIUS: ¿Sería católico Jesucristo?
tonathiu
Backtrack 3
xhaman
5to.Base de Datos
rnstux
Merecia la portada.
vendaval
Lo que sigue
aarkerio
La UNAM avanza 8 Lugares en el ranquin mundial de paginas web.
saidjose
1era. Tarea.Base de datos
rnstux
Google Groups Karamelo
Visit this group
GNU/Linux
GNU/Linux
Hacktivismo
Hacktivismo
Debian
Debian
NetBSD
NetBSD
WWW
WWW
Guia Linux
Guia Linux
Server Side
Server Side
Ofimatica
Ofimatica
Despabilando...
Despabilando...
Mundo Maya
Mundo Maya
Literatura
Literatura
Agora
Agora
Psicologia
Psicologia
Economia
Economia
Ambientalismo
Ambientalismo
Desarrollo
Desarrollo
Biologia
Biologia
Comercio Justo
Comercio Justo

Hacktivism

LinuxChix button

Hacktivismo \ Combinaciones de teclas en Emacs
Hacktivismo
Combinaciones de teclas en Emacs

Este artículo ha sido consultado en 588 ocasiones.

Emacs es un poderoso editor utilizado tanto por desarolladores de Java, C#, Ruby o PHP como por escritores, científicos y editores. Revise esta entrada para conocer más sobre emacs.

Hay que hacer notar que C-x significa Control-X mientras M-x significa Meta-X donde "meta" se refiere a la tecla Alt ubicada en el lado izquierdo del teclado. La tecla Space se refiere a la barra espaciadora.

Cuando se da una palabra en lugar de combinación quiere decir que hay que pulsar M-x antes.

Estas combinaciones estan extraídas del libro Unix in a Nutshell. La primera columna muestra la combinación de teclas, la segunda el nombre de la función en inglés y la tercera da una breve descripción. Consulte el original en inglés aqui.

  1. Combinaciones para manejar archivos

    C-x C-f ___-__find-file _______________-_ Encuentra y lee el archivo.
    C-x C-v ___-__find-alternate-file ________-_Lee un archivo diferente.
    C-x i _____-__insert-file _______________-Inserta un archivo en la paosición actual del cursor
    C-x C-s __-__ save-buffer ______________Guardar el buffer actual
    C-x C-w _----_write-file _____________---__"Guardar como", guarda el buffer con un nombre diferente.
    C-x C-c ___---save-buffers-kill-emacs ___-_ Guardar todos los buffers y salir.
    C-z ________suspend-emacs _____-_ ___Suspender emacs.

  2. Combinaciónes para navegar por el buffer

    C-f ------- forward-char ----------------Mueve el cursor un caracter hacia adelante.
    C-b ------- backward-char ------------Mueve el cursor un caracter hacia atrás.
    C-p --------pvious-line -----------------Sube el cursor una línea.
    C-n --------next-line --------------------Bajar el cursor una línea.
    M-f ---------forward-word --------------Move to the next word. (words are defined by whitespace/special characters.)
    M-b --------backward-word -----------Move to the pvious word.
    C-a --------beginning-of-line ---------Move to the beginning of the line.
    C-e --------end-of-line -----------------Mover el cursor al final de la linea.
    M-a ------- backward-sentence -----Mover al cursor atrás una sentencia.
    C-v --------scroll-up ------------------- Sube una pantallas.
    M-v --------scroll-down ----------------Baja una pantalla
    C-x [ ------backward-page -----------Go back one page.
    C-x ] ------forward-page --------------Go forward one page.
    M-> -------end-of-buffer ---------------Ir al final del buffer.
    M-< -------beginning-of-buffer ------Move to beginning of the current buffer.
    C-l --------recenter ---------------------Redraw the screen with the current line in the center.
    M-(a number) digit-argument ------Do the next command (a number) of times.

  3. Combinaciones de borrado

    Del -----------backward-delete-char ----- Borra el caracter previo.
    C-d ----------delete-char -------------------- Delete the character under the cursor.
    M-Del --- ----backward-kill-word ----------Borra la palabra previa.
    C-k -----------kill-line---- ---------------------Borra toda la líena actual del cursor
    M-k -----------kill-sentence ------------------Borra la palabra en el cursor
    C-x Del ------backward-kill-sentence ----Delete the pvious sentence.
    C-y -----------yank ------------------------------Restore deleted text at cursor.
    C-w ----------kill-region ----------------------Borra región marcada
    backward-kill-paragraph -------------------Delete the pvious paragraph.
    kill-paragraph ---------------------------------Delete from the cursor to the end of the paragraph.

  4. Párrafos y regiones

    C-@ ---------set-mark ---------------------------Mark the beginning (or end) of a region.
    C-Space ---set-mark ---------------------------Ibid.
    C-x C-p -----mark-page ----------------------- Marca la página actual.
    C-x C-x -----exchange-point-and-make ---Exchange the location of the cursor and the mark.
    C-x h --------mark-whole-buffer --------------Mark the current buffer.
    M-q ----------fill-paragraph ---------------------Reset the paragraph.
    M-g ----------fill-region --------------------------Reformat individual paragraphs with region.
    M-h ----------mark-paragraph ----------------Mark select paragraph.

  5. Combinaciones para deshacer (undo)

    C-g ----------- ----keyboard-quit --------Stop current command Now!
    C-x u---------- ----advertised-undo ----Deshacer la última edición
    revert-buffer --------------------------------Return the buffer to the state when last autosaved.

  6. Comandos de transposición

    C-t ------------transpose-chars ------Cambia dos letras.
    M-t -----------transpose-words ------Switch two words.
    C-x C-t ------transpose-lines --------Switch two lines.
    transpose-sentences ----------------Switch two sentences.
    transpose-paragraphs --------------Switch two paragraphs.

  7. Combinaciones de capitalización

    M-c ------------capitalize-word ----------Capitalize the first letter of the current word.
    M-u ------------upcase-word ------------Pone la palabra en mayúsculas.
    M-l -------------downcase-word ------- Pone la palabra en minúsculas
    C-x C-l --------downcase-region ------Cambia toda la region a minúsculas.
    C-x C-u -------uppercase-region ------Cambia toda la region a mayúsculas.

  8. Combinaciones de búsqueda

    C-s ---------isearch-forward -----------Start an incremental search forward.
    C-r ---------isearch-backward ---------Starts an incremental search in the reverse direction.
    Meta -----------------------------------------Stop a successful search.
    C-g ---------keyboard-quit --------------Stop searching and return to the starting point.
    Del -------------------------------------- ----Delete an incorrect character whilst searching.

  9. Combinaciones para abreviación de palabras

    abbrev-mode -------------------------------------------- Enter abbreviation mode.
    C-x - inverse-add-global-abbrev --------------------Type in a global abbreviation, then its meaning.
    C-x C-h ---------inverse-add-local-abbrev ---------Type in a local abbreviation, then its meaning.
    unexpand-abbrev ---------------------------------------Undo the last word abbreviation.
    write-abbrev-file -----------------------------------------Write out the word abbreviation file.
    edit-abbrevs ----------------------------------------------Edit the current word abbreviations.
    list-abbrevs -----------------------------------------------View the current word abbreviations.
    kill-all-abbrevs -------------------------------------------Kill any abreviations for this session.

  10. Combinaciones para gestión de buffers

    C-x b ------------switch-to-buffer ---------Moverse al buffer especificado (use flechas para hojear los buffers abiertos).
    C-x C-b ---------list-buffers ----------------Display the list of currently active buffers.
    C-x k ------------kill-buffer ------------------Cierra el buffer actual
    kill-some-buffers ---------------------------Ask about deleting each buffer currently active.
    rename-buffer -------------------------------Rename the current buffer to something else.
    C-x s--------- save-some-buffers -------Ask whether to save each modified buffer

  11. Combinaciones para desplegar las ventanas

    C-x 2 ---------split-window-horizontally----- ------------------Divide the current window horizontally in two.
    C-x 5 ---------split-windws-vertically ---------------------------Divide the current window vertically in two.
    C-x > ---------scroll-right ------------------------------------------Scroll the window right.
    C-x < ---------scroll-left --------------------------------------------Scroll the window left.
    C-x 0 ---------delete-window -------------------------------------Delete the current window.
    C-x 1 ---------delete-other-windows ---------------------------Delete all the windows except this one.
    delete-windows-on -----------------------------------------------Delete all windows open to a particular buffer.
    C-x ^ ---------enlarge-window ------------------------------------Make the current window taller.
    shrink-window ------------------------------------------------------Make the current window smaller.
    C-x } ---------enlarge-window-horizontall--------------------- Make the window wider.
    C-x { ---------shrink-window-horizontally ----------------------Make the window less wide.
    M-C-v ---------scroll-other-window ------------------------------Scroll the other window.
    C-x 4 f ---------find-file-other-window ---------------------------Find a file in the other window.
    C-x 4 b s---------witch-to-buffer-other-window ---------------Select a buffer in the other window.
    compare-windows -------------------------------------------------Compare two buffers and show the first difference.

  12. Caracteres especiales

    shell ------------------------------------------------ iInicia un buffer de shell.
    C-c C-c -------interrupt-shell-subjob --------Terminate the current job in a shell.
    C-c C-d -------send-shell-eof -----------------Send the EOF character (Ctrl-d)
    C-c C-u -------kill-shell-input ------------------Erase the current line.
    C-c C-w -------backward-kill-word -----------Erase the pvious word.
    C-c C-z -------stop-shell-subjob -------------Suspend the current shell job.

  13. Combinaciones para la identación

    C-x -------------set-fill-pfix --------------------Append each line in paragrph with characters from beginning of the line up to the current
    cursor column. cancel by doing this in column 1.
    M-C-\ ----------indent-region ---------------Indent a region to match the first line in region.
    M-m -----------back-to-indentation -------Move the cursor to first character in line.
    M-C-o ---------split-line ---------------------Split line at cursor into two lines... weird.
    fill-individual-paragraphs -----------------Reformat indented paragraphs, keep indentation.

  14. Combinaciones de centrado

    M-s -------------------center-line -------Center the current line.
    center-paragraph ----------------------Center the paragraph that the cursor is on.
    center-region ---------------------------Center the currently defined region.

  15. Combinaciones para macros

    C-x ( ----------------------------start-kbd-macro ---------Start a new macro definition.
    C-x ) ----------------------------end-kbd-macro --------- End the current macro definition.
    C-x e ---------------------------call-last-kbd-macro -----Execute the last defined macro.
    M-(number) C-x e ----------call-last-kbd-maco ------Do that last macro (number times).
    C-u C-x ( ----------------------stat-kbd-macro -----------Execute last macro and add to it.
    name-last-kbd-macro -------------------------------------Name the last macro before saving it.
    insert-last-keyboard-macro -----------------------------Insert the macro you made into a file.
    load-file -------------------------------------------------------Load a file with macros in it.
    C-x q ---------------------------kbd-macro-query ------- Insert a query into a keyboard macro.
    M-C-c --------------------------exit-recursive-edit -------Get the hell out of a recursive edit.

  16. Detail Information Help Commands

    C-h a ---------command-apropos ---------What commands work like this...?
    apropos -----------------------------------------What functions and variables work like this...?
    C-h c ---------describe-key-briefly ---------What command does this key sequence do?
    C-h b ---------describe-bindings ----------What are the key bindings for this buffer?
    C-h k ---------describe-key -----------------What command does this sequence do, and tell me about it.
    C-h l ---------view-lossage -----------------What are the last 100 characters typed?
    C-h w ---------where-is ---------------------What is the key binding for this?
    C-h f ---------describe-function -----------What does this function do?
    C-h v ---------describe-variable ----------What is this variable?
    C-h m ---------describe-mode -----------Tell me about this mode.
    C-h s ---------describe-syntax ----------- What is the syntax table for this buffer?


Thanks to Ashton Trey Belew at Wesleyan for providing this file. Last modified: Mon Sep 20 10:54:19 CDT 2004
Traducción, Manuel Montoya
Ficha del autor:

manuel_ARRROBA_mononeurona.org
Manuel Montoya estudió neuropsicología en la facultad y en el Instituto de Biomédicas de la UNAM. Trabajó en Compaq de México como diseñador de software, tiene diez años de experiencia en Java, PHP y SQL. Le interesan muchas cosas y neciamente le da por escribir sobre todas ellas. Actualmente trabaja en Chipotle Software, desarrollando Karamelo, una herramienta de e-Learning. Jedit.org y WindowMaker son su editor y escritorio favoritos.
aarkerio
The most effective way to restrict democracy is to transfer decision making from the public arena to unaccountable institutions. Chomsky.
Ver todos los articulos de aarkerio

Última actualización: 2008-05-10 16:27:40-05

Printable version

Add comment:



Captcha




Que estas haciendo?
vendavalvendaval está:
acabo de ver a una "wera" Con esas tortas ni chesco pido!! =P
1 hour, 32 minutes ago

tonathiutonathiu está:
De nuez empanadas rusas (zarzamora con queso filadelfia)
1 hour, 57 minutes ago

rnstuxrnstux está:
Tacos&Champurrado pure power
2 hours, 47 minutes ago

asarchasarch está:
Aprendiendo el 'foreach' del C Shell en el Korn Shell... :-)
13 hours, 4 minutes ago

rnstuxrnstux está:
nunca desarmes una lap de madrugada y sin lentes :'(
19 hours, 14 minutes ago

rnstuxrnstux está:
en un cyber usando IE. :(