Configured spellchecking and some macros
This commit is contained in:
parent
8c82261cc1
commit
8cb0b4c450
@ -5,6 +5,17 @@ syntax on
|
|||||||
" Enable mouse usage
|
" Enable mouse usage
|
||||||
set mouse=a
|
set mouse=a
|
||||||
|
|
||||||
|
" Configure the right-click menu
|
||||||
|
aunmenu PopUp
|
||||||
|
vnoremenu PopUp.Cut "+x
|
||||||
|
vnoremenu PopUp.Copy "+y
|
||||||
|
anoremenu PopUp.Paste "+gP
|
||||||
|
vnoremenu PopUp.Paste "+P
|
||||||
|
vnoremenu PopUp.Delete "_x
|
||||||
|
nnoremenu PopUp.Select\ All> ggVG
|
||||||
|
vnoremenu PopUp.Select\ All> gg0oG$
|
||||||
|
inoremenu PopUp.Select\ All <C-Home><C-O>VG
|
||||||
|
|
||||||
" Tab size
|
" Tab size
|
||||||
set tabstop=4
|
set tabstop=4
|
||||||
set shiftwidth=4
|
set shiftwidth=4
|
||||||
@ -42,6 +53,20 @@ set nocompatible
|
|||||||
filetype plugin on
|
filetype plugin on
|
||||||
syntax on
|
syntax on
|
||||||
|
|
||||||
|
" Hide the intro message
|
||||||
|
set shortmess+=I
|
||||||
|
|
||||||
|
" Force help documents into new tabs
|
||||||
|
cnoreabbrev <expr> help getcmdtype() == ":" && getcmdline() == 'help' ? 'tab help' : 'help'
|
||||||
|
cnoreabbrev <expr> h getcmdtype() == ":" && getcmdline() == 'h' ? 'tab help' : 'h'
|
||||||
|
|
||||||
|
" Enable spell checking
|
||||||
|
set spell
|
||||||
|
set spelllang=en_ca,en_us
|
||||||
|
set spelloptions=camel
|
||||||
|
hi clear SpellCap
|
||||||
|
hi clear SpellRare
|
||||||
|
|
||||||
" Disable the gitgutter background
|
" Disable the gitgutter background
|
||||||
let g:gitgutter_override_sign_column_highlight = 1
|
let g:gitgutter_override_sign_column_highlight = 1
|
||||||
highlight clear SignColumn
|
highlight clear SignColumn
|
||||||
|
Loading…
x
Reference in New Issue
Block a user