makes it run in the terminal (if you dont want to launch the X application.Code:emacs -nw
CTRL-x CTRL-s (Hold CTRL then press x and then s) saves the file.
CTRL-x CTRL-c quits the program
CTRL-s for search
CTRL-k for killing (deleting) current line
CTRL-y for putting back killed line
CTRL-e for moving to end of line
CTRL-a for moving to beginning of line.
backspace and delete keys do as expected. up/down/left/right arrows move the cursor.
That should get people started![]()
No modes to worry about.
Want to try something fun ?Try this
Open a file (new or exsisting) "foo"
Now type this:Code:emacs -nw foo
CTRL-x 3 (CTRL-x follwed by 3)
Now type something
Then type CTRL-x o (o is the lettttttttter not 0 the number) CTRL-x followed by the leter o; and see what happens to the cursor. Type some more.
Type CTRL-x o again Type something.
Now type CTRL-x 1 (1 is the number).
Type some more
Exit: CTRL-x CTRL-c
-
wearetheborg Notebook Virtuoso
-
Does anyone know how much of Vim's featureset is covered by Emacs's viper mode? I'm interested in using Emacs as an IDE (as a replacement for Eclipse for Java programming), but I need vi-style editing. If I can really get all the vi shortcuts/features in Emacs, I might switch.
-
I would also like to know this.....srunni, found anything out?
EDIT: http://www.io.com/~dierdorf/emacsvi.html
Emacs crash course
Discussion in 'Linux Compatibility and Software' started by wearetheborg, Jun 20, 2008.