Reputation: 28722
I installed Python-mode as a plugin in my .vimrc:
Plugin 'klen/python-mode'
It got installed fine, but I had the breakpoint set to my <leader>b
like this:
" Enable breakpoints plugin
let g:pymode_breakpoint = 1
let g:pymode_breakpoint_key = '<leader>b'
I then wanted to change the '<leader>b'
to '<leader>k'
, but when I make the change, I still get the breakpoint when I hit leader-b
and nothing when I do leader-k
.
I've tried running PluginInstall
, restarting Vim, and restarting my terminal. How do I get Vim to recognize this change to the .vimrc?
Upvotes: 0
Views: 579
Reputation: 2068
That's because g:pymode_breakpoint_key
is not the name of the option. According to the pymode docs, the option is g:pymode_breakpoint_bind
. So the below should work:
let g:pymode_breakpoint_bind = '<leader>k'
Upvotes: 1