User Tools

Site Tools


vim

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
vim [2015/01/17 02:40] – created dongheevim [2019/02/04 09:03] (current) donghee
Line 1: Line 1:
 http://www.vim.org/pics/vim.moolenaar.vimlogo.gif http://www.vim.org/pics/vim.moolenaar.vimlogo.gif
 +
 +====== 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<sub>gb</sub>
 +  * 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)
  
 <code> <code>
-* vi 에디터 사용법은 어떻게 되나요? 
  
 +* vi 에디터 사용법은 어떻게 되나요?
  
 - telnet 작업 사용 안내 - telnet 작업 사용 안내
Line 167: Line 186:
 현재 약어 목록을 표시 현재 약어 목록을 표시
  
-:una short+:unpa short
  
 약어 short를 표시 약어 short를 표시
 +    
 7. 줄 길이의 조정 7. 줄 길이의 조정
  
vim.1421462451.txt.gz · Last modified: 2018/07/18 14:09 (external edit)