VIM <3 (vimrc)

.vimrc

Categoria: Vim

Software: VIM <3

[ Hits: 3.921 ]

Por: Pedro Henrique


Minha configuração pessoal do Vim, para uso geral, como editor para desenvolver código, mexer com rede e editar textos em geral.


" <> <>  Vim configuration file <><> "
" <> <>  developed by PHMUN4R1 <> <> "


" This program is free software: you can redistribute it and/or modify
" it under the terms of the GNU General Public License as published by
" the Free Software Foundation, either version 3 of the License, or
" (at your option) any later version.

" This program is distributed in the hope that it will be useful,
" but WITHOUT ANY WARRANTY; without even the implied warranty of
" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
" GNU General Public License for more details.

" You should have received a copy of the GNU General Public License
" along with this program.  If not, see <http://www.gnu.org/licenses/>.


" Numera linhas "
set number

"Syntax de código "
syntax on

" Esquema de Cores "
colorscheme desert
set background=dark

" Sempre mostra a linha de status"
set laststatus=2

" Formato da linha de status "
set statusline=\ Arquivo:\ %F%m%r%h\ %w\ \ Diretório\ de\ trabalho:\ %r%{getcwd()}%h\ -\ Linha:\ %l\ -\ Coluna:\ %c

" Numero de espaços visuais para tab
set tabstop=4

" Destaque para a linha atual
set cursorline

" Mostra comandos incompletos
set showcmd

" Ignora Case durante a busca
set ignorecase

" Resultados da busca em destaque
set hlsearch

" Faz a busca agir como navegadores modernos
set incsearch

" Mostrar colchetes e coisas do tipo que sejam  correspondentes
set showmatch
" Por quantos segundos piscar a correspondencia dos colchetes
set mat=2

" Sem barulhos irritantes para erros :)
set noerrorbells
set novisualbell
set t_vb=
set tm=500

" Configura o UTF-8 como padrão. Isso poupa dores de cabeça futuras...
set encoding=utf8

" Mantem o backup em off, já que a maioria dos arquivos editados estão no git, no MEGA, ou em outros serviços na nuvem.
set nobackup
set nowb
set noswapfile

" Quebra de linha em 500 caracteres
set lbr
set tw=500

" Seja esperto, use o tab inteligente kkkkkk
set smarttab

set ai "Auto indent
set si "Smart indent
set wrap "Wrap lines

" Um tab equivale a 4 espaços
set shiftwidth=4
set tabstop=4
  


Comentários

Nenhum comentário foi encontrado.


Contribuir com comentário

  



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts