mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 11:02:37 +00: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…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 NotAShelf
				NotAShelf