|  | @@ -15,17 +15,22 @@ lvim.keys.normal_mode["<C-s>"] = ":w<cr>"
 | 
	
		
			
				|  |  |  -- lvim.keys.normal_mode["<C-q>"] = ":q<cr>"
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  -- Change Telescope navigation to use j and k for navigation and n and p for history in both input and normal mode.
 | 
	
		
			
				|  |  | --- lvim.builtin.telescope.on_config_done = function()
 | 
	
		
			
				|  |  | ---   local actions = require "telescope.actions"
 | 
	
		
			
				|  |  | +-- we use protected-mode (pcall) just in case the plugin wasn't loaded yet.
 | 
	
		
			
				|  |  | +-- local _, actions = pcall(require, "telescope.actions")
 | 
	
		
			
				|  |  | +-- lvim.builtin.telescope.defaults.mappings = {
 | 
	
		
			
				|  |  |  --   -- for input mode
 | 
	
		
			
				|  |  | ---   lvim.builtin.telescope.defaults.mappings.i["<C-j>"] = actions.move_selection_next
 | 
	
		
			
				|  |  | ---   lvim.builtin.telescope.defaults.mappings.i["<C-k>"] = actions.move_selection_previous
 | 
	
		
			
				|  |  | ---   lvim.builtin.telescope.defaults.mappings.i["<C-n>"] = actions.cycle_history_next
 | 
	
		
			
				|  |  | ---   lvim.builtin.telescope.defaults.mappings.i["<C-p>"] = actions.cycle_history_prev
 | 
	
		
			
				|  |  | +--   i = {
 | 
	
		
			
				|  |  | +--     ["<C-j>"] = actions.move_selection_next,
 | 
	
		
			
				|  |  | +--     ["<C-k>"] = actions.move_selection_previous,
 | 
	
		
			
				|  |  | +--     ["<C-n>"] = actions.cycle_history_next,
 | 
	
		
			
				|  |  | +--     ["<C-p>"] = actions.cycle_history_prev,
 | 
	
		
			
				|  |  | +--   },
 | 
	
		
			
				|  |  |  --   -- for normal mode
 | 
	
		
			
				|  |  | ---   lvim.builtin.telescope.defaults.mappings.n["<C-j>"] = actions.move_selection_next
 | 
	
		
			
				|  |  | ---   lvim.builtin.telescope.defaults.mappings.n["<C-k>"] = actions.move_selection_previous
 | 
	
		
			
				|  |  | --- end
 | 
	
		
			
				|  |  | +--   n = {
 | 
	
		
			
				|  |  | +--     ["<C-j>"] = actions.move_selection_next,
 | 
	
		
			
				|  |  | +--     ["<C-k>"] = actions.move_selection_previous,
 | 
	
		
			
				|  |  | +--   },
 | 
	
		
			
				|  |  | +-- }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  -- Use which-key to add extra bindings with the leader-key prefix
 | 
	
		
			
				|  |  |  -- lvim.builtin.which_key.mappings["P"] = { "<cmd>Telescope projects<CR>", "Projects" }
 |