-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvimrc
64 lines (50 loc) · 1.23 KB
/
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
58
59
60
61
62
63
64
scriptencoding utf-8
set encoding=utf-8
set nocompatible " be iMproved
filetype off " required!
set rtp+=~/.vim/bundle/vundle/
call vundle#begin()
Plugin 'gmarik/Vundle.vim'
Plugin 'tpope/vim-fugitive'
Plugin 'mileszs/ack.vim'
call vundle#end()
:filetype plugin on
:filetype indent on
:syntax on
:set nu
:set mouse=a
:set tabstop=3
:set shiftwidth=3
"fixing broken backspace
set backspace=2
set cpo=aABceFs
set ttymouse=xterm2
" smart matching/searching
set smartcase
set ignorecase
" search highlighting
set hlsearch
set autowrite
autocmd BufNewFile,BufRead *.p? compiler perl
au BufNewFile,BufRead *.yaml,*.yml so ~/.vim/yaml.vim
" Default HTML-Styles for Template-Files
au BufNewFile,BufRead *.html.{tt,tt2,ep} set filetype=html
colorscheme murphy
set background=dark
set t_Co=16
map <C-Right> :cnext<CR>
map <C-Left> :cprevious<CR>
:command XMLprettify .!xmllint --format --silence --recover -
:set list
:set listchars=tab:→\ ,eol:¶
:set modeline
" Perl Folding
set foldmethod=syntax
set foldlevelstart=99
let perl_fold=1
let perl_nofold_packages=1
nnoremap <Space> za
" WARNING!
" Last statement!
" Try to find a ".vimlocal" file in the current CWD to override these .vimrc settings
silent! so .vimlocal