35 lines
1.3 KiB
Plaintext
35 lines
1.3 KiB
Plaintext
*tiny-lastplace.txt* Restore cursor to last position on file open
|
|
|
|
Author: Stephen Waits <https://github.com/swaits>
|
|
License: MIT
|
|
|
|
==============================================================================
|
|
CONTENTS *tiny-lastplace-contents*
|
|
|
|
1. Introduction .......................... |tiny-lastplace-introduction|
|
|
2. Configuration ......................... |tiny-lastplace-configuration|
|
|
|
|
==============================================================================
|
|
1. INTRODUCTION *tiny-lastplace-introduction*
|
|
|
|
tiny-lastplace.nvim restores the cursor to its last known position when
|
|
reopening a file. Works out of the box with zero configuration.
|
|
|
|
==============================================================================
|
|
2. CONFIGURATION *tiny-lastplace-configuration*
|
|
|
|
*tiny-lastplace.setup()*
|
|
setup({opts})
|
|
|
|
Optional. All options shown with defaults: >lua
|
|
|
|
require("tiny-lastplace").setup({
|
|
exclude = { "gitcommit" },
|
|
})
|
|
<
|
|
Fields: ~
|
|
{exclude} (table) Filetypes to skip. Default: { "gitcommit" }
|
|
|
|
==============================================================================
|
|
vim:tw=78:ts=8:ft=help:norl:
|