refactor: complete overhaul
Complete overhaul of repo structure based on nvix. See https://github.com/niksingh710/nvix Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
parent
ff2c59724a
commit
61feed4086
75 changed files with 2916 additions and 2314 deletions
23
plugins/autosession.nix
Normal file
23
plugins/autosession.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{ config, ... }:
|
||||
let
|
||||
inherit (config.myvim.mkKey) mkKeymap;
|
||||
in
|
||||
{
|
||||
plugins.auto-session = {
|
||||
enable = true;
|
||||
autoLoad = true;
|
||||
|
||||
settings = {
|
||||
use_git_branch = true;
|
||||
session_lens.previewer = true;
|
||||
};
|
||||
};
|
||||
|
||||
keymaps = [
|
||||
(mkKeymap "n" "<leader>q." "<cmd>SessionRestore<CR>" "Last Session")
|
||||
(mkKeymap "n" "<leader>ql" "<cmd>Autosession search<CR>" "List Session")
|
||||
(mkKeymap "n" "<leader>qd" "<cmd>Autosession delete<CR>" "Delete Session")
|
||||
(mkKeymap "n" "<leader>qs" "<cmd>SessionSave<CR>" "Save Session")
|
||||
(mkKeymap "n" "<leader>qD" "<cmd>SessionPurgeOrphaned<CR>" "Purge Orphaned Sessions")
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue