New answers tagged

1 vote

How do I position cursor according to filetype (gitcommit)?

Even though Vim saves the last known cursor position into viminfo file upon exit, it doesn't restore it by default. Instead, there is a piece of VimScript code at :h restore-cursor (also in defaults....
Matt's user avatar
  • 19.6k

Top 50 recent answers are included