-
Notifications
You must be signed in to change notification settings - Fork 1
/
.vimrc
57 lines (44 loc) · 976 Bytes
/
.vimrc
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
" Alfredo's vim file
set nocompatible
" Set the encoding to UTF-8
set encoding=utf8
filetype plugin indent on
syntax on
filetype plugin on
" Tab spacing
set tabstop=2
set shiftwidth=2
set expandtab
set hidden
set autoindent
set ruler
set showmode
set showcmd
set wildmenu
set wildmode =list:longest,full
" Higlight searches while typing
set incsearch
" Higlight all search matches
set hlsearch
" Show the line numbers
set number
" Set the Nevrland2-Darker colorsheme
colorscheme neverland2-darker
" Start all "IDE" tools
function Ide()
" Settings for the NERDTree plugin
" Add to the Start up
NERDTree
" Change tho editing windows
wincmd p
" SQL files correction
"TODO: Verify the cause
:let g:omni_sql_no_default_maps = 1
" Enable Tagbar
TagbarToggle
endfunction
" Map Ide to F9
nmap <F9> :call Ide() <cr>
" Higlight trailing whitespaces
highlight RedundantSpaces ctermbg=red guibg=red
match RedundantSpaces /\s\+$/