Created
January 1, 2012 03:23
-
-
Save adilsoncarvalho/1546134 to your computer and use it in GitHub Desktop.
my vim rc file
This file contains 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
" orgulhosamente copiado de http://blog.myhro.info/2011/11/instalando-e-configurando-o-vim-no-windows/ | |
" Desabilitar o mouse: | |
set mouse=a | |
" Desabilitar menus: | |
"set guioptions-=m | |
"set guioptions-=r | |
"set guioptions-=T | |
" Desabilitar backups: | |
set nobackup | |
set noswapfile | |
set nowritebackup | |
" Cores e tema: | |
colorscheme slate | |
filetype on | |
syntax on | |
" Clipboard do sistema: | |
set clipboard=unnamed | |
" Tabs por espaços: | |
set expandtab | |
set shiftwidth=2 | |
set tabstop=2 | |
" Indentação: | |
filetype plugin indent on | |
set autoindent | |
" Régua, quebra e número de linhas: | |
set linebreak | |
set number | |
set ruler | |
" Navegação entre abas: | |
map <C-Tab> :tabnext<CR> | |
map <S-Tab> :tabprevious<CR> | |
" Busca: | |
set hlsearch | |
set ignorecase | |
set incsearch | |
" Limpar os resultados destacados: | |
nmap <silent> <C-C> :silent noh<CR> | |
" Fonte e janela: | |
set guifont=consolas:h10 | |
set encoding=utf-8 | |
set lines=36 columns=142 | |
set wildmenu | |
" Salvar: | |
nmap <silent> <C-S> :silent w<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment