nvim-config/lua/commands.lua
2022-09-30 10:30:39 -07:00

7 lines
215 B
Lua

-- Make it easier to run black
vim.api.nvim_create_user_command('Black', 'call Black()', {})
-- Insert IPDB statement
vim.api.nvim_create_user_command('IPDB', 'norm oimport ipdb; ipdb.set_trace() # fmt:skip', {})