summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vim/spell/en.utf-8.add3
-rw-r--r--vim/spell/en.utf-8.add.splbin0 -> 70 bytes
l---------vim/vim1
-rw-r--r--vimrc18
4 files changed, 15 insertions, 7 deletions
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
--- /dev/null
+++ b/vim/spell/en.utf-8.add.spl
Binary files 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 <Leader>pe :tabedit
nnoremap <Leader>pn :tabnew<cr>
nnoremap <Leader>po :tabonly<cr>
+" Plugin Management
+nnoremap <Leader>pi :PluginInstall<cr>
+nnoremap <Leader>pu :PluginUpdate<cr>
+nnoremap <Leader>pc :PluginClean<cr>
+
" Toggles
nnoremap <Leader>tb :let &background = ( &background == "dark"? "light" : "dark" )<CR>
nnoremap <Leader>tg :GitGutterToggle<cr>
@@ -168,6 +173,7 @@ nnoremap <Leader>tl :set list!<cr>
nnoremap <Leader>tn :set number!<cr>
nnoremap <Leader>tp :set paste!<cr>
nnoremap <Leader>tr :set relativenumber!<cr>
+nnoremap <Leader>ts :set spell!<cr>
nnoremap <Leader>tt :NERDTreeToggle<cr>
nnoremap <Leader>tu :GundoToggle<cr>
@@ -175,11 +181,6 @@ nnoremap <Leader>tu :GundoToggle<cr>
nnoremap <Leader>sv :source ~/.vimrc<cr>
nnoremap <Leader>sc :source %<cr>
-" Plugin Management
-nnoremap <Leader>pi :PluginInstall<cr>
-nnoremap <Leader>pu :PluginUpdate<cr>
-nnoremap <Leader>pc :PluginClean<cr>
-
" File edits
nnoremap <Leader>es :UltiSnipsEdit<cr>
nnoremap <Leader>ev :e ~/.vimrc<cr>
@@ -196,6 +197,11 @@ nnoremap <c-e> 3<c-e>
nnoremap <Return> o<Esc>
nnoremap <s-Return> O<Esc>
+" Git
+nnoremap <Leader>gs :Gstatus<cr>
+nnoremap <Leader>gr :Gread<cr>
+nnoremap <Leader>gd :Gdiff<cr>
+
" Misc
nnoremap <tab> <C-^>
nnoremap Q :bd!<cr>