X-Git-Url: http://git.draconx.ca/gitweb/vimconf.git/blobdiff_plain/7d56dde690975cda4c5704a13472a010bd5ae315..0b203a2db3676d26ab822c52353bc739baff3f75:/plugin/keymap.vim diff --git a/plugin/keymap.vim b/plugin/keymap.vim index f53735f..48fe142 100644 --- a/plugin/keymap.vim +++ b/plugin/keymap.vim @@ -17,6 +17,6 @@ let g:leave_my_cursor_position_alone=1 " Jump to last cursor position when editing a file. autocmd BufReadPost * - \ if line("'\"") > 0 && line("'\"") <= line("$") | + \ if line("'\"") > 1 && line("'\"") <= line("$") | \ execute "goto" line2byte(line("'\"")) | \ endif