New answers tagged

2

For the cursor position, the answer can be found in $VIMRUNTIME/defaults.vim: " When editing a file, always jump to the last known cursor position. autocmd BufReadPost * \ if line("'\"") >= 1 && line("'\"") <= line("$") && &ft !~# 'commit' \ | exe "normal! g`\"" \ | ...


Top 50 recent answers are included