net: Clean copy in neovim and custom mode strangeness in Roo Code

OK, to summarize annoyances today:

  1. We are using extensively using Agents in our development and so I’m copying and pasting a lot of YAML
  2. The problem is the Neovim with Lazyvim is so clever, it loads everything with lots of characters so it is hard to copy and paste.
  3. Note that if you use the neovim commands this is not a problem, so don’t use copy and paste with the clipboard; use the neovim keyboard commands and. it is all clean

So the easy commands to yank are:

yy - yank a line
y} - yank to the next space
V<dir>y - This puts in you visual mode to yank what you want
y/<string> - yank forward till you find the string
y?<string> - yank backward through that string

Dealing with Roo Code modes

This is a sort of primitive agent system, and it is confusing when things go wrong, so some quick notes:

  1. When you create a new mode, you have a one-time chance to set the “slug,” which is what is used to find modes.
  2. But if you change the name of the mode/agent to say “Hello Bar” and it was originally “Good Bye”, then the slug DOES NOT change. So you can get confused, particularly if you create a new “Hello Bar”, the thing gets very confused because it will assign slugs only at create time.
  3. The only way to fix it is to reach down into the roo code settings and change the custom_modes.yaml file manually.
  4. Note that when you do this, you need to keep the top dictionary as “customModes:” (note that this is camelCase and not snake_case) or it will refuse to recognize any of your modes.

Figuring out how to Manage Office 365

Well, we have this installation to deal with too and its a little confusing, but assuming that you are getting license codes from the web somewhere, then this is what you have to do:

  1. YOu get your license Id, then you need to go to Admin > billing > your products > Microsoft 365 Business Standard > Assign Licenses to assign them. Yes seriously, it is under the product type.
  2. Then you can assign them to a new user only after you create their identity at Admin > User > Active Users > Add User > Enter their name email etc > Assign License

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

I’m Rich & Co.

Welcome to Tongfamily, our cozy corner of the internet dedicated to all things technology and interesting. Here, we invite you to join us on a journey of tips, tricks, and traps. Let’s get geeky!

Let’s connect

Recent posts

  1. Loading Mastodon feed…