Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 45 lines (33 sloc) 0.972 kB
f523bdd @mfs Remove list of configs from cmgr to individual configs.
authored
1 " [cmgr] .vimrc
2
9feb4a5 @mfs Initial import.
authored
3 syntax on
4
5 set number
6 set tabstop=4
7 set shiftwidth=4
8 set expandtab
8860dd8 @mfs [vimrc] Clean up, add function key bindings and fix colors.
authored
9 set textwidth=80
9feb4a5 @mfs Initial import.
authored
10 set cindent
11 set cursorline
8860dd8 @mfs [vimrc] Clean up, add function key bindings and fix colors.
authored
12 set hlsearch
9feb4a5 @mfs Initial import.
authored
13 set mouse=a " enable middle mouse button paste
14
8860dd8 @mfs [vimrc] Clean up, add function key bindings and fix colors.
authored
15 " runtime syntax/colortest.vim
16 " :so $VIMRUNTIME/syntax/hitest.vim
17 highlight CursorLine cterm=none ctermbg=233
18 highlight LineNr ctermfg=7 ctermbg=233
19 highlight Pmenu ctermfg=0 ctermbg=7
20 highlight PmenuSel ctermfg=0 ctermbg=2
9feb4a5 @mfs Initial import.
authored
21
1d97c24 @mfs [vimrc] Add :bn and :bp mappings.
authored
22 map <S-Left> :bp<CR>
23 map <S-Right> :bn<CR>
24
8860dd8 @mfs [vimrc] Clean up, add function key bindings and fix colors.
authored
25 map <F1> <Esc>:tab help<CR>
26 map <F2> <Esc>:Run<CR>
27 map <F5> <Esc>:make<CR>
28
29 map <F8> <Esc>:tabnew ~/.vimrc<CR>
30 map <F9> <Esc>:hardcopy<CR>
31 map <F10> <Esc>:nohlsearch<CR>
32 map <F11> <Esc>:setlocal paste!<CR>
33 map <F12> <Esc>:setlocal spell! spelllang=en_au<CR>
34
35 cabbrev help tab help
36
37 command Run :tabnew | setlocal buftype=nofile | r ! #:p
38
9feb4a5 @mfs Initial import.
authored
39 autocmd BufNewFile * silent! 0r ~/.vim/templates/%:e.tpl
40
a31a346 @mfs [vimrc] Remove >80 char line length highlight.
authored
41 highlight TrailingSpaces ctermbg=darkred ctermfg=white
42 match TrailingSpaces /\s\+$/
9feb4a5 @mfs Initial import.
authored
43
44 filetype plugin indent on
Something went wrong with that request. Please try again.