'vim'에 해당되는 글 1건

  1. 2016.03.02 vim syntax highlight 컬러 적용
반응형

http://springy.tistory.com/735


sudo vi /usr/share/vim/vimrc


http://springy.tistory.com/735

set ai                  " auto indenting

set history=100         " keep 100 lines of history

set ruler               " show the cursor position

syntax on               " syntax highlighting

set hlsearch            " highlight the last searched term

filetype plugin on      " use the file type plugins


" When editing a file, always jump to the last cursor position

autocmd BufReadPost *

\ if ! exists("g:leave_my_cursor_position_alone") |

\ if line("'\"") > 0 && line ("'\"") <= line("$") |

\ exe "normal g'\"" |

\ endif |

\ endif


반응형

'[Mac]' 카테고리의 다른 글

ssh 접속이 느릴 때  (0) 2016.11.16
맥에서 ls color 바꾸기  (0) 2015.06.24
Posted by FeliZ_하늘..
,