✨
[Awesome Emacs Keymap]よく使いそうなコマンド
Move commands
-
C-f: 一文字前方へ移動 -
C-b: 一文字後方へ移動 -
C-n: 1行次へ移動 -
C-p: 1行前へ移動 -
C-a: 行の先頭へ移動 -
C-e: 行の後尾へ移動 -
M-f: 1単語前方へ移動 -
M-b: 1単語後方へ移動 -
M-m: その行で、初めてwhitespace以外の文字が記されたところに移動 -
C-v: スクロールを下に移動 -
M-v: スクロールを上に移動 -
M-{: 前のパラグラフに移動 -
M-}: 次のパラグラフに移動 -
M-<: ファイルの先頭へ移動 -
M->: ファイルの後尾へ移動 -
C-l: 現在の行をスクリーンの真ん中に移動する
Search commands
-
C-s: 前方に向けて、検索 -
C-r: 後方に向けて、検索 -
M-%: 置換
Edit commands
-
C-d: delete right -
C-h: delete left -
C-k: カーソルより後方を全て削除 -
C-S-Bksp: 行全部を削除 -
C-w: 選択範囲を削除 -
M-w: 選択範囲をコピー -
C-y: コピーしたものを貼り付け -
C-j: 新しい行を追加 -
C-x C-o: 周りの空行たちを削除 -
C-x h: 全てを選択 -
C-x u: undo -
C-;: comment in/out (カーソルがある行) -
M-;: comment in/out (選択範囲)
Mark commands
-
C-SPC: set the mark at point
Other commands
-
C-g: cancel -
M-x: open command palette -
C-x C-c: close window
File commands
-
C-x C-f: QuickOpen a file -
C-x C-s: save -
C-x C-w: save as -
C-x s: save all files -
C-x C-n: open new window
Tab / Buffer manipulation commands
-
C-x b: switch to another open bugger -
C-x k: close current tab -
C-x 0: close editors in the current group -
C-x 1: close editors in other group -
C-x 2: split editor horizontal -
C-x 3: split editor vertical -
C-x 4: toggle split layout -
C-x o: focus other split editor -
C-x LEFT: select the previous tab -
C-x RIGHT: select the next tab
Discussion