Skip to content

Instantly share code, notes, and snippets.

@brunston
Last active May 25, 2018 16:17
Show Gist options
  • Save brunston/1287b7765c7f43381b396b58fff1e1f8 to your computer and use it in GitHub Desktop.
Save brunston/1287b7765c7f43381b396b58fff1e1f8 to your computer and use it in GitHub Desktop.
New .vimrc
set fileformat=unix
set nocompatible
set number
set backspace=2
set smartcase
set softtabstop=4
set shiftwidth=4
set expandtab
set autoindent
"folding settings
set foldmethod=indent
set foldlevel=99
nnoremap <space> za
"split settings
nnoremap <C-J> <C-W><C-J>
nnoremap <C-K> <C-W><C-K>
nnoremap <C-H> <C-W><C-H>
nnoremap <C-L> <C-W><C-L>
set splitright
set splitbelow
"netrw Ex options
let g:netrw_winsize=12
let g:netrw_browse_split=2
"gvim and windows settings
"set guifont=Consolas:h11:cANSI
"set clipboard=unnamed
"colorful
colors desert
syntax on
set colorcolumn=100
highlight ColorColumn ctermbg=0 guibg=lightgrey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment