Skip to content

Instantly share code, notes, and snippets.

@metebalci
Last active December 17, 2020 21:06
Show Gist options
  • Save metebalci/b7f033056ea919608672292cca7ab325 to your computer and use it in GitHub Desktop.
Save metebalci/b7f033056ea919608672292cca7ab325 to your computer and use it in GitHub Desktop.
set nocompatible
filetype on
filetype plugin on
filetype indent on
syntax on
set background=light
" wget -O ~/.vim/colors/sonokai.vim https://raw.githubusercontent.com/sainnhe/sonokai/master/colors/sonokai.vim
set termguicolors
" the configuration options should be placed before `colorscheme sonokai`
let g:sonokai_style = 'andromeda'
let g:sonokai_enable_italic = 1
let g:sonokai_disable_italic_comment = 1
colorscheme sonokai
set laststatus=2
set hlsearch
set incsearch
set ignorecase
set smartcase
map <Backspace> :noh<cr>
set noerrorbells
set novisualbell
set ttyfast
set nowrap
set shiftwidth=2
set softtabstop=2
set tabstop=2
set expandtab
set nobackup
set nowb
set noswapfile
if has('persistent_undo')
set undodir=$HOME/.VIM_UNDO_FILES
:silent call system('mkdir -p ' . &undodir)
set undolevels=5000
set undofile
endif
set backspace=indent,eol,start
set encoding=utf-8 nobomb
set colorcolumn=80
highlight ColorColumn ctermbg=darkgray
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment