티스토리 뷰

vi ~/.bash_profile 또는 vi ~/.profile 하여 아래 문구 추가

export TERM="xterm-color"

export CLICOLOR=1

export LSCOLORS=ExFxCxDxBxegedabagacad


sudo vi /usr/share/vim/vimrc 실행아여 아래 문구 추가

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' 카테고리의 다른 글

[Mac] 부트캠프(bootcamp) 설치 후 기본 부팅 OS 설정  (0) 2012.07.30
[Mac] HOME, END 설정  (0) 2012.05.13
[Mac] 이클립스에 HOME, END 키 적용  (0) 2012.05.13
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함