mirror of
				https://github.com/WarrenHood/dotfiles.git
				synced 2025-11-04 04:58:41 +00:00 
			
		
		
		
	Added commands to open/close dapui as well cd to nvim config dir
(cherry picked from commit e08702fd1d)
			
			
This commit is contained in:
		
							parent
							
								
									2c9a05e098
								
							
						
					
					
						commit
						91fe53d702
					
				| 
						 | 
				
			
			@ -1,2 +1,11 @@
 | 
			
		|||
-- Format file
 | 
			
		||||
vim.cmd "silent! command! Format lua vim.lsp.buf.format()"
 | 
			
		||||
 | 
			
		||||
-- Open dapui
 | 
			
		||||
vim.cmd "silent! command! DapUIOpen lua require('dapui').open()"
 | 
			
		||||
 | 
			
		||||
-- Close dapui
 | 
			
		||||
vim.cmd "silent! command! DapUIOpen lua require('dapui').close()"
 | 
			
		||||
 | 
			
		||||
-- Edit config
 | 
			
		||||
vim.cmd "silent! command! ConfigOpen cd ~/.config/nvim"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue