Created
August 16, 2020 12:39
-
-
Save JhoLee/4d949c451ade96d7b941afb90ca790db to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
Plugin 'gmarik/Vundle.vim' "required | |
Plugin 'tpope/vim-fugitive' "required | |
Plugin 'Yggdroot/indentLine' | |
call vundle#end() | |
filetype plugin indent on | |
syntax enable | |
set nu | |
set scrolloff=4 | |
set wildmode=longest,list | |
set ts=4 | |
set sts=4 | |
set sw=1 | |
set shiftwidth=4 | |
set expandtab | |
set background=dark | |
set ruler | |
set autoread | |
set bs=eol,start,indent | |
set history=256 | |
set showmatch | |
set smartcase | |
set smarttab | |
set smartindent | |
set incsearch | |
set hlsearch | |
set cursorline | |
if has("syntax") | |
syntax on | |
endif | |
filetype on | |
filetype plugin indent on | |
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab | |
au BufReadPost,BufNewFile *.twig colorscheme koehler | |
au BufReadPost,BufNewFile *.css colorscheme slate | |
au BufReadPost,BufNewFile *.js colorscheme slate2 | |
au BufReadPost,BufNewFile *.py colorscheme molokaiyo | |
au BufReadPost,BufNewFile *.html colorscheme monokai | |
au BufReadPost,BufNewFile *.java colorscheme monokai | |
au BufReadPost,BufNewFile *.php colorscheme monokai | |
" Start from last edited | |
au BufReadPost * | |
\ if line("'\"") > 0 && line("'\"") <= line("$") | | |
\ exe "norm g`\"" | | |
\ endif | |
" Where am I? | |
set laststatus=2 | |
set statusline=\ %<%l:%v\ [%P]%=%a\ %h%m%r\ %F\ | |
hi String ctermfg=140 | |
hi CursorLine ctermbg=235 | |
hi CursorLine guibg=#D3D3D3 cterm=none | |
Plugin 'tpope/vim-sensible' | |
Plugin 'scrooloose/nerdtree' | |
Plugin 'scrooloose/syntastic' | |
Plugin 'scrooloose/nerdcommenter' | |
Plugin 'mattn/emmet-vim' | |
Plugin 'Shougo/neocomplcache.vim' | |
Plugin 'nathanaelkane/vim-indent-guides' | |
Plugin 'udalov/kotlin-vim' | |
let g:indentLine_char = '⦙' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment