DEV Community

Discussion on: Jumping in and out of your editor too much?

Collapse
 
wulymammoth profile image
David

Is terminal now available in Vim? I've been using Neovim for the past couple of years which has this feature, but I hardly ever use it for fear of committing to muscle memory when it isn't available on remote machines that I work on.

I currently do as Cosimo does but also employ the vim-test plugin for one particular enhancement -- running a specific test in a test file so that I don't have to eyeball the line or test name and provide it as a suffix to my test command.

However, I am curious about the test automation with file watch. How do you have this configured?

Collapse
 
aghost7 profile image
Jonathan Boudreau

Yep, not sure if its the same as neovim though. Personally as I said though, I just use tmux.

Thread Thread
 
wulymammoth profile image
David • Edited

Yeah, I'm a huge tmux user as well. I have like 8 projects/repos open at any time (like dotfiles and TIL) that I often make updates to and I love resurrect for the few times that I have to restore those sessions on restart.

Could you share how you've configured file watch to automate test runs?

Thread Thread
 
aghost7 profile image
Jonathan Boudreau

I use mocha as my test framework, the command line tool has a watch option.