Skip to content

Instantly share code, notes, and snippets.

@jnbek
Created February 4, 2017 23:19
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 jnbek/d8259dfea5175a0fd0523b30de066c46 to your computer and use it in GitHub Desktop.
Save jnbek/d8259dfea5175a0fd0523b30de066c46 to your computer and use it in GitHub Desktop.
" set the mapleader key
let mapleader = ","
let g:mapleader = ","
" use a better color scheme
colorscheme zellner
" set the default encoding
set enc=utf-8
" set up jj as mode switch
map! jj <ESC>
if has('mouse')
" have the mouse enabled all the time
set mouse=a
" make a menu popup on right click
set mousemodel=popup
endif
" tell the bell to go beep itself!
set visualbell t_vb=
" This setting will cause the cursor to very briefly jump to a
" brace/parenthese/bracket's "match" whenever you type a closing or
" opening brace/parenthese/bracket.
set showmatch
" Set a margin of lines when scrolling
set scrolloff=4
" lines to scroll when cursor leaves screen
set scrolljump=5
" find as you type
set incsearch
" highlight the terms
set hlsearch
" make searches case-insensitive
set ignorecase
" unless they contain upper-case letters
set smartcase
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment