Added commands to open/close dapui as well cd to nvim config dir

This commit is contained in:
Warren Hood 2023-04-12 20:22:49 +02:00
parent 37f53ea0dc
commit e08702fd1d

View file

@ -1,2 +1,11 @@
-- Format file -- Format file
vim.cmd "silent! command! Format lua vim.lsp.buf.format()" 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"