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 --- vim/spell/en.utf-8.add | 3 +++ vim/spell/en.utf-8.add.spl | Bin 0 -> 70 bytes vim/vim | 1 - vimrc | 18 ++++++++++++------ 4 files changed, 15 insertions(+), 7 deletions(-) create mode 100644 vim/spell/en.utf-8.add create mode 100644 vim/spell/en.utf-8.add.spl delete mode 120000 vim/vim diff --git a/vim/spell/en.utf-8.add b/vim/spell/en.utf-8.add new file mode 100644 index 0000000..1d49910 --- /dev/null +++ b/vim/spell/en.utf-8.add @@ -0,0 +1,3 @@ +Plugin +Colorscheme +vim diff --git a/vim/spell/en.utf-8.add.spl b/vim/spell/en.utf-8.add.spl new file mode 100644 index 0000000..d34ca08 Binary files /dev/null and b/vim/spell/en.utf-8.add.spl differ diff --git a/vim/vim b/vim/vim deleted file mode 120000 index 7c09735..0000000 --- a/vim/vim +++ /dev/null @@ -1 +0,0 @@ -/home/urbain/dotfiles/vim \ No newline at end of file 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