vim-notebook icon indicating copy to clipboard operation
vim-notebook copied to clipboard

Three-spaces problem in J

Open jonahx opened this issue 8 years ago • 0 comments

You mention this in the docs. I'm still seeing it despite using the suggested config:

let g:notebook_cmd = '/Applications/j64-804/bin/jconsole'
let g:notebook_stop = "exit ''"
let g:notebook_send0 = "''"
let g:notebook_send = "'VIMJNOTEBOOK'"
let g:notebook_detect = '   VIMJNOTEBOOK'

To clarify the issue, the 3 spaces before every prompt are collected and included with the output. Therefore if I execute a code block with N lines, the first line of the output will include 3*N spaces at the start. Eg,

    x=.7;8;9
    x=.2;x
    *:&.> x

         ┌─┬──┬──┬──┐
│4│49│64│81│
└─┴──┴──┴──┘

The desired behavior would be:

    x=.7;8;9
    x=.2;x
    *:&.> x

┌─┬──┬──┬──┐
│4│49│64│81│
└─┴──┴──┴──┘

Any suggestions?

Thanks!

jonahx avatar Jul 12 '17 13:07 jonahx