4
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

よく使いたくなるけどよく忘れる Emacs の便利コマンド備忘録

4
Last updated at Posted at 2017-01-24

このメモは

よく使いたくなるけどよく忘れる Emacs の便利コマンドを羅列します。

フォントサイズを一時的に変える

Function : text-scale-adjust
Shortcut : C-x C-0

[14.11 Text Scale]
(https://www.gnu.org/software/emacs/manual/html_node/emacs/Text-Scale.html)

長い行の折り返し

編集なし、折り返して見えるだけ

Function : toggle-truncate-lines

[14.21 Line Truncation]
(https://www.gnu.org/software/emacs/manual/html_node/emacs/Line-Truncation.html)

編集あり、エンター押す度に編集される

Function : auto-fill-mode

[25.6.1 Auto Fill Mode]
(https://www.gnu.org/software/emacs/manual/html_node/emacs/Auto-Fill.html)

矩形選択

Function : rectangle-mark-mode
Shortcut : C-x SPC
矩形選択モードに切り替える。普通に選択した状態でこれを呼ぶと、選択したエリアが矩形選択に切り替わる。
カット・コピー・ヤンクのショートカットキーは普通のモードと同じ。

[12.5 Rectangles]
(https://www.gnu.org/software/emacs/manual/html_node/emacs/Rectangles.html)

(番外編) .emacs.d 等の移行の際の方法

.emacs.d や、 org-directory の中身をイチから再構築したりしたい場合、
色々試してみたものの結局 HOME を適当なディレクトリに設定してその中で作業するのが一番ラクだという結論になりました。

4
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?