Update vimrc
16f75d21e10cfd0530feb43c2ab0f8f327568ff7
1 parent
e599b757
.vimrc
+2 -3
| 31 | 31 | set nocursorline " Highlight current line |
|
| 32 | 32 | set scrolloff=4 |
|
| 33 | 33 | set nofoldenable |
|
| 34 | 34 | set timeoutlen=500 " Set timeout between key sequences |
|
| 35 | 35 | set background=dark |
|
| 36 | - | set mouse=vin " Enable mouse in insert and normal mode |
|
| 36 | + | set mouse=a " Enable mouse in all modes |
|
| 37 | 37 | set directory=~/tmp,/var/tmp,/tmp,. " Keep swap files in one of these |
|
| 38 | 38 | set wmh=0 " Minimum window height = 0 |
|
| 39 | 39 | set showcmd |
|
| 40 | 40 | set updatetime=250 " How long before 'CursorHold' event |
|
| 41 | 41 | set nobackup |
| 53 | 53 | set colorcolumn=80 |
|
| 54 | 54 | set list |
|
| 55 | 55 | set listchars=tab:·\ ,eol:¬,trail:█ |
|
| 56 | 56 | set fillchars=diff:\ ,vert:│ |
|
| 57 | 57 | set diffopt=filler,vertical,foldcolumn:0 |
|
| 58 | - | set lazyredraw " Stop vim from freaking out all the time |
|
| 59 | - | set statusline=%<%f\ %h%m%r%=%{Hi()}\ %y\ \ %-14(%{&sw}:%{&sts}:%{&ts}%)%-14.(%l,%c%V%)\ %P |
|
| 58 | + | set statusline=%<%f\ %h%m%r%=%y\ \ %-14(%{&sw}:%{&sts}:%{&ts}%)%-14.(%l,%c%V%)\ %P |
|
| 60 | 59 | set guicursor=n-v-c:block-Cursor/lCursor-blinkon0,i-ci:ver25-Cursor/lCursor,r-cr:hor20-Cursor/lCursor |
|
| 61 | 60 | ||
| 62 | 61 | " We don't use tabs much, but at least try and show less cruft |
|
| 63 | 62 | function! Tabline() |
|
| 64 | 63 | let s = '' |