milesmcbain,
@milesmcbain@fosstodon.org avatar

So my holiday reading was the (neo)Vim user manual. It’s very impressive to me how once you get a sense of the model - the concepts and how they relate… this vast surface area of functionality that seemed hard to remember before just becomes a thing you can derive commands in using logic and a handful of higher level principles.

There are wrinkles for sure, but overall I think it’s an impressive feat of design. 👏👏👏

I already made myself a minimal IDE in 5 lines of config. 🤣

exa,
@exa@mastodon.online avatar

@milesmcbain I like how the based IDEs always reduce to something like "hey editor pls remember that I indent with 2 spaces". And gets way better than anything else around.

Btw I've got a ctrl-enter "rstudio emulator" working somewhere for 2-window vims. If you'd find that handy pls ping me, I'd go find the great total of 2 config lines which did it. :D

landesfeind,
@landesfeind@genomic.social avatar

@exa @milesmcbain I second the wish for the rstudio emulator!!

exa,
@exa@mastodon.online avatar

@landesfeind @milesmcbain

Sorry for later reply :D

into .vimrc you put:

vnoremap # y<C-w>w<C-w>"0<C-w>w

then in vim, you start the "running terminal" using e.g. :term R

and you can e.g. send a line to the termial from the editor buffer using V#, or send the whole "paragraph" (usually a code block) using vip#.

Might need window/clipboard marks for more complicated setups.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • magazineikmin
  • GTA5RPClips
  • everett
  • rosin
  • Youngstown
  • ngwrru68w68
  • slotface
  • osvaldo12
  • Durango
  • kavyap
  • InstantRegret
  • normalnudes
  • khanakhh
  • megavids
  • tacticalgear
  • tester
  • thenastyranch
  • mdbf
  • ethstaker
  • cisconetworking
  • Leos
  • modclub
  • anitta
  • cubers
  • provamag3
  • JUstTest
  • lostlight
  • All magazines