ciknight / setbreakpoint

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

setbreakpoint

Introduction

This is a plungin aimed to facilitate inserting and removing breakpoints in python script. It will add/remove set_trace() in your code

Installation

Use your plugin manager of choice.

Using vim-plug

Plug 'ciknight/setbreakpoint'
  • Make sure to use Vim 7.4 or above
  • Usage Python3

Usage

Add this into your .vimrc:

autocmd FileType python nnoremap <leader>b :call ToggleBreakPoint()<Cr>

When you want to insert or remove a breakpoint at a certain sentence, just click F12.

About


Languages

Language:Vim Script 65.9%Language:Python 34.1%