From 0a4641a712152e2fc36e24324c1528d2807a8c7a Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Wed, 6 May 2015 13:58:41 +0100 Subject: added spell file --- vimrc | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'vimrc') diff --git a/vimrc b/vimrc index a760deb..578e780 100644 --- a/vimrc +++ b/vimrc @@ -31,7 +31,6 @@ Plugin 'tpope/vim-scriptease' Plugin 'tpope/vim-sensible' Plugin 'tpope/vim-surround' Plugin 'tpope/vim-unimpaired' - filetype plugin indent on syntax on @@ -134,6 +133,7 @@ set guifont=Monaco\ 11 " Case and spell set nospell +set spellfile="/home/urbain/.vim/spell/en.utf-8.add" set smartcase set ignorecase @@ -160,6 +160,11 @@ nnoremap pe :tabedit nnoremap pn :tabnew nnoremap po :tabonly +" Plugin Management +nnoremap pi :PluginInstall +nnoremap pu :PluginUpdate +nnoremap pc :PluginClean + " Toggles nnoremap tb :let &background = ( &background == "dark"? "light" : "dark" ) nnoremap tg :GitGutterToggle @@ -168,6 +173,7 @@ nnoremap tl :set list! nnoremap tn :set number! nnoremap tp :set paste! nnoremap tr :set relativenumber! +nnoremap ts :set spell! nnoremap tt :NERDTreeToggle nnoremap tu :GundoToggle @@ -175,11 +181,6 @@ nnoremap tu :GundoToggle nnoremap sv :source ~/.vimrc nnoremap sc :source % -" Plugin Management -nnoremap pi :PluginInstall -nnoremap pu :PluginUpdate -nnoremap pc :PluginClean - " File edits nnoremap es :UltiSnipsEdit nnoremap ev :e ~/.vimrc @@ -196,6 +197,11 @@ nnoremap 3 nnoremap o nnoremap O +" Git +nnoremap gs :Gstatus +nnoremap gr :Gread +nnoremap gd :Gdiff + " Misc nnoremap nnoremap Q :bd! -- cgit v1.2.3