vim
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
vim [2018/07/18 14:10] – external edit 127.0.0.1 | vim [2019/02/04 09:03] (current) – donghee | ||
---|---|---|---|
Line 1: | Line 1: | ||
http:// | http:// | ||
+ | |||
+ | ====== vim ====== | ||
+ | |||
+ | * open file :e filename | ||
+ | * start vim with two files vsplit vim -O file1.txt file2.txt | ||
+ | * highlight syntax for xml :set filetype=xml | ||
+ | * set autoindent :set autoindent\_ | \_:set ai | ||
+ | * spellcheck :setlocal spell spelllang=en< | ||
+ | * Set tab width to 4 spaces :set tabstop=4 | ||
+ | * edit a file in a new tab :tabedit {file} | ||
+ | * next tab :tabn | ||
+ | * previous tab :tabp | ||
+ | * split open file :vsplit filename or :split filename | ||
+ | * exit insert mode esc or ctrl-[ | ||
+ | * go to normal mode for one command ctrl-o | ||
+ | * Go to beginning of a line ^ or 0 (normal mode) | ||
+ | * Go to the end of a line $ (normal mode) | ||
+ | * Go to the top of window H (normal mode) | ||
+ | * Go to last line of file G (normal mode) | ||
< | < | ||
- | * vi 에디터 사용법은 어떻게 되나요? | ||
+ | * vi 에디터 사용법은 어떻게 되나요? | ||
- telnet 작업 사용 안내 | - telnet 작업 사용 안내 | ||
Line 167: | Line 186: | ||
현재 약어 목록을 표시 | 현재 약어 목록을 표시 | ||
- | :una short | + | :unpa short |
약어 short를 표시 | 약어 short를 표시 | ||
+ | | ||
7. 줄 길이의 조정 | 7. 줄 길이의 조정 | ||
vim.1531923042.txt.gz · Last modified: 2018/07/18 14:10 by 127.0.0.1