°Ô½Ã¹° 1,369°Ç
   
VI ÀÌÀü ¼öÁ¤À§Ä¡ ±â¾ï
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2016-08-05 (±Ý) 15:27 Á¶È¸ : 5170
±ÛÁÖ¼Ò :
                                
¹æ¹ý1)

/etc/vim/vimrc ÆÄÀÏ ¸¶Áö¸·¿¡ ¾Æ·¡ ³»¿ë »ðÀÔ
 autocmd BufReadPost *
    \ if line("'\"") > 1 && line("'\"") <= line("$") |
    \ exe "normal! g`\"" |
    \ endif



ÂüÁ¶ example ÆÄÀÏ
# vim /usr/share/vim/vim74/vimrc_example.vim
....................................................................
  " When editing a file, always jump to the last known cursor position.
  " Don't do it when the position is invalid or when inside an event handler
  " (happens when dropping a file on gvim).
  " Also don't do it when the mark is in the first line, that is the default
  " position when opening a file.
  autocmd BufReadPost *
    \ if line("'\"") > 1 && line("'\"") <= line("$") |
    \   exe "normal! g`\"" |
    \ endif





¹æ¹ý2)
Ctrl + O  : ÀÌÀü¶óÀÎ À§Ä¡·Î À̵¿
Ctrl  + I :  ¾ÕÀ¸·Î À̵¿
-->> ÀÌÀü¿¡ ¿­¾ú´ø ´Ù¸¥ ÆÄÀϷεµ ³Ñ¾î°¡±âµµ ÇÔ


À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.