User Tools

Site Tools


vim

This is an old revision of the document!


key binding cheat

  • {, } : 전/후의 공백라인으로 이동
  • * : 현재 커서의 워드로 이동

plugin

"   ]t      -- Jump to beginning of block
"   ]e      -- Jump to end of block
"   ]v      -- Select (Visual Line Mode) block
"   ]<      -- Shift block to left
"   ]>      -- Shift block to right
"   ]#      -- Comment selection
"   ]u      -- Uncomment selection
"   ]c      -- Select current/previous class
"   ]d      -- Select current/previous function
"   ]<up>   -- Jump to previous line with the same/lower indentation
"   ]<down> -- Jump to next line with the same/lower indentatio

tips

링크를 브라우져로 열기

:make 시 실행되는 명령어를 바꾸기

:se makeprg=ko-po-check\ %

파일의 인코딩 및 인덴트 정하기. 예. 파이썬 소스.

# -*- coding: utf-8 -*-
# vim: set et sts=2 sw=2 fenc=utf-8:

reference

vim.1256176963.txt.gz · Last modified: 2013/08/03 05:04 (external edit)