Skip to content
nanakira edited this page Jun 4, 2017 · 22 revisions

Package management

Install したらとりあえず

M-x package-refresh-contents

でパッケージリストを更新する。

Key bind

Short cut Description
C-fbnp →←↓↑
C-a 行頭に移動
C-e 行末に移動
M-f 一単語進む
M-b 一単語戻る
M-a 文頭に移動
M-e 文末に移動
C-v Page down
M-v Page up
C-l カーソル行を中央に
C-u 0 C-l カーソル行を先頭に
M-a 文頭に移動
M-e 文末に移動
M-< ファイル先頭に移動
M-> ファイル末尾に移動
C-u 繰り返し回数指定。例) C-u 8 C-f
C-g 処理を止める。<ESC>の取り消しも
C-x 1 One window
C-d 後ろの1文字削除
M-d 後ろの1単語Kill
C-k 行末までKill
M-k 文末までKill
C- マーク
C-w マークからカーソルまでKill
C-y Yank
M-y Previous yank
C-/ Undo
C-_ Undo
C-x u Undo
C-x C-f Find a file
C-x C-s Save
C-x s Save some buffers
C-x C-b List buffers
C-x b Switch buffer
C-z Suspend (fg で resume)
M-x eXtended commands
C-h m Doc for current mode
C-x f Set fill column (default:70)
M-q Fill paragraph
C-s Incremental search (forward)
C-r Incremental search (backward)
C-u C-s Regexp isearch (forward)
C-u C-r Regexp isearch (backward)
M-% Replace
C-M-% Regexp replace
M-s o Occur (バッファ内 Grep)
C-x 2 Split to 2 windows (up/down)
C-x 3 Split to 2 windows (left/right)
C-M-v Scroll other window
C-x o Move cursor to other window
C-x 4 C-f Find file in other window
M-x make-frame New frame
M-x delete-frame Delete frame
C-h c (command) Brief description for (command)
C-h k (command) Doc for (command)
M-/ dabbrev-expand

Major modes

M-x text-mode
  • Fundamental
  • text-mode

Minor modes

M-x auto-fill-mode
  • auto-fill-mode

Setting for Windows

GnuTLS support

http://sourceforge.net/projects/ezwinports/files/ から gnutls-3.x.x-w32-bin.zip をダウンロード。 中の dll を Emacs の bin にコピー(.exe を入れてはいけない)

El-get

https://github.com/dimitri/el-get

Install

  1. GitHub から clone する
  2. TexInfo for Windows から Binaries と Dependencies を落として 適当な場所に置いてパスを通す。 ~/bin/GnuWin32/bin とか。
Clone this wiki locally