Add vim fugitive
This commit is contained in:
		
							parent
							
								
									af4fd2355f
								
							
						
					
					
						commit
						25db7f8041
					
				
							
								
								
									
										10
									
								
								init.lua
								
								
								
								
							
							
						
						
									
										10
									
								
								init.lua
								
								
								
								
							| 
						 | 
				
			
			@ -96,10 +96,10 @@ vim.g.maplocalleader = ' '
 | 
			
		|||
--  For more options, you can see `:help option-list`
 | 
			
		||||
 | 
			
		||||
-- Make line numbers default
 | 
			
		||||
vim.opt.number = true
 | 
			
		||||
--vim.opt.number = true
 | 
			
		||||
-- You can also add relative line numbers, for help with jumping.
 | 
			
		||||
--  Experiment for yourself to see if you like it!
 | 
			
		||||
-- vim.opt.relativenumber = true
 | 
			
		||||
vim.opt.relativenumber = true
 | 
			
		||||
 | 
			
		||||
-- Enable mouse mode, can be useful for resizing splits for example!
 | 
			
		||||
vim.opt.mouse = 'a'
 | 
			
		||||
| 
						 | 
				
			
			@ -277,8 +277,6 @@ require('lazy').setup({
 | 
			
		|||
      -- Document existing key chains
 | 
			
		||||
      require('which-key').register {
 | 
			
		||||
        ['<leader>c'] = { name = '[C]ode', _ = 'which_key_ignore' },
 | 
			
		||||
        ['<leader>d'] = { name = '[D]ocument', _ = 'which_key_ignore' },
 | 
			
		||||
        ['<leader>r'] = { name = '[R]ename', _ = 'which_key_ignore' },
 | 
			
		||||
        ['<leader>s'] = { name = '[S]earch', _ = 'which_key_ignore' },
 | 
			
		||||
        ['<leader>w'] = { name = '[W]orkspace', _ = 'which_key_ignore' },
 | 
			
		||||
      }
 | 
			
		||||
| 
						 | 
				
			
			@ -532,7 +530,7 @@ require('lazy').setup({
 | 
			
		|||
      --  - settings (table): Override the default settings passed when initializing the server.
 | 
			
		||||
      --        For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/
 | 
			
		||||
      local servers = {
 | 
			
		||||
        -- clangd = {},
 | 
			
		||||
        clangd = {},
 | 
			
		||||
        -- gopls = {},
 | 
			
		||||
        -- pyright = {},
 | 
			
		||||
        -- rust_analyzer = {},
 | 
			
		||||
| 
						 | 
				
			
			@ -807,7 +805,7 @@ require('lazy').setup({
 | 
			
		|||
  --
 | 
			
		||||
  --  Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.
 | 
			
		||||
  --    For additional information see: :help lazy.nvim-lazy.nvim-structuring-your-plugins
 | 
			
		||||
  -- { import = 'custom.plugins' },
 | 
			
		||||
  { import = 'custom.plugins' },
 | 
			
		||||
}, {})
 | 
			
		||||
 | 
			
		||||
-- The line beneath this is called `modeline`. See `:help modeline`
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -2,4 +2,4 @@
 | 
			
		|||
--  I promise not to create any merge conflicts in this directory :)
 | 
			
		||||
--
 | 
			
		||||
-- See the kickstart.nvim README for more information
 | 
			
		||||
return {}
 | 
			
		||||
return { 'tpope/vim-fugitive' }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue