Further improvements
This commit is contained in:
		
							parent
							
								
									a64cddd5c8
								
							
						
					
					
						commit
						d77d805495
					
				
							
								
								
									
										40
									
								
								init.lua
								
								
								
								
							
							
						
						
									
										40
									
								
								init.lua
								
								
								
								
							|  | @ -215,7 +215,32 @@ require('lazy').setup({ | ||||||
|     build = ':TSUpdate', |     build = ':TSUpdate', | ||||||
|   }, |   }, | ||||||
| 
 | 
 | ||||||
|   -- NOTE: Next Step on Your Neovim Journey: Add/Configure additional "plugins" for kickstart |   -- Bufferline shows tab | ||||||
|  |   {'akinsho/bufferline.nvim', version = "*", dependencies = 'nvim-tree/nvim-web-devicons'}, | ||||||
|  |   -- List entered commands | ||||||
|  |   {'gelguy/wilder.nvim', version = "*", config = function() end }, | ||||||
|  |   -- File browser | ||||||
|  |   { | ||||||
|  |   "nvim-neo-tree/neo-tree.nvim", | ||||||
|  |   version = "*", | ||||||
|  |   dependencies = { | ||||||
|  |     "nvim-lua/plenary.nvim", | ||||||
|  |     "nvim-tree/nvim-web-devicons", -- not strictly required, but recommended | ||||||
|  |     "MunifTanjim/nui.nvim", | ||||||
|  |   }, | ||||||
|  |   config = function () | ||||||
|  |     require('neo-tree').setup {} | ||||||
|  |   end, | ||||||
|  |   }, | ||||||
|  |   -- Markdown preview | ||||||
|  |   {'iamcco/markdown-preview.nvim', | ||||||
|  |     ft = "markdown", | ||||||
|  |     -- build = "cd app && yarn install", -- after removing Joplin one day | ||||||
|  |     build = "cd app && npm install", | ||||||
|  |     init = function() vim.g.mkdp_filetypes = { "markdown" } end, | ||||||
|  |   }, | ||||||
|  | 
 | ||||||
|  |    -- NOTE: Next Step on Your Neovim Journey: Add/Configure additional "plugins" for kickstart | ||||||
|   --       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 'kickstart.plugins.autoformat', |   -- require 'kickstart.plugins.autoformat', | ||||||
|  | @ -589,4 +614,17 @@ cmp.setup { | ||||||
| -- | -- | ||||||
| 
 | 
 | ||||||
| vim.keymap.set('i', 'jj', '<esc>', { desc = 'Closes insert mode' }) | vim.keymap.set('i', 'jj', '<esc>', { desc = 'Closes insert mode' }) | ||||||
|  | vim.keymap.set('n', 'ec', ':', { desc = 'Execute command' }) | ||||||
|  | 
 | ||||||
|  | -- bufferline | ||||||
|  | vim.opt.termguicolors = true | ||||||
|  | require("bufferline").setup{} | ||||||
|  | 
 | ||||||
|  | -- wilder | ||||||
|  | local wilder = require('wilder') | ||||||
|  | wilder.setup({modes = {':', '/', '?'}}) | ||||||
|  | 
 | ||||||
|  | -- filetree | ||||||
|  | -- Unless you are still migrating, remove the deprecated commands from v1.x | ||||||
|  | vim.cmd([[ let g:neo_tree_remove_legacy_commands = 1 ]]) | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue