-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvimrc.local
executable file
·82 lines (53 loc) · 1.37 KB
/
vimrc.local
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
" Use Vim defaults (much better!)
set nocompatible
" Allow backspacing over everything in insert mode
set bs=indent,eol,start
" Always set autoindenting on
"set ai
" Keep a backup file
"set backup
" read/write a .viminfo file, don't store more than 50 lines of registers
set viminfo='20,\"50
" Keep 50 lines of command line history
set history=50
" Enable mouse usage (all modes)
"set mouse=a
" Show line numbers
set number
" Set background dark
set background=dark
" Opções espertas de busca
set is hls ic scs
" ShowMatch: mostra o início do bloco recem fechado
set sm
" Régua: mostra a posição do cursor
set ruler
" ShortMessages: encurta as mensagem da régua
set shm=filmnrwxt
" Autocomplete através do TAB, semelhando ao Bash
set wildmode=longest,list
" Pisca a tela ao inves de bipar
set visualbell
" ExpandTab: troca TABs por espacos
set et
" TabStop: numero de caracteres de avanco do TAB
set ts=4
set softtabstop=4
set showmode
set autoindent
set smarttab
" Usando <Backspace> para deletar linha
set backspace=eol,start,indent
" Show (partial) command in status line
set showcmd
set title
" Mostra o nome do arquivo na parte superior do prompt
set modeline
" Automatically read file changed outside of Vim
set autoread
set smartindent
set tabstop=4
set shiftwidth=4
set expandtab
" Habilita a exibição de sintaxe
syntax on