Optionally restore cursor position
This uses the '" mark to restore the last cursor position when opening a file, implemented as BufReadPost autocmd.
This commit is contained in:
parent
a576a6370a
commit
7107538da0
2 changed files with 26 additions and 5 deletions
|
@ -182,6 +182,14 @@ Default: does not exist
|
|||
Show <empty buffer> and <quit>.
|
||||
|
||||
|
||||
============-
|
||||
|
||||
let g:startify_restore_position = 0
|
||||
|
||||
Jump to the last cursor position when opening a file. You don't need this, if
|
||||
you already have this in your vimrc: |last-position-jump|.
|
||||
|
||||
|
||||
============-
|
||||
|
||||
let g:startify_custom_indices = []
|
||||
|
@ -319,7 +327,8 @@ getting feedback! Same for issues or feature requests.
|
|||
|
||||
Thank you for flying mhi airlines. Get the Vim on!
|
||||
|
||||
You can also follow me on Twitter: [@_mhinz_](https://twitter.com/_mhinz_)
|
||||
You can also follow me on Twitter: @_mhinz_
|
||||
|
||||
|
||||
==============================================================================
|
||||
8. License *startify-license*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue