nvim-config/lua/commands.lua

7 lines
215 B
Lua
Raw Normal View History

-- 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', {})