Created
October 14, 2016 09:42
-
-
Save mkhuda/fed4df4a3da903c1415ff1114073fc86 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
| execute pathogen#infect() | |
| call pathogen#helptags() | |
| autocmd FileType html set omnifunc=htmlcomplete#CompleteTags | |
| syntax on | |
| set autoindent | |
| set cindent | |
| set shiftwidth=2 | |
| set tabstop=2 | |
| set number | |
| inoremap { {<CR>}<up><end><CR> } | |
| map <c-f> :call JsBeautify()<cr> | |
| " or | |
| autocmd FileType javascript noremap <buffer> <c-f> :call JsBeautify()<cr> | |
| " for json | |
| autocmd FileType json noremap <buffer> <c-f> :call JsonBeautify()<cr> | |
| " for jsx | |
| autocmd FileType jsx noremap <buffer> <c-f> :call JsxBeautify()<cr> | |
| " for html | |
| autocmd FileType html noremap <buffer> <c-f> :call HtmlBeautify()<cr> | |
| " for css or scss | |
| autocmd FileType css noremap <buffer> <c-f> :call CSSBeautify()<cr> | |
| call plug#begin('~/.vim/plugged') | |
| Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } | |
| Plug 'https://github.com/wincent/Command-T' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment