Few handy vim settings

d966d9ba08eb28f26dd1b050eb7bce10c59ee5e2
Alexis Sellier committed ago 1 parent f5f0b125
.vimrc +9 -1
36 36
set mouse=vin                       " Enable mouse in insert and normal mode
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=1000                 " How long before 'CursorHold' event
41 -
41 +
set nobackup
42 +
set nowritebackup
43 +
set noswapfile
44 +
set nolazyredraw
45 +
set nostartofline
46 +
set cmdheight=1
47 +
set matchtime=2                     " Shorter brace match time
48 +
set textwidth=80
49 +
set virtualedit=block
42 50
43 51
let mapleader = ","
44 52
let g:goyo_margin_top = 0
45 53
let g:goyo_margin_bottom = 0
46 54
let g:goyo_width = 120