vimでファイルのオープン後に以前編集していた行から編集する方法
以下を.vimrcに記述する
" Uncomment the following to have Vim jump to the last position when " reopening a file if has("autocmd") au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") \| exe "normal! g'\"" | endif endif