Created
August 25, 2015 20:13
-
-
Save thanley11/8df54b53e3628098b8c8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
filetype off | |
call pathogen#infect() | |
call pathogen#helptags() | |
set nocompatible " get rid of Vi compatibility mode. SET FIRST! | |
filetype plugin indent on " filetype detection[ON] plugin[ON] indent[ON] | |
set t_Co=256 " enable 256-color mode. | |
syntax enable " enable syntax highlighting (previously syntax on). | |
colorscheme desert " set colorscheme | |
set number " show line numbers | |
set laststatus=2 " last window always has a statusline | |
filetype indent on " activates indenting for files | |
set nohlsearch " Don't continue to highlight searched phrases. | |
set incsearch " But do highlight as you type your search. | |
set ignorecase " Make searches case-insensitive. | |
set ruler " Always show info along bottom. | |
set nowrap " don't wrap text | |
set tabstop=4 " tab spacing | |
set shiftwidth=4 " indent/outdent by 4 columns | |
set smarttab " use tabs at the start of a line, spaces elsewhere | |
set expandtab " use spaces instead of tabs | |
set autoindent " auto-indent | |
set colorcolumn=81 | |
set clipboard=unnamedplus | |
set vb t_vb= | |
cd C:\Users\hanleyt\Documents | |
map <F2> :NERDTreeToggle<CR> | |
"map <Leader>nt :NERDTree %:p:h<CR> | |
let NERDTreeIgnore = ['\.pyc$'] | |
let g:pymode_rope = 1 | |
let g:pymode_doc = 1 | |
let g:pymode_doc_key = 'K' | |
let g:user_emmet_mode='n' | |
"one space after entry, use hh + ',' (h h comma) | |
let g:user_emmet_leader_key='hh' | |
let g:syntastic_javascript_checkers = ['jshint'] | |
let g:syntastic_javascript_jshint_exec='C:\Users\hanleyt\AppData\Roaming\npm\jshint.cmd' | |
im :<CR> :<CR> | |
:fixdel | |
set guicursor+=n-v-c:blinkon0 | |
set backspace=2 | |
set backspace=indent,eol,start | |
vmap <C-c> "+yi | |
vmap <C-x> "+c | |
vmap <C-v> c<ESC>"+p | |
imap <C-v> <C-r><C-o>+ | |
:set novb | |
"Maps space to leader key | |
let mapleader=" " | |
autocmd BufRead,BufNewFile *.txt set filetype=conf "sets the filetype .txt to conf | |
Plugins: | |
nerdcommenter | |
nerdtree | |
syntastic | |
vim-vinegar | |
emmet-vim |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment