35 lines
920 B
VimL
35 lines
920 B
VimL
|
" Single-quote is a comment written to be read
|
||
|
" Double-quotes ("") are commented out code and can be removed or added
|
||
|
|
||
|
" 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
|
||
|
syntax on
|
||
|
|
||
|
" Fix plugin compatibility issues
|
||
|
set nocp
|
||
|
" Allow backspace to remove all types of characters
|
||
|
set backspace=indent,eol,start
|
||
|
" set rtp+=/path/to/rtp/that/included/pathogen/vim " if needed
|
||
|
" Enable Pathogen plugin manager
|
||
|
execute pathogen#infect()
|
||
|
filetype plugin indent on
|
||
|
|
||
|
" Custom Keybindings
|
||
|
" nnoremap <C-e> <C-w> " Modify and remove leading quotation
|
||
|
|
||
|
" Set window jump to custom binding
|
||
|
" default Ctrl-W conflict - closes browser tabs
|
||
|
nnoremap <C-e> <C-w>
|
||
|
|