~jhn/remember.nvim

80ad0e69ccc0239b0598a76b9aece13e7d696e34 — Johan 7 months ago 84d3d7d main v1.0.0
Add metadata and fix typo
2 files changed, 11 insertions(+), 1 deletions(-)

M README.md
M lua/remember.lua
M README.md => README.md +1 -1
@@ 1,6 1,6 @@
# remember.nvim

This is a Neovim version of the Vim plugin [vim-lastplace](https://github.com/farmergreg/vim-lastplace]). It uses the same logic as vim-lastplace but also as much as possible the Neovim Lua API.
This is a Neovim version of the Vim plugin [vim-lastplace](https://github.com/farmergreg/vim-lastplace). It uses the same logic as vim-lastplace but also as much as possible the Neovim Lua API.

When opening a file the plugin will set the cursor position to the edit position instead of top of the file. It ignores commit messages and certain buffer types.


M lua/remember.lua => lua/remember.lua +10 -0
@@ 1,3 1,13 @@
--
-- Author: johan@pwd.re
-- Version: 1.0.0
--
-- Based on https://github.com/farmergreg/vim-lastplace/
--
-- This work is licensed under the terms of the MIT license.
-- For a copy, see <https://opensource.org/licenses/MIT>.
--

local g   = vim.g
local bo  = vim.bo
local fn  = vim.fn