mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-21 17:59:48 +01:00
feat: add keybinds for basic session-manager-nvim commands
This commit is contained in:
parent
d5f1c57a02
commit
557aa291bd
1 changed files with 8 additions and 0 deletions
|
@ -15,6 +15,14 @@ in {
|
|||
]
|
||||
++ optionals (cfg.usePicker) ["dressing-nvim"];
|
||||
|
||||
vim.nnoremap = {
|
||||
"<leader>sl" = ":SessionManager load_session<CR>";
|
||||
"<leader>sd" = ":SessionManager delete_session<CR>";
|
||||
"<leader>sc" = ":SessionManager save_current_session<CR>";
|
||||
"<leader>slt" = ":SessionManager load_last_session<CR>";
|
||||
# TODO: load_current_dir_session
|
||||
};
|
||||
|
||||
vim.luaConfigRC.nvim-session-manager = nvim.dag.entryAnywhere ''
|
||||
local Path = require('plenary.path')
|
||||
local sm = require('session_manager.config')
|
||||
|
|
Loading…
Reference in a new issue