Skip to content

Commit

Permalink
vim setting update
Browse files Browse the repository at this point in the history
  • Loading branch information
Interactics committed May 5, 2020
1 parent bf2b180 commit 11a8b7b
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions vimrc.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
set hlsearch
set nu
set autoindent
set scrolloff=2
set wildmode=longest,list
set ts=4
set sts=4
set sw=1
set autowrite
set autoread
set cindent
set bs=eol,start,indent
set history=256
set laststatus=2
set shiftwidth=4
set showmatch
set smartcase
set smarttab
set smartindent
set softtabstop=4
set tabstop=4
set ruler
set incsearch

set statusline=\ %<%l:%v\ [%P]%=%a\ %h%m%r\ %F\

au BufReadPost *
\ if line("'\"") > 0 && line("'\"") <= line("$") |
\ exe "norm g`\"" |
\ endif

if $LANG[0]=='k' && $LANG[1]=='o'
set fileencoding=korea
endif

if has("syntax")
syntax on
endif

colorscheme jellybeans

0 comments on commit 11a8b7b

Please sign in to comment.