"Emacs"의 두 판 사이의 차이

ph
이동: 둘러보기, 검색
 
29번째 줄: 29번째 줄:
 
* emacs 쓸 때 제일 불편한게 jump.
 
* emacs 쓸 때 제일 불편한게 jump.
 
** c-u c-space 몇번 누르다보면 어지간하면 나온다
 
** c-u c-space 몇번 누르다보면 어지간하면 나온다
** c-x c-space 위에꺼랑 비슷한데 global하다. 다른 파일로도 뜀. 하도 산만하게 뛰어서 내머리로는 감당이 안되었음.
+
** c-x c-space 위에꺼랑 비슷한데 global하다. 다른 파일로도 뜀. 너무 산만하게 뛰는게 단점.
 
** c-x r space [a-z] : vim 에서 m[a-z]
 
** c-x r space [a-z] : vim 에서 m[a-z]
 
** c-x r j [a-z] : 위에서 저장해놓은 곳으로 뛴다.
 
** c-x r j [a-z] : 위에서 저장해놓은 곳으로 뛴다.

2011년 9월 7일 (수) 14:24 기준 최신판

Repeat most recently executed command. With prefix arg, apply new prefix arg to that command; otherwise, use the prefix arg that was used before (if any). This command is like the `.' command in the vi editor.
If this command is invoked by a multi-character key sequence, it can then be repeated by repeating the final character of that sequence. This behavior can be modified by the global variable `repeat-on-final-keystroke'.

  • C-x `

Visit the locus of the next error message or match. (from http://www.gnu.org/software/libtool/manual/emacs/Compilation-Mode.html)

  • compiling and testing programs
  • Ten Essential Emacs Tips very very valuable!!!
  • C-x C-q toggle-read-only ref manual
  • 특정 문자를 개행문자로 바꾸려면 : C-q C-j 로 repl-s (from here)
  • hide and show like vim's folding. (cf. folding mode)
  • emacs 쓸 때 제일 불편한게 jump.
    • c-u c-space 몇번 누르다보면 어지간하면 나온다
    • c-x c-space 위에꺼랑 비슷한데 global하다. 다른 파일로도 뜀. 너무 산만하게 뛰는게 단점.
    • c-x r space [a-z] : vim 에서 m[a-z]
    • c-x r j [a-z] : 위에서 저장해놓은 곳으로 뛴다.
    • 이동시 항상 c-u 가 관건이다. 4, 16, 64... 의 감이 중요하다.
  • M-x comment-region
    • C-x r t is more easier and maintainable.
  • M-: (set-display-table-slot standard-display-table 'wrap ?\ )
    • Notice that after the `\’ there is a whitespace character (actually the backslash is optional for the whitespace, but it is used here for clarity), but you can add whatever you want
    • http://www.emacswiki.org/emacs/LineWrap