-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.vimrc
25 lines (23 loc) · 933 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
:syntax enable
:map <F5> :r$HOME/mutt/signature<ESC>
:map <F4> :let &bg = ( &bg == "dark"? "light" : "dark" )<CR><ESC>
:map <F7> :if exists("syntax_on") <Bar>
\ syntax off <Bar>
\ else <Bar>
\ syntax enable <Bar>
\ endif <CR><ESC>
if (&term == "putty")
set bg=dark
endif
set pastetoggle=<F11>
iab perlbase <ESC>:set paste<C-M>i#!/usr/bin/perl<C-M>use warnings;<C-M>use strict;<C-M><ESC>:filetype detect<C-M>:set nopaste<C-M>i
iab rttake X-RT-Owner: griffin
iab rtresolve X-RT-Status: resolved
set showcmd " Show (partial) command in status line.
set showmatch " Show matching brackets.
set ignorecase " Do case insensitive matching
set incsearch " Incremental search
set autowrite " Automatically save before commands like :next and :make
"let perl_fold=1
highlight RedundantSpaces ctermbg=cyan guibg=cyan
match RedundantSpaces /\s\+$\| \+\ze\t/