Skip to content

Instantly share code, notes, and snippets.

@rlaace423 rlaace423/vimrc
Last active Nov 3, 2019

Embed
What would you like to do?
vim 기초설정
"Syntax
if has("syntax")
syntax on
endif
"indentation
set autoindent
set smartindent
"line number
set nu
"tab space as 2
set tabstop=2
set shiftwidth=2
"tab as space
set expandtab
"backspace (optional)
set bs=2
"Set cursor posion to last edited
au BufReadPost *
\ if line("'\"") > 0 && line("'\"") <= line("$") |
\ exe "norm g`\"" |
\ endif
"bottom status line
set laststatus=2
set statusline=\ %<%l:%v\ [%P]%=%a\ %h%m%r\ %F\
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.