2019-07-28 04:30:40 +00:00
|
|
|
" Single-quote is a comment written to be read
|
|
|
|
" Double-quotes ("") are commented out code and can be removed or added
|
2019-07-27 07:58:50 +00:00
|
|
|
|
|
|
|
" Set tabwidth=2, adjust Vim shiftwidth to the same
|
|
|
|
set tabstop=2 shiftwidth=2
|
|
|
|
|
|
|
|
" expandtab inserts spaces instead of tabs
|
|
|
|
set expandtab
|
|
|
|
|
|
|
|
" autindent inserts the next line at your current depth
|
|
|
|
set autoindent
|
|
|
|
|
|
|
|
" mouse=a allows for mouse interaction with vim when supported
|
|
|
|
set mouse=a
|
|
|
|
|
|
|
|
" Enable Syntax Highlighting in Vim
|
2019-07-27 04:17:48 +00:00
|
|
|
syntax on
|
2019-07-27 07:58:50 +00:00
|
|
|
|
2019-09-08 05:48:13 +00:00
|
|
|
" Fix plugin compatibility issues
|
2019-09-06 22:06:46 +00:00
|
|
|
set nocp
|
2019-09-08 05:48:13 +00:00
|
|
|
" Allow backspace to remove all types of characters
|
|
|
|
set backspace=indent,eol,start
|
2019-09-06 22:06:46 +00:00
|
|
|
" set rtp+=/path/to/rtp/that/included/pathogen/vim " if needed
|
2019-07-27 07:58:50 +00:00
|
|
|
" Enable Pathogen plugin manager
|
|
|
|
execute pathogen#infect()
|
|
|
|
filetype plugin indent on
|
|
|
|
|
2019-08-23 10:58:09 +00:00
|
|
|
" Custom Keybindings
|
2019-09-08 05:48:13 +00:00
|
|
|
" nnoremap <C-e> <C-w> " Modify and remove leading quotation
|
2019-08-23 10:58:09 +00:00
|
|
|
|
2019-09-08 05:48:13 +00:00
|
|
|
" Set window jump to custom binding
|
2019-08-23 10:58:09 +00:00
|
|
|
" default Ctrl-W conflict - closes browser tabs
|
|
|
|
nnoremap <C-e> <C-w>
|
|
|
|
|