Skip to content

Can't run commands from MacVim #117

@wilgoszpl

Description

@wilgoszpl

When I try to run rspec commandsj from macVim, there is an error shown:

Error detected while processing function RunCurrentSpecFile[4]..<SNR>92_RunSpecs:
E34: No previous command

From the terminal vim everything works fine though.

Here is my config. I use iTerm2 as terminal:

let g:rspec_runner = "os_x_iterm2"
let g:rspec_command = "!spring rspec --color {spec}"
map <Leader>t :call RunCurrentSpecFile()<CR>
map <Leader>s :call RunNearestSpec()<CR>
map <Leader>l :call RunLastSpec()<CR>
map <Leader>a :call RunAllSpecs()<CR>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions