home.social

#nvimr — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #nvimr, aggregated by home.social.

  1. Last month I switched over from using #NvimR to #RNvim (the lua-based successor), which uses #TreeSitter for syntax highlighting. It was hard enough to do the transition and the realize that debugging support was turned off, but one of the biggest disappointments is the lack of #roxygen highlighting (github.com/r-lib/tree-sitter-r), which is actually default in #Nvim :blobfoxcry2: I was thinking to switch over to #VScode or #positron, but having to learn new shortcuts for everything make me sad.

  2. @barneyharris This doesn't answer your question, but I can attest it is useful. I use nvim-R, and have keyboard shortcuts that evaluate head(), str() etc of objects under the cursor.

  3. I just used this with the `-T` option to reconnect an R session launched out of #NvimR , and my eyes literally rolled back in surpised delight 😆

    Still gotta figure out how to reconnect the tmux/server wiring so it can talk to NvimR again..... probably just gotta connect the right tmp fils or something

  4. @ERDonnachie
    I use #NvimR github.com/jalvesaq/Nvim-R/

    It uses tmux/TCP/tmpfiles to send code snippets between vim and an independent R session, I think

    It's a bit fiddly sometimes with error debugging and remote/tmux/ssh sessions, but usually it just works find if you refresh your ssh/tmux and all the wires find themselves again

    So nice