Skip to content

Instantly share code, notes, and snippets.

@mcclane
Created November 1, 2018 17:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mcclane/3dca3368ac2f18eba3a60c57aa36a3e5 to your computer and use it in GitHub Desktop.
Save mcclane/3dca3368ac2f18eba3a60c57aa36a3e5 to your computer and use it in GitHub Desktop.
call plug#begin('~/.vim/plugged')
Plug 'itchyny/lightline.vim'
Plug 'scrooloose/nerdcommenter'
call plug#end()
if !has('gui_running')
set t_Co=256
endif
set laststatus=2
syntax on
set tabstop=4 " 4 space tab
set shiftwidth=4
set expandtab
set autoindent
"set smartindent
set wildmenu
set wildignore=*.class
set noerrorbells
set nu
"colorscheme underwater
"colorscheme molokai
"colorscheme dracula
"colorscheme nord
colorscheme apprentice
let g:molokai_original = 1
let g:netrw_banner = 0
let g:netrw_browse_split = 3
" For my new macbook pro without an escape key!
inoremap jk <Esc>
inoremap jj <Esc>
filetype plugin on
noremap <buffer> <silent> k gk
noremap <buffer> <silent> j gj
noremap <buffer> <silent> 0 g0
noremap <buffer> <silent> $ g$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment