Alias for Trim
This commit is contained in:
parent
cd8a43bef0
commit
61f3b45c0b
1 changed files with 1 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
||||||
-- These should be self-explanatory
|
-- These should be self-explanatory
|
||||||
vim.api.nvim_create_user_command('Cd', 'cd %:h', { desc = 'Change directory to the current file' })
|
vim.api.nvim_create_user_command('Cd', 'cd %:h', { desc = 'Change directory to the current file' })
|
||||||
vim.api.nvim_create_user_command('Py', '!python %', { desc = 'Execute python file' })
|
vim.api.nvim_create_user_command('Py', '!python %', { desc = 'Execute python file' })
|
||||||
|
vim.api.nvim_create_user_command('Trim', 'lua MiniTrailspace.trim()', { desc = 'Trim trailing whitespace' })
|
||||||
|
|
||||||
-- Instantly move help window to the right
|
-- Instantly move help window to the right
|
||||||
-- This is almost certainly a hacky way to do this)
|
-- This is almost certainly a hacky way to do this)
|
||||||
|
|
Loading…
Reference in a new issue