blob: 58557d65c1efef5e6f937fd6c014c85e6ee4ba60 (
plain)
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
|
" Mandrakelinux configuration.
" Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com>
" Don't set vi-compatibility
set nocp
" Syntax highlighting only for vim-enhanced
if has("syntax")
syntax on
endif
" I know it's horrible for a vi master but useful for newbies.
imap <C-a> <Esc>I
imap <C-e> <ESC>A
map <C-Tab> <C-W>w
imap <C-Tab> <C-O><C-W>w
cmap <C-Tab> <C-C><C-Tab>
" Some macros to manage the buffer of vim
map <F5> :bp<C-M>
map <F6> :bn<C-M>
map <F7> :bd<C-M>
" Default backspace like normal
set bs=2
" Terminal for 80 char ? so vim can play till 79 char.
"set textwidth=79
" Some options deactivated by default (remove the "no" to enable them)
set nobackup
set nohlsearch
set noincsearch
" Always display a status-bar
" set laststatus=2
" Show the position of the cursor
set ruler
" Uncomment this to disable wrap
"set nowrap
" Show matching parentheses
set showmatch
" Make % work with <>
set mps+=<:>
|