Created
January 14, 2016 15:17
-
-
Save dannycroft/d711a92831ded0903e28 to your computer and use it in GitHub Desktop.
Temp vimrc
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
| set nocompatible | |
| set t_Co=256 | |
| filetype off | |
| set rtp+=~/.vim/bundle/Vundle.vim | |
| call vundle#begin() | |
| Bundle 'gmarik/Vundle.vim' | |
| Bundle 'editorconfig/editorconfig-vim' | |
| Bundle 'goatslacker/mango.vim' | |
| Bundle 'kien/ctrlp.vim' | |
| Bundle 'scrooloose/nerdtree' | |
| Bundle 'Lokaltog/vim-powerline' | |
| Bundle 'bling/vim-airline' | |
| Bundle 'benmills/vimux' | |
| Bundle 'tpope/vim-surround' | |
| Bundle 'tpope/vim-markdown' | |
| Bundle 'tpope/vim-sensible' | |
| Bundle 'othree/html5.vim' | |
| Bundle 'hail2u/vim-css3-syntax' | |
| Bundle 'groenewege/vim-less' | |
| Bundle 'mustache/vim-mustache-handlebars' | |
| Bundle 'claco/jasmine.vim' | |
| Bundle 'scrooloose/syntastic' | |
| "Bundle 'othree/javascript-libraries-syntax.vim' | |
| "Bundle 'jelera/vim-javascript-syntax' | |
| Bundle 'maksimr/vim-jsbeautify' | |
| Bundle 'einars/js-beautify' | |
| Bundle 'pangloss/vim-javascript' | |
| Bundle 'mxw/vim-jsx' | |
| call vundle#end() | |
| filetype plugin on | |
| set number | |
| set laststatus=2 | |
| set hlsearch | |
| set incsearch | |
| set nobackup | |
| set ruler | |
| set visualbell t_vb= | |
| set backspace=2 | |
| set textwidth=80 | |
| set colorcolumn=+1 | |
| set list listchars=tab:▸\ ,eol:¬ | |
| set autoindent | |
| set tabstop=2 | |
| set shiftwidth=2 | |
| set shiftround | |
| set expandtab | |
| set pastetoggle=<F2> | |
| set exrc | |
| set secure | |
| set autoread | |
| "set winwidth=84 | |
| "set winheight=5 | |
| "set winminheight=5 | |
| "set winheight=999 | |
| set cpoptions+=$ | |
| set backupcopy=yes | |
| let g:syntastic_javascript_checkers = ['eslint'] | |
| let g:syntastic_check_on_open=1 | |
| let g:airline_theme='luna' | |
| let g:airline_powerline_fonts=1 | |
| set background=dark | |
| syntax on | |
| colorscheme hemisu | |
| let g:badwolf_css_props_highlight=1 | |
| let g:badwolf_darkgutter=1 | |
| let g:ctrlp_custom_ignore = 'node_modules\|DS_Store\|git' | |
| let g:jsx_ext_required = 0 | |
| hi Normal ctermbg=NONE | |
| map <C-n> :NERDTreeToggle<cr> | |
| let NERDTreeShowHidden=1 | |
| map <leader>h :nohlsearch<cr> | |
| map <leader>l :set list!<cr> | |
| fun! <SID>StripTrailingWhitespaces() | |
| let l = line(".") | |
| let c = col(".") | |
| %s/\s\+$//e | |
| call cursor(l, c) | |
| endfun | |
| autocmd WinEnter * setlocal cursorline | |
| autocmd WinLeave * setlocal nocursorline | |
| autocmd BufWritePre <buffer> :call <SID>StripTrailingWhitespaces() | |
| map <c-f> :call JsBeautify()<cr> | |
| autocmd FileType json noremap <buffer> <c-f> :call JsonBeautify()<cr> | |
| autocmd FileType jsx noremap <buffer> <c-f> :call JsxBeautify()<cr> | |
| autocmd FileType html noremap <buffer> <c-f> :call HtmlBeautify()<cr> | |
| autocmd FileType css noremap <buffer> <c-f> :call CSSBeautify()<cr> | |
| map rp :VimuxPromptCommand | |
| map rl :VimuxRunCommand | |
| map ri :VimuxInspectRunner | |
| map rx :VimuxClosePanes | |
| map rs :VimuxInterruptRunner | |
| :ca WQ wq | |
| :ca Wq wq | |
| :ca W w | |
| :ca Q q |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment