When I'm coding in nvim
, I find myself often wanting to open a job monitoring command line tool my company uses on the side. Basically I want to map a keybinding to the action :open a neovim terminal window, run a sequence of commands, resize/rename/reposition the window
.
I think this should be easy to do, but I'm new to writing neovim plugins and find the API pretty confusing. I've tried Googling around, but it would be helpful if someone could point out useful functions or a link to a similar plugin on Github so I can look through the code (I think it's easiest to learn by example).