From 483fa08b6bc0f5fa6d5720cda59e9c1f8de21b41 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 13 Jul 2014 22:50:49 +0400 Subject: [PATCH] Fix misspelling: position_resored => position_restored --- .vim/ftplugin/vcscommit.vim | 2 +- .vimrc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.vim/ftplugin/vcscommit.vim b/.vim/ftplugin/vcscommit.vim index 2ce1476..03d05e2 100644 --- a/.vim/ftplugin/vcscommit.vim +++ b/.vim/ftplugin/vcscommit.vim @@ -1,4 +1,4 @@ " Go home! call cursor(1, 1) -let b:position_resored = 1 +let b:position_restored = 1 nmap \c 1G0p8dwkdd diff --git a/.vimrc b/.vimrc index 0f51857..c365a95 100644 --- a/.vimrc +++ b/.vimrc @@ -274,14 +274,14 @@ autocmd BufReadPost * syntax on " Restore last known cursor position function! RestorePosition() - if exists('b:position_resored') + if exists('b:position_restored') return endif if line("'\"") > 0 call cursor(line("'\""), col("'\"")) endif - let b:position_resored = 1 + let b:position_restored = 1 endfunction " When editing a file, always jump to the last cursor position (if saved) -- 2.39.2