changes
This commit is contained in:
		
							parent
							
								
									709fa744d3
								
							
						
					
					
						commit
						032aeae276
					
				
							
								
								
									
										2
									
								
								init.lua
								
								
								
								
							
							
						
						
									
										2
									
								
								init.lua
								
								
								
								
							|  | @ -165,7 +165,7 @@ vim.keymap.set('n', '<Esc>', '<cmd>nohlsearch<CR>') | |||
| vim.keymap.set('n', '[d', vim.diagnostic.goto_prev, { desc = 'Go to previous [D]iagnostic message' }) | ||||
| vim.keymap.set('n', ']d', vim.diagnostic.goto_next, { desc = 'Go to next [D]iagnostic message' }) | ||||
| vim.keymap.set('n', '<leader>e', vim.diagnostic.open_float, { desc = 'Show diagnostic [E]rror messages' }) | ||||
| vim.keymap.set('n', '<leader>q', vim.diagnostic.setloclist, { desc = 'Open diagnostic [Q]uickfix list' }) | ||||
| vim.keymap.set('n', '<leader>cq', vim.diagnostic.setloclist, { desc = 'Open diagnostic [Q]uickfix list' }) | ||||
| vim.api.nvim_set_keymap('n', '<leader>n', ':Neotree toggle<CR>', { noremap = true, silent = true }) | ||||
| -- Exit terminal mode in the builtin terminal with a shortcut that is a bit easier | ||||
| -- for people to discover. Otherwise, you normally need to press <C-\><C-n>, which | ||||
|  |  | |||
|  | @ -0,0 +1,8 @@ | |||
| local gui = {} | ||||
| 
 | ||||
| if vim.g.neovide then | ||||
|   vim.o.guifont = 'JetBrainsMono Nerd Font:h13' | ||||
|   vim.g.neovide_font_ligatures = true | ||||
| end | ||||
| 
 | ||||
| return gui | ||||
|  | @ -1,5 +1,6 @@ | |||
| local keybinds = { | ||||
|   vim.api.nvim_set_keymap('n', ';', ':', { noremap = true }), | ||||
|   vim.api.nvim_set_keymap('i', '<M-d>', '<Esc>', { noremap = true, silent = true }), | ||||
|   vim.cmd 'command! QQ q!', | ||||
|   vim.cmd 'command! Q q', | ||||
|   vim.cmd 'command! WQ wq', | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue