adding copilot and harpoon
This commit is contained in:
		
							parent
							
								
									f0287843d8
								
							
						
					
					
						commit
						3106037ce8
					
				
							
								
								
									
										2
									
								
								init.lua
								
								
								
								
							
							
						
						
									
										2
									
								
								init.lua
								
								
								
								
							|  | @ -163,6 +163,8 @@ require('lazy').setup({ | ||||||
|   --       These are some example plugins that I've included in the kickstart repository. |   --       These are some example plugins that I've included in the kickstart repository. | ||||||
|   --       Uncomment any of the lines below to enable them. |   --       Uncomment any of the lines below to enable them. | ||||||
|     require 'lornest.plugins.fugitive', |     require 'lornest.plugins.fugitive', | ||||||
|  |     require 'lornest.plugins.harpoon', | ||||||
|  |     require 'lornest.plugins.copilot', | ||||||
|   -- require 'kickstart.plugins.autoformat', |   -- require 'kickstart.plugins.autoformat', | ||||||
|   -- require 'kickstart.plugins.debug', |   -- require 'kickstart.plugins.debug', | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -0,0 +1,5 @@ | ||||||
|  | return { | ||||||
|  |     { | ||||||
|  |         "github/copilot.vim", | ||||||
|  |     }, | ||||||
|  | } | ||||||
|  | @ -0,0 +1,15 @@ | ||||||
|  | return { | ||||||
|  |   'ThePrimeagen/harpoon', | ||||||
|  |   config = function() | ||||||
|  |     local mark = require("harpoon.mark") | ||||||
|  |     local ui = require("harpoon.ui") | ||||||
|  | 
 | ||||||
|  |     vim.keymap.set("n", "<leader>ha", mark.add_file) | ||||||
|  |     vim.keymap.set("n", "<C-e>", ui.toggle_quick_menu) | ||||||
|  | 
 | ||||||
|  |     vim.keymap.set("n", "<C-h>", function() ui.nav_file(1) end) | ||||||
|  |     vim.keymap.set("n", "<C-t>", function() ui.nav_file(2) end) | ||||||
|  |     vim.keymap.set("n", "<C-n>", function() ui.nav_file(3) end) | ||||||
|  |     vim.keymap.set("n", "<C-s>", function() ui.nav_file(4) end) | ||||||
|  |   end, | ||||||
|  | } | ||||||
		Loading…
	
		Reference in New Issue