|
|
| About site: Open Source/Software/Editors/Emacs - Emacs for Vi users |
Return to Computers also Computers |
| About site: http://www.grok2.com/vi-emacs.html |
Title: Open Source/Software/Editors/Emacs - Emacs for Vi users Equivalent commands in Emacs for commands in Vi. |
|
|
|
|
Bluefire_Security_Technologies Software firewalls for handheld devices. Provides firewall, encryption, intrusion detection, integrity management, and password authentication. Information, papers, downloads, support.
| Ravencom_net Offers web hosting with database integration using ASP or ColdFusion.
| FileLover Shareware and freeware download site supporting soft for Windows/Linux/Mac/Palmo and other platforms. Manual and PAD submissions accepted.
| MacRumors Apple news and rumors with user contribution and commentary. [RSS]
| NIST_DOM_tests_in_ECMAScript Tests currently written for MSIE; should be updated soon for other implementations.
| Advantage_Systems Specializes in SQL Server and Visual Foxpro application development and application maintenance.
|
|
| Alexa statistic for http://www.grok2.com/vi-emacs.html |
Please visit: http://www.grok2.com/vi-emacs.html
|
| Related sites for http://www.grok2.com/vi-emacs.html |
| How_Stuff_Works__Internet_Search_Engines Curt Franklin's article explains in detail how search engines work. It includes a diagram of the indexing process. | | RFC_2179 Network Security For Trade Shows. A. Gwinn. July 1997. | | Working_With_Fedora_-_rcjhawk Setting up and tweaking a home Fedora Core Linux installation. | | The_Devtective Devtective is a web interface onto the documentation provided with the Linux kernel. It is aimed at answering questions like "is this device supported by Linux" or "what is the module for that device | | CuteShield_Track_Eraser Protects privacy by cleaning up all the tracks of Internet and computer activities. Securely deletes all cookies, cache, history, and temp files. | | atom2rss ASP script for converting an Atom feed into valid RSS. | | Thomas_Erl\'s_Web_Services_Glossary A W3C compliant glossary providing plain English definitions for commonly used Web Services terms. Examples and links to W3C specifications are also provided. | | How_Stuff_Works__How_Magnetic_RAM_Will_Work Article explains how Magnetic RAM could replace both dynamic RAM and Flash memory, and eliminate the boot up process. | | Handy_Recovery Data recovery software for restoring accidentally deleted files. Can recover files from deleted and formatted partitions or create disk images for deferred recovery. [Windows 9x/Me/NT/2000/XP/2003] | | Tcl/Tk_on_Windows_Frequently-Asked_Questions A frequently-asked questions, also called a FAQ, covers problems with the Tcl/Tk programming on the Windows platform. | | RFC_3044 Using The ISSN (International Serial Standard Number) as URN (Uniform Resource Names) within an ISSN-URN Namespace. S. Rozenfeld. January 2001. | | RFC_2845 Secret Key Transaction Authentication for DNS (TSIG) P. Vixie, O. Gudmundsson, D. Eastlake, et al. May 2000. | | Mister_PiX Search for pictures on the Internet and in Newsgroups. | | DCS_Netlink Providing hosting, web design, e-commerce solutions, and networking. Located in Rice Lake, Wisconsin, United States. | | CyberGypsy_Web_Creations Web site design and hosting for small businesses, organizations, and individuals. | | Ning An online service to create, customize, and share a social network. | | International_Software_Localization_Group,_Inc_ Multilingual localization engineering and language translation services. | | SamLogic Products include MultiMailer. Sends personalized email messages to the contacts in your mailing lists. | | Net-Ads_com A directory of online programs that pay per-impression, per-clickthrough or per-sale. | | Glimmer An all-purpose editor. Features include find/replace, goto line, syntax highlighting, undo/redo, tear away windows, as well as many other standard editor features. |
|
This is websites2007.org cache of m/ as retrieved on 2008.10.06 websites2007.org's cache is the snapshot that we took of the page as we crawled the web. The page may have changed since that time.
|
Emacs for Vi Programmers _trgun = "sanjayss" Web www.grok2.com emacs for vi usersI created this page for those C programmers who, like me, are being forcedto learn how to use the emacs editor after years of using the Unix standard vieditor. I will focus on how to do common things that you do when coding in C with the vieditor. Note that while there may be more than one way to do something, and sometimes aneasier way to do something, the information I provide is more often a straight forwardtranslation of how you would do things in vi in terms of how you would do thesame thing using the emacs editor. Also what is here is the bare minimum to getyou started. Unlike in vi, in emacs you don't have to enter a"insert" mode to add text -- what you type appears immediately on screen.If you are a vi fan and have been experimenting with vi clones (vim, nviand the rest), then you need to check out the VIPER package in emacs.Written by Michael Kifer, it'scool, like vi on steroids. Open/Save/Quit Move Cursor Delete Text Undo Yank/Place Match Parenthesis Search Books & References Open/Save/Quit Action Vi Emacs open file :e Ctrl - x Ctrl - f save file :w Ctrl - x Ctrl - s quit editor :q Ctrl - x Ctrl - c Move Cursor Action Vi Emacs left h Ctrl - b down j Ctrl - n up k Ctrl - p right l Ctrl - f back one word b Esc - b foward one word w Esc - f beginning of line ^ Ctrl - a end of line $ Ctrl - e page up Ctrl - b Esc - v page down Ctrl - f Ctrl - v jump to line number 'n' nG Esc - x goto-line RET n Delete Text Action Vi Emacs delete char x Ctrl - d delete word dw Esc - d delete line dd Ctrl - k Ctrl - k delete 'n' lines ndd Esc - n Ctrl - k Undo Action Vi Emacs undo u Ctrl - x u Yank/Place Action Vi Emacs yank 'n' lines nyy Ctrl - SPACE, move cursor upto the first character of the line next to last line you want to yank, Esc - w place (emacs calls this yank -- yank from the copy buffer) p or P Ctrl - y Match Parenthesis Action Vi Emacs match paranthesis % This is one vi feature I am addicted to and which made the change to emacs tough because emacs does not have a direct way to do this even under it's various programming modes. Below is some emacs lisp code that I picked off from the Internet that will map the % key to do exactly what vi does. A big thanks to whoever wrote this. (Thanks to Eric Pement (Sed FAQ) for pointing out that this is from the Emacs FAQ). What you need to do is open the file .emacs under your home directory and stick the following lines as is in the file. Close and re-open emacs and, presto, you can use the % like you do in vi. Note that I have not tested this extensively, but it seems to work. (global-set-key "%" 'match-paren) (defun match-paren (arg) "Go to the matching paren if on a paren; otherwise insert %." (interactive "p") (cond ((looking-at "\\s\(") (forward-list 1) (backward-char 1)) ((looking-at "\\s\)") (forward-char 1) (backward-list 1)) (t (self-insert-command (or arg 1))))) Search Action Vi Emacs search forward / Ctrl - s (text incremental search) search backward ? Ctrl - r (text incremental search) Books & ReferencesEmacs Web-SiteEmacs ManualEmacsLisp IntroductionEmacsLisp ManualGNU Emacs Pocket Reference, Authors: DebraCameron, Pub: O'ReillyLearning GNU Emacs, Author: DebraCameron, Bill Rosenblatt & Eric Raymond, Pub: O'ReillyGNU Emacs Manual, Author: Richard Stallman,Pub: Free Software FoundationGlossary RET: Many commands in emacs bring up a prompt line at the bottom of the editor screen (like the ":" command line at the bottom of the vi editor) where you need to provide additional information after which you press the Enter/Return key to cause the command to act. Esc: Unlike the Alt/Ctrl/Meta/Shift key combinations, Esc key combinations require that you press and release the Esc key before you press the next key. On Unix workstations, you may be able to use the Meta key instead of the Esc key (in which case, you would keep the Meta key pressed when pressing the next key in the key combination).On NTEmacs (GNU Emacs compiled for Windows 9x/ME/NT/XP/2K) you can use the ALT key for Esc key combinations (keeping the ALT key pressed when keying in the next key in the combination). Emacs Lisp: Emacs is extremely powerful because it can be customised to behave any way you want it to. Emacs Lisp is the programming language that you use to customise emacs. SiteLinks The Books I Own Main Page Vi in Emacs Linux on Vaio Study NZ Utilities Programming Fun? SED FAQ C Language Source Code Browsers C Struct Packing Walt Disney World PPP RFCs FSM/HSM Tcl/Tk Photographs of Flowers Random Photogaphs Put this on your site! SQLite The Sundial Bridge Repetitive Strain Injury (RSI) Selling Software Online (MicroISV) Tcl Tk Life-Savers The Experience Shows! Green Tips .htaccess tricks Web-Site Development OnlineTools Site copyright of domain owner. All rights reserved._uacct = "UA-566335-2";urchinTracker(); |
|
| |
Equivalent | commands | in | Emacs | for | commands | in | Vi. |
|
http://www.grok2.com/vi-emacs.html
Emacs for Vi users 2008 October
dvd rental
dvd
Equivalent commands in Emacs for commands in Vi.
Rules
|
© 2008 Internet Explorer 5+ or Netscape 6+
|
|
Recommended Sites: 1.
Arts -
Business -
Computers -
Games -
Health -
Home -
Kids and Teens -
News -
Recreation -
Reference -
Regional -
Science -
Shopping -
Society -
Sports -
World
Miss Gallery
- Top Anime Hentai
- DVD rental by mail
- Car Loan - Magazine Subscriptions - Debt Management - Mobile Phone - Gas Electricity
|