Emacs_Editor_IDE/emacs단축키정리

emacs 편집기 사용법, 명령어(단축키)

내인생PLUS 2022. 8. 19. 03:29
728x90

내가 공부하려고 정리
Lisp language_Emac_DoomEmacs_tutorial_LSP_Install_설치및자동완성활용법_기초한글강의 #lisplang #emacs #doomemacs #lsp
https://youtu.be/xngl_-994Yg








정리 잘 됨
https://codebreaking.tistory.com/m/notice/88

Emacs 명령어(단축키)

emacs 명령어 C-x C-f : 파일열기 C-x C-v : 현재 열린 버퍼의 경로를 보여주고 다른 파일을 열수 있게끔한다. A-> : 파일 맨끝으로 이동 A-< : 파일 맨처음으로 이동 C-x C-s : 파일저장 C-x C-w : save as 와 같..

codebreaking.tistory.com




https://m.blog.naver.com/three_letter/220443720533

[리눅스] emacs 편집기 사용법, 명령어

emacs는 vi와는 달리 비모드형 편집기(여러가지 명령을 수행하기 위해서 <Ctrl> 또는 <Alt> ...

blog.naver.com



종료 C-x C-c
저장 C-x C-s
새 이름으로 저장 C-x C-w
파일 찾기 C-x C-f

http://mwultong.blogspot.com/2006/06/emacs-exit-qna.html?m=1

Emacs (이맥스) 에서 종료(Exit)하는 핫키는? [QnA: 리눅스/유닉스용 텍스트 편집기]

제가 리눅스를 설치한 후에, 그 어렵기로 악명 높은 Emacs(이맥스) 를 실행시켰는데 도저히 빠져나오는 방법을 모르겠더군요. F1을 눌러도 도움말도 나오지 않았습니다. 키보드가 사실상 먹통 상

mwultong.blogspot.com


// 분할 된 창전환 ( 시계방향
C-x o


o가 -1 인수라는 뜻


// 반시계 방향
C-u 2 C-x o



http://daplus.net/emacs-emacs-%EC%9D%B4%EC%A0%84-%EC%B0%BD%EC%9C%BC%EB%A1%9C-%EC%A0%84%ED%99%98/

[emacs] Emacs, 이전 창으로 전환 - 리뷰나라

Emacs C-x o에서 다음 창으로 이동합니다. Emacs의 이전 창으로 이동하는 키보드 매크로는 무엇입니까? 답변 그건 C-- C-x o 즉, C-x o인수가 -1입니다. 에서 C-u와 같이와 명령 사이에 숫자 인수를 삽입하

daplus.net




// 상하 분할	
C-x 2



// 좌우 분할	
C-x 3


// 현재 창 전체 화면
C-x 1


https://m.blog.naver.com/oxo_aco/221379751083

[ 단축키 ] 이맥스 단축키 모음

[ 단축키 ] 이맥스 단축키 모음 안녕하세요, 아코입니다. 오늘은 응용 프로그램 실행 프로그램, 이맥스에 ...

blog.naver.com





toggle-trunkcate line
이쁘게 보기 좋게 정렬해줌

https://www.youtube.com/watch?v=-XHz3B7NExQ



M-x
display-line-numbers


https://www.gnu.org/software/emacs/manual/html_node/efaq/Displaying-the-current-line-or-column.html#:~:text=By%20default%2C%20Emacs%20displays%20the,variable%20line%2Dnumber%2Dmode%20.

https://www.gnu.org/software/emacs/manual/html_node/efaq/Displaying-the-current-line-or-column.html#:~:text=By%20default%2C%20Emacs%20displays%20the,variable%20line%2Dnumber%2Dmode%20.

5.5 How do I make Emacs display the current line (or column) number? By default, Emacs displays the current line number of the point in the mode line. You can toggle this feature off or on with the command M-x line-number-mode, or by setting the variable l

www.gnu.org



https://www.emacswiki.org/emacs/LineNumbers

EmacsWiki: Line Numbers

This page is about displaying line numbers in a buffer, or otherwise indicating line numbers, without actually changing the buffer content. If you just want to work on a specific part of the file and you are accustomed to doing that by showing line numbers

www.emacswiki.org



Emacs Commands
C- means "control key", Hold down the control key while
pressing the next key
M- means "meta key", (“Escape” in the lab, on other
computers sometimes “Alt”). For meta commands with the
Escape key, press the Escape key and then release it,
then press the other key. Thus M-f stands for the
keyboard sequence "press and release the Escape key", "
press f".
C-x C-s Save file
C-x C-w Write file out with new name (i.e. 'save as')
C-x C-f Find (open) file. (If the file doesn't exist, it will be
created.)
C-x C-c Quit Emacs
C-z Leave Emacs temporarily (return with "fg" ("foreground"))
C-g Abort an Emacs command (get out of trouble)
C-_ Undo
C-x 2 Split Emacs screen into two horizontally
C-x 3 Split Emacs screen into two vertically
C-x o move from one half screen to another
C-x 1 Return to only one screen (whichever your cursor is in)
C-x C-b List the current buffers
C-x b Switch to a different active buffer
C-k Kill text from cursor to end of line (Cut text out)
C-y Yank back killed text. (Paste text in)
C-l Redisplay the screen if it is garbled
Commands to move about the screen (can also use the arrow keys.)
C-f Move cursor forward one character
C-b Move cursor backwards one character
C-n Move cursor to next line
C-p Move cursor to previous line
C-a Move cursor to beginning of line
C-e Move cursor to end of line
C-v Go forward one screen
M-v Go backward one screen
M-f Move cursor forward one word
M-b Move cursor backwards one word
M-> Move to end of file
M-< Move to beginning of file
C-u 7 C-n Move forward 7 lines
C-u 10 C-p Move back 10 lines
To go to a specific line: Type M-x goto-line <Enter>, then
type the line number followed by <Enter>. There are also
shortcuts. Type the command "help -q emacs goto" in a local
window to find out about it. (Local shortcut is M-x #).
Emacs has an excellent on-line help tutorial. To use it,
start up emacs. When you are in emacs, type C-h, then type
the letter "t". Follow directions. When you wish to leave
the tutorial, type C-x C-c.

https://www.cs.cmu.edu/afs/cs/project/cmt-55/lti/Courses/721/2007/www/EmacsCommands-2004.pdf


https://stackoverflow.com/questions/6874516/relative-line-numbers-in-emacs

init.el추가

(global-display-line-numbers-mode 1)
(setq display-line-numbers-type 'relative)


https://stackoverflow.com/questions/6874516/relative-line-numbers-in-emacs

Relative Line Numbers In Emacs

Does anyone know how if something like this Vim Relative Line Numbers exists for emacs? I use vimpulse, and man, that would be super handy to have! I know some lisp, so if it doesn't, I could try t...

stackoverflow.com




https://codesource.io/top-50-emacs-commands-and-emacs-shortcuts/

Top 50 Emacs Commands and Emacs Shortcuts

This article will be solely about serving you with the best Emacs commands and Emacs shortcuts. Certainly, Emacs is one of the most common

codesource.io







https://codesource.io/top-50-emacs-commands-and-emacs-shortcuts/

Top 50 Emacs Commands and Emacs Shortcuts

This article will be solely about serving you with the best Emacs commands and Emacs shortcuts. Certainly, Emacs is one of the most common

codesource.io























반응형