Last active
November 6, 2015 21:05
-
-
Save will118/aab4ba0bfb58dc1bf2af 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
| let mapleader = ',' | |
| map <C-h> <C-w>h | |
| map <C-j> <C-w>j | |
| map <C-k> <C-w>k | |
| map <C-l> <C-w>l | |
| set background=dark | |
| colorscheme PaperColor | |
| filetype off | |
| call pathogen#infect() | |
| call pathogen#helptags() | |
| filetype plugin indent on | |
| syntax on | |
| set noshowmode | |
| set timeoutlen=420 | |
| set nocompatible | |
| set autoindent | |
| set autoread " reload files when changed on disk, i.e. via `git checkout` | |
| set backspace=2 " Fix broken backspace in some setups | |
| set backupcopy=yes " see :help crontab | |
| set clipboard=unnamed " yank and paste with the system clipboard | |
| set directory-=. " don't store swapfiles in the current directory | |
| set encoding=utf-8 | |
| set expandtab " expand tabs to spaces | |
| set ignorecase " case-insensitive search | |
| set incsearch " search as you type | |
| set laststatus=2 " always show statusline | |
| set list " show trailing whitespace | |
| set listchars=tab:▸\ ,trail:▫ | |
| set number " show line numbers | |
| set shiftwidth=2 " normal mode indentation commands use 2 spaces | |
| set ruler " show where you are | |
| set scrolloff=3 " show context above/below cursorline | |
| set showcmd | |
| set smartcase " case-sensitive search if any caps | |
| set softtabstop=2 " insert mode tab and backspace use 4 spaces | |
| set tabstop=4 " actual tabs occupy 4 characters | |
| set wildignore=log/**,node_modules/**,target/**,tmp/**,*.rbc | |
| set wildmenu " show a navigable menu for tab completion | |
| set wildmode=longest,list,full | |
| set mouse=a | |
| set textwidth=79 | |
| set colorcolumn=+1 | |
| if exists('$TMUX') " Support resizing in tmux | |
| set ttymouse=xterm2 | |
| let &t_SI = "\<Esc>Ptmux;\<Esc>\<Esc>]50;CursorShape=1\x7\<Esc>\\" | |
| let &t_EI = "\<Esc>Ptmux;\<Esc>\<Esc>]50;CursorShape=0\x7\<Esc>\\" | |
| else | |
| let &t_SI = "\<Esc>]50;CursorShape=1\x7" | |
| let &t_EI = "\<Esc>]50;CursorShape=0\x7" | |
| endif | |
| let g:NERDSpaceDelims=1 | |
| let g:NERDTreeMinimalUI=1 | |
| let NERDTreeIgnore = ['\.pyc$'] | |
| nmap <leader>d :NERDTreeToggle<CR> | |
| let g:syntastic_check_on_open=1 | |
| let g:syntastic_javascript_checkers = ['eslint'] | |
| let g:pymode_lint_unmodified = 0 | |
| let g:pymode = 1 | |
| let g:pymode_folding = 0 | |
| let g:pymode_rope=0 | |
| autocmd FileType javascript set tabstop=8|set shiftwidth=2|set expandtab | |
| hi SpellCap ctermfg=027 ctermbg=209 guifg=#dfff00 guibg=#ffaf00 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment