Toggle line numbers and spelling.

This commit is contained in:
Ryan Cavicchioni 2013-10-21 23:35:08 -05:00
parent 139ffb6a77
commit e17b2ec210

View File

@ -43,6 +43,10 @@ set spell
set ruler set ruler
set laststatus=2 set laststatus=2
nnoremap <leader>s :set spell!<CR>
nnoremap <leader>n :set number!<CR>
nnoremap <leader>rn :set relativenumber!<CR>
if has("win32") if has("win32")
silent execute "!mkdir " . $HOME . "\\vimfiles\\backup" silent execute "!mkdir " . $HOME . "\\vimfiles\\backup"
silent execute "!mkdir " . $HOME . "\\vimfiles\\swp" silent execute "!mkdir " . $HOME . "\\vimfiles\\swp"