-
-
Save rafaellucio/55a93876a656149cf2cd 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
"......................................................................ARQUIVO | |
"" Sai fora na marra! | |
imap <F12> <esc>:wqa!<cr> | |
map <F12> :wqa!<cr> | |
" Abreviacoes uteis para sua sanidade mental | |
cab W w| cab Q q| cab Wq wq| cab wQ wq| cab WQ wq | |
" Copy e paste | |
nmap <F3> :set paste<CR>:r !pbpaste<CR>:set nopaste<CR> | |
imap <F3> <Esc>:set paste<CR>:r !pbpaste<CR>:set nopaste<CR> | |
nmap <F2> :.w !pbcopy<CR><CR> | |
vmap <F2> :w !pbcopy<CR><CR> | |
set number | |
set nowrap | |
set t_Co=256 | |
set tabstop=4 | |
set shiftwidth=4 | |
set softtabstop=4 | |
set background=dark | |
set clipboard=unnamed | |
set nocompatible | |
set rtp+=~/.vim/bundle/Vundle.vim | |
filetype off | |
call vundle#begin() | |
Plugin 'gmarik/Vundle.vim' | |
" Adicionar outros plugins | |
" Plugin '' | |
Plugin 'maksimr/vim-jsbeautify' | |
Plugin 'mattn/emmet-vim' | |
Plugin 'kien/ctrlp.vim' | |
Plugin 'digitaltoad/vim-jade' | |
Plugin 'ervandew/supertab' | |
call vundle#end() | |
filetype plugin indent on | |
syn on | |
" JSBEAUTIFY shorcuts | |
" for javascript | |
autocmd FileType javascript noremap <buffer> <c-f> :call JsBeautify()<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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment