Fix: make vim command be os-specific, readme fix
(cherry picked from commit c58e8d3c3cc923639241e2e5edc59846fb5ba810)
This commit is contained in:
parent
e556aa4bf4
commit
205c965a61
@ -89,11 +89,11 @@ We include the `ghi` command. Try `ghi list` and have fun managing issues from c
|
|||||||
|
|
||||||
### Ruby Debugger
|
### Ruby Debugger
|
||||||
|
|
||||||
This gem is optonal and not included. It's used to give you visual IDE-style debugging within vim, combined
|
This plugin is optional and not included. It's used to give you visual IDE-style debugging within vim, combined
|
||||||
with the vim-ruby-debugger plugin. To install:
|
with the debugger-xml gem. To install:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
gem install ruby-debug-ide
|
gem install debugger-xml
|
||||||
```
|
```
|
||||||
|
|
||||||
### ZSH
|
### ZSH
|
||||||
|
@ -2,7 +2,10 @@
|
|||||||
"<leader>b
|
"<leader>b
|
||||||
let g:ruby_debugger_no_maps=1
|
let g:ruby_debugger_no_maps=1
|
||||||
|
|
||||||
let g:ruby_debugger_progname='mvim'
|
let os=substitute(system('uname'), '\n', '', '')
|
||||||
|
if os == 'Darwin' || os == 'Mac'
|
||||||
|
let g:ruby_debugger_progname='mvim'
|
||||||
|
endif
|
||||||
|
|
||||||
"Make our own maps
|
"Make our own maps
|
||||||
noremap <leader>db :call ruby_debugger#load_debugger() <bar> call g:RubyDebugger.toggle_breakpoint()<CR>
|
noremap <leader>db :call ruby_debugger#load_debugger() <bar> call g:RubyDebugger.toggle_breakpoint()<CR>
|
||||||
|
Loading…
Reference in New Issue
Block a user