Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

ethanholz/nvim-lastplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 

Repository files navigation

NO LONGER MAINTAINED

This is plugin is no longer maintained and works well enough for my use case.

Feel free to fork and update as needed.

nvim-lastplace

A Lua rewrite of vim-lastplace

Heavily inspired by https://github.com/farmergreg/vim-lastplace

Installation

packer.nvim

use 'ethanholz/nvim-lastplace'

paq

paq 'ethanholz/nvim-lastplace'

Then add the following to your init.lua:

require'nvim-lastplace'.setup{}

You may set options using the following:

require'nvim-lastplace'.setup {
    lastplace_ignore_buftype = {"quickfix", "nofile", "help"},
    lastplace_ignore_filetype = {"gitcommit", "gitrebase", "svn", "hgcommit"},
    lastplace_open_folds = true
}

For those of you still using Vimscript to configure your init.vim:

lua require'nvim-lastplace'.setup{}

You can now set options using:

let g:lastplace_ignore_buftype = "quickfix,nofile,help"
let g:lastplace_ignore_filetype = "gitcommit,gitrebase,svn,hgcommit"
let g:lastplace_open_folds = 1

About

A Lua rewrite of vim-lastplace

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages