mirror of
https://github.com/WarrenHood/dotfiles.git
synced 2025-04-29 15:25:00 +01:00
Added commands to open/close dapui as well cd to nvim config dir
This commit is contained in:
parent
37f53ea0dc
commit
e08702fd1d
|
@ -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