Skip to content

A simple lua file to take advantage of vim's default mksession for automatic session management

Notifications You must be signed in to change notification settings

Chamal1120/nvim-session-save

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

nvim session save config

This is a simple lua file to get vim session save feature to work on neovim with init.lua.

vim session saves (afaik),

  1. Cursor position
  2. Code folds
  3. Buffers and their positions. (third party buffers have issues)

How to setup

  1. Clone the repo to your local directory.
  2. Move the session-save.lua to the root of your neovim config (where init.lua file is located).
  3. Import the session-save.lua file using the following command in your init.lua file.
require("session-save")

To-do

[ ] Enable the neotree buffer save.

Thanks

About

A simple lua file to take advantage of vim's default mksession for automatic session management

Topics

Resources

Stars

Watchers

Forks

Languages