Added vim-ruby-debugger - real ide style debugging in vim
This commit is contained in:
parent
e44e50e023
commit
a89205fa7b
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -316,3 +316,6 @@
|
|||||||
[submodule "vim/bundle/mattn-webapi-vim"]
|
[submodule "vim/bundle/mattn-webapi-vim"]
|
||||||
path = vim/bundle/mattn-webapi-vim
|
path = vim/bundle/mattn-webapi-vim
|
||||||
url = https://github.com/mattn/webapi-vim.git
|
url = https://github.com/mattn/webapi-vim.git
|
||||||
|
[submodule "vim/bundle/astashov-vim-ruby-debugger"]
|
||||||
|
path = vim/bundle/astashov-vim-ruby-debugger
|
||||||
|
url = https://github.com/astashov/vim-ruby-debugger
|
||||||
|
1
vim/bundle/astashov-vim-ruby-debugger
Submodule
1
vim/bundle/astashov-vim-ruby-debugger
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 631a9ebbb13a75ed6e8e72b52d197301452777d8
|
17
vim/plugin/settings/vim-ruby-debugger.vim
Normal file
17
vim/plugin/settings/vim-ruby-debugger.vim
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
"Disable default maps which are too aggressive, overriding <leader>t and
|
||||||
|
"<leader>b
|
||||||
|
let g:ruby_debugger_no_maps=1
|
||||||
|
|
||||||
|
let g:ruby_debugger_progname='mvim'
|
||||||
|
|
||||||
|
"Make our own maps
|
||||||
|
noremap <leader>db :call ruby_debugger#load_debugger() <bar> call g:RubyDebugger.toggle_breakpoint()<CR>
|
||||||
|
noremap <leader>dv :call ruby_debugger#load_debugger() <bar> call g:RubyDebugger.open_variables()<CR>
|
||||||
|
noremap <leader>dm :call ruby_debugger#load_debugger() <bar> call g:RubyDebugger.open_breakpoints()<CR>
|
||||||
|
noremap <leader>dt :call ruby_debugger#load_debugger() <bar> call g:RubyDebugger.open_frames()<CR>
|
||||||
|
noremap <leader>ds :call ruby_debugger#load_debugger() <bar> call g:RubyDebugger.step()<CR>
|
||||||
|
noremap <leader>df :call ruby_debugger#load_debugger() <bar> call g:RubyDebugger.finish()<CR>
|
||||||
|
noremap <leader>dn :call ruby_debugger#load_debugger() <bar> call g:RubyDebugger.next()<CR>
|
||||||
|
noremap <leader>dc :call ruby_debugger#load_debugger() <bar> call g:RubyDebugger.continue()<CR>
|
||||||
|
noremap <leader>de :call ruby_debugger#load_debugger() <bar> call g:RubyDebugger.exit()<CR>
|
||||||
|
noremap <leader>dd :call ruby_debugger#load_debugger() <bar> call g:RubyDebugger.remove_breakpoints()<CR>
|
Loading…
Reference in New Issue
Block a user