"Emacs"의 두 판 사이의 차이
ph
								
												
				| (사용자 4명의 중간 판 15개는 보이지 않습니다) | |||
| 1번째 줄: | 1번째 줄: | ||
| − | *my [[  | + | *my [[Dot emacs]]    | 
| − | *[http://xahlee.org/emacs/keyboard_shortcuts.html How to Define Keyboard Shortcuts in Emacs]  | + | *[http://xahlee.org/emacs/keyboard_shortcuts.html How to Define Keyboard Shortcuts in Emacs]    | 
| − | *[http://lpn.rnbhq.org/tools/xemacs/emacs_ref.html emacs command list]  | + | *[http://lpn.rnbhq.org/tools/xemacs/emacs_ref.html emacs command list]    | 
| − | *[http://www.emacswiki.org/cgi-bin/wiki/ControlTABbufferCycling emacs wiki - ctrl+tab buffer cycling]  | + | *[http://www.emacswiki.org/cgi-bin/wiki/ControlTABbufferCycling emacs wiki - ctrl+tab buffer cycling]    | 
| − | *[http://www.gnu.org/software/emacs/manual/html_node/emacs/index.html#Top GNU emacs manual]  | + | *[http://www.gnu.org/software/emacs/manual/html_node/emacs/index.html#Top GNU emacs manual]    | 
| − | **[http://www.gnu.org/software/emacs/manual/html_node/emacs/Dynamic-Abbrevs.html dynamic expansion]  | + | **[http://www.gnu.org/software/emacs/manual/html_node/emacs/Dynamic-Abbrevs.html dynamic expansion]    | 
| − | * tab설정 : <code>'''(setq-default tab-width 4)'''</code>  | + | *tab설정 : <code>'''(setq-default tab-width 4)'''</code>    | 
| − | ** http://www.emacswiki.org/emacs/EmacsChannelFaq 이 설정찾은 링크. 굉장히 좋은듯. read-it-later  | + | **http://www.emacswiki.org/emacs/EmacsChannelFaq 이 설정찾은 링크. 굉장히 좋은듯. read-it-later    | 
| − | * [http://www.emacswiki.org/emacs/BookMarks bookmark]  | + | *[http://www.emacswiki.org/emacs/BookMarks bookmark] ★★★  | 
| − | * M-x shell 보다 M-x term이 훨씬 낫다. eshell이 가장 보편적.  | + | *M-x shell 보다 M-x term이 훨씬 낫다. eshell이 가장 보편적.    | 
| − | * M-/ auto completion  | + | *M-/ auto completion    | 
| − | * encoding 변경: C-x C-m f 인코딩명 [http://kldp.org/node/32987 출처]  | + | *encoding 변경: C-x C-m f 인코딩명 [http://kldp.org/node/32987 출처]    | 
| − | * [http://www.cs.bu.edu/teaching/tool/emacs/programming/ using Emacs for programming] 간단한 디버거 사용법 포함  | + | *[http://www.cs.bu.edu/teaching/tool/emacs/programming/ using Emacs for programming] 간단한 디버거 사용법 포함    | 
| − | * [http://www.emacswiki.org/emacs/AutoIndentation auto indentation]  | + | *[http://www.emacswiki.org/emacs/AutoIndentation auto indentation]    | 
| − | * [http://www.gnu.org/software/emacs/manual/html_node/emacs/Custom-C-Indent.html changing default C indentation style] '''C-x .''' / '''C-M-q''' / '''C-M-\''' / c-set-style / c-default-style  | + | *[http://www.gnu.org/software/emacs/manual/html_node/emacs/Custom-C-Indent.html changing default C indentation style] '''C-x .''' / '''C-M-q''' / '''C-M-\''' / c-set-style / c-default-style    | 
| − | ** [http://www.emacswiki.org/emacs/IndentingC indenting C] (emacs wiki)  | + | **[http://www.emacswiki.org/emacs/IndentingC indenting C] (emacs wiki)    | 
| − | * [http://www.math.uh.edu/~bgb/emacs_keys.html key combinations] cheat sheet  | + | *[http://www.math.uh.edu/~bgb/emacs_keys.html key combinations] cheat sheet    | 
| − | * [http://www.gnu.org/software/emacs/manual/html_node/emacs/Query-Replace.html#Query-Replace query-replace] about recursive editing  | + | *[http://www.gnu.org/software/emacs/manual/html_node/emacs/Query-Replace.html#Query-Replace query-replace] about recursive editing    | 
| + | * C-x z runs the command repeat   | ||
| + | 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.<br />  | ||
| + | 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'.<br />  | ||
| + | * C-x `  | ||
| + | Visit the locus of the next error message or match.  (from http://www.gnu.org/software/libtool/manual/emacs/Compilation-Mode.html)  | ||
| + | * [http://www.cs.utah.edu/dept/old/texinfo/emacs19/emacs_27.html compiling and testing programs]  | ||
| + | * [http://web.psung.name/emacstips/essential.html Ten Essential Emacs Tips] very very valuable!!!  | ||
| + | * C-x C-q toggle-read-only [http://www.gnu.org/s/emacs/manual/html_node/elisp/Read-Only-Buffers.html ref manual]  | ||
| + | * 특정 문자를 개행문자로 바꾸려면 : C-q C-j 로 repl-s (from [http://jeremy.zawodny.com/blog/archives/008872.html here])  | ||
| + | * [http://www.emacswiki.org/emacs/HideShow hide and show] like vim's folding. (cf. [http://www.emacswiki.org/emacs/FoldingMode 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   | ||
| + | ** <i> C-x r t</i> is more easier and maintainable.  | ||
| + | * <code>M-: (set-display-table-slot standard-display-table 'wrap ?\ )</code>  | ||
| + | ** 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  | ||
2011년 9월 7일 (수) 14:24 기준 최신판
- my Dot emacs
 - How to Define Keyboard Shortcuts in Emacs
 - emacs command list
 - emacs wiki - ctrl+tab buffer cycling
 - GNU emacs manual
 - tab설정 : 
(setq-default tab-width 4)- http://www.emacswiki.org/emacs/EmacsChannelFaq 이 설정찾은 링크. 굉장히 좋은듯. read-it-later
 
 - bookmark ★★★
 - M-x shell 보다 M-x term이 훨씬 낫다. eshell이 가장 보편적.
 - M-/ auto completion
 - encoding 변경: C-x C-m f 인코딩명 출처
 - using Emacs for programming 간단한 디버거 사용법 포함
 - auto indentation
 - changing default C indentation style C-x . / C-M-q / C-M-\ / c-set-style / c-default-style
- indenting C (emacs wiki)
 
 - key combinations cheat sheet
 - query-replace about recursive editing
 - C-x z runs the command repeat
 
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