Skip to content

Instantly share code, notes, and snippets.

@jodoherty
Last active July 9, 2020 02:19
Show Gist options
  • Save jodoherty/33e6ba996f13adf9f4e8db46416b4ece to your computer and use it in GitHub Desktop.
Save jodoherty/33e6ba996f13adf9f4e8db46416b4ece to your computer and use it in GitHub Desktop.
VIM settings
if has("win32")
set guifont=Consolas:h10
set guioptions=aegimrL
else
set guifont=Monospace\ 11
set guioptions=imrL
endif
set showtabline=2
set columns=85
set lines=40
set nu
set cc=80,120
"set display+=lastline
set wrap
set breakindent
set breakindentopt=min:40,shift:8
set showbreak=↪\
"set listchars=tab:→\ ,eol:↲,nbsp:␣,trail:•,extends:⟩,precedes:⟨
set listchars=tab:→\ ,trail:•
set list
syntax on
"colorscheme default
"set bg=light
"hi LineNr guibg=#f2f2f2 guifg=#d0d0d0
"hi ColorColumn guibg=#fff4f4
"hi SpecialKey guifg=#dcdcdc
"hi NonText guifg=#dcdcdc
colorscheme evening
set bg=dark
hi LineNr guibg=#111111 guifg=#555555
hi ColorColumn guibg=#303030
hi SpecialKey guifg=#545444
hi Folded guibg=#383838 guifg=#888888
set fileformats=unix,dos
set fileencodings=ucs-bom,utf-8,default,latin1
setglobal encoding=utf-8
setglobal fileencoding=utf-8
set nocp
set bs=2
set ai
set nobackup
set ts=8
set sts=2
set sw=2
set et
set ruler
set mouse=a
let g:netrw_mousemaps=0
set breakindent
set breakindentopt=min:40,shift:4
set linebreak
set directory^=~/.vim/swap//,/tmp//
set wildignore+=**/node_modules/**
set wildignore+=**/.git/**
set wildignore+=**/*.class
set wildignore+=**/*.o
set wildignore+=**/*.obj
set wildignore+=**/*.exe
set wildmenu
set wildmode=list:longest,full
packloadall
filetype plugin on
syntax enable
set sessionoptions+=unix,slash
set visualbell
let g:netrw_mousemaps=0
let g:ale_fix_on_save=1
syntax off
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment