Emacs Second Words: more comfortable editing

Source: Internet
Author: User

<title>Emacs Second Words: more comfortable editing</title> Emacs Second: More comfortable editing warm-up

Use Emacs without a mouse. Well, I do not know who said, I browse the Web occasionally still need to use the mouse. But there are Firemacs, mouseless, tab Mix plus combinations can be mouseless.

First, the cursor moves faster, there are xset on Linux, and the next step is to change ESC to CTRL. If you want to be more comfortable, do it.

Emacs started too slowly?

Emacs--daemon

Alias in my SHRC.

Export editor= ' emacsclient-c ' Alias e= ' emacsclient-c ' Alias emacs= ' Emacs '

Emacs cannot input Chinese?

Export Lc_ctype= ' ZH_CN. UTF-8 '

Here is a script for me to start the boot:

Xset r              rate ofSane repeatrate xset-b                         No BellXset-dpms                       C8>keepscreen on @ all times Xset s off                      #setxkbmap-option ctrl:nocapsexportlc_ CTYPE=' zh_cn. UTF-8 '    solution to input emacs in Emacs--daemon
Fast editing

First need to learn how to install the package, how require. It should be.

(Defun Kill-region-or-backward-word() (interactive) (if(region-active-p)    (Kill-region (region-beginning) (region-end)) (Backward-kill-word 1))) (Global-set-key (KDB"C-w") ' Kill-rectangle-or-backward-word ' (Global-set-key (KBD"M-h") ' Kill-region-or-backward-word) (Defun Smarter-move-beginning-of-line(ARG) (Interactive"^p") (setq arg (or arg 1));; Move Lines First( when(/= Arg 1) ( Let((line-move-visual nil))  (Forward-line (1-arg)))) ( Let((Orig-point (point)))    (back-to-indentation) ( when(= Orig-point (point)) (Move-beginning-of-line 1)))) (Global-set-key (KBD"C-a") ' Smarter-move-beginning-of-line);; Use shell-like backspace c-h, rebind help to F1(Define-key key-translation-map [? \c-h] [? \c-?]) (Global-set-key (KBD"<f1>") ' Help-command) (Defun Save-region-or-current-line(ARG) (Interactive"P")  (if(region-active-p)    (Kill-ring-save (region-beginning) (region-end)) (Copy-line Arg))) (Global-set-key (KBD"M-w") ' Save-region-or-current-line)

You still need this.
Windows-nubering

window-numbering, use M-1 M-2 ... to quick switch window (require 'window-numbering) (Custom-set-faces ' (Window-numbering-face (t (: Foreground"Deeppink": Underline" Deeppink ": Weight Bold)))) (Window-numbering-mode 1)

This one

(require 'hungry-delete) (Global-hungry-delete-mode) (require 'pangu-spacing) (Global-pangu-spacing-mode 1)

And this one.

(require 'multiple-cursors) (require 'expand-region)

The specific configuration is said on their github. Emacs is so easy to configure.

Plugins for Org-mode and Coblogs

This article is the Org-mode written under Emacs. About Org-mode come here

Write it down in Emacs and post it directly to the blog park. Specific introduction here to download here

My emacs24.4 version needs no org-export-as-html and needs to be changed.

(With-current-buffer (org-export-as-html 3 nil nil "*org html export*") (With-current-buffer (org-html-export-as-html)

Emacs Second Words: more comfortable editing

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.