Apenas um lugar para guardar algumas idéias.



.vimrc


E-mail this post



Remember me (?)



All personal information that you provide here will be governed by the Privacy Policy of Blogger.com. More...



Arquivo .vimrc
Para configurações do seu VI.

set is hls ic scs magic "Opcoes espertas de busca
set sm "ShowMatch: mostra o par do parenteses/chaves recem fechado
set ai "AutoIdent: identacao automatica
set ts=5 "TabStop: numero de caracteres de avanco do TAB
set ruler "mostra a posicao do cursor, regua
set visualbell "pisca a tela ao inves de bipar
set wildmode=longest,list:full "para completar igual ao TAB do bash
set mouse=a "
set smartindent
set autowrite
set nobackup
set backspace=2
set nocompatible
set comments=b:#,:%,fb:-,n:>,n:)
set digraph
set esckeys
set noinsertmode
set laststatus=2
set lazyredraw
set number "habilita numeracao de linhas
set splitbelow

" --------------------- CORES ----------------------
":if has("terminfo")
": set t_Co=8
": set t_Sf=1%dm
": set t_Sb=1%dm
":else
": set t_Co=8
": set t_Sf=m
": set t_Sb=m
":endif

":if has("terminfo")
": set t_Co=16
": set t_AB=1%{8}%<%t%p1%{40}%+%e%p1%{92}%+%;%dm
": set t_AF=1%{8}%<%t%p1%{30}%+%e%p1%{82}%+%;%dm
":else
": set t_Co=16
": set t_Sf=m
": set t_Sb=m
":endif

syntax on

"hi p_c ctermbg=black ctermfg=white
set bg=dark
colorscheme morning "Esquemas em /colors do diretorio do vi

set showcmd " Show (partial) command in status line.
set showmatch " Show matching brackets.
set ruler " Show the line and column numbers of the cursor
set ignorecase " Do case insensitive matching
set incsearch " Incremental search
"hi Comment term=bold ctermfg=Green guifg=Red
"hi Constant term=underline ctermfg=Magenta guifg=Magenta
"hi Special term=bold ctermfg=Magenta guifg=Magenta
"hi Identifier term=underline ctermfg=Blue guifg=Blue
"hi Statement term=bold ctermfg=DarkRed gui=NONE guifg=Brown
"hi PreProc term=underline ctermfg=Magenta guifg=Purple
"hi Type term=underline ctermfg=Blue gui=NONE guifg=Blue
"hi Visual term=reverse ctermfg=Yellow ctermbg=Red gui=NONE guifg=Black guibg=Yellow
"hi Search term=reverse ctermfg=Black ctermbg=Cyan gui=NONE guifg=Black guibg=Cyan
"hi Tag term=bold ctermfg=DarkGreen guifg=DarkGreen
"hi Error term=reverse ctermfg=15 ctermbg=9 guibg=Red guifg=White
"hi Todo term=standout ctermbg=Yellow ctermfg=Black guifg=Blue guibg=Yellow
"hi StatusLine term=bold,reverse cterm=NONE ctermfg=Yellow ctermbg=DarkGray gui=NONE guifg=Yellow guibg=DarkGray
"hi! link MoreMsg Comment
"hi! link ErrorMsg Visual
"hi! link WarningMsg ErrorMsg
"hi! link Question Comment
"hi link String Constant
"hi link Character Constant
"hi link Number Constant
"hi link Boolean Constant
"hi link Float Number
"hi link Function Identifier
"hi link Conditional Statement
"hi link Repeat Statement
"hi link Label Statement
"hi link Operator Statement
"hi link Keyword Statement
"hi link Exception Statement
"hi link Include PreProc
"hi link Define PreProc
"hi link Macro PreProc
"hi link PreCondit PreProc
"hi link StorageClass Type
"hi link Structure Type
"hi link Typedef Type
"hi link SpecialChar Special
"hi link Delimiter Special
"hi link SpecialComment Special
"hi link Debug Special

" ----------- BARRA DE STATUS -------------
"MOSTRA o codigo ascii do caractere sob o cursor e outras coisas mais
set laststatus=2 " Sempre exibe a barra de status
" ----------- BARRA DE STATUS -------------


0 Responses to “.vimrc”

Leave a Reply

      Convert to boldConvert to italicConvert to link

 


About me

  • I'm alisonarantes
  • From Belo Horizonte, Minas Gerais, Brazil
  • My profile

Previous posts

Archives

Links


ATOM 0.3