vim/plugin/commands.vim
Kenneth Benzie (Benie) 992096a2a0 Add :Debug command
The :Debug command quickly starts a new debugging sessions.

* adds the `termdebug` package
* invokes `TermdebugCommand` with the given arguments
2018-09-14 16:17:09 +01:00

21 lines
620 B
VimL

" Sort Python Imports
command! ISort call do#isort()
" Strip white space from right of all lines.
" TODO: Make RStripLines work on a range
command! RStripLines call do#rstrip_lines()
" TODO: Strip white space from left of all lines, retains relative indentation.
" Set tab width
command! -nargs=1 TabWidth call do#set_tab_width(<f-args>)
" Toggle Checkbox
command! ToggleCheckbox call do#toggle_checkbox()
" Show highlight groups under the cursor
command! CursorHighlightGroups call do#cursor_highlight_groups()
" Setup and invoke a :TermdebugCommand
command! -nargs=+ -complete=file Debug call do#debug(<f-args>)