vim option

Thilo Six T.Six at gmx.de
Mon Jun 25 20:24:00 BST 2007


adams wrote the following on 25.06.2007 19:30
> Gang,
> 
> I am looking for the option that allows me to start up
> editing in a previous file where I left off.

<snip>

/etc/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
----------------------------------------->

> Thanks in advance,

-- 
Thilo

key: 0x4A411E09




More information about the kubuntu-users mailing list