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

- Link: https://tongfamily.com/2025/06/24/net-clean-copy-in-neovim-and-custom-mode-strangeness-in-roo-code/
- Published: 2025-06-24T22:20:23-07:00
- Author: rich

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:

    ```wp-block-code
    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`

### Share this:

 * [  Mastodon ](https://tongfamily.com/2025/06/24/net-clean-copy-in-neovim-and-custom-mode-strangeness-in-roo-code/?share=mastodon)
 * [  LinkedIn ](https://tongfamily.com/2025/06/24/net-clean-copy-in-neovim-and-custom-mode-strangeness-in-roo-code/?share=linkedin)
 * [  Facebook ](https://tongfamily.com/2025/06/24/net-clean-copy-in-neovim-and-custom-mode-strangeness-in-roo-code/?share=facebook)
 * [  WhatsApp ](https://tongfamily.com/2025/06/24/net-clean-copy-in-neovim-and-custom-mode-strangeness-in-roo-code/?share=jetpack-whatsapp)
 * [  Email ](https://tongfamily.com/2025/06/24/net-clean-copy-in-neovim-and-custom-mode-strangeness-in-roo-code/?subject=%5BShared%20Post%5D%20net%3A%20Clean%20copy%20in%20neovim%20and%20custom%20mode%20strangeness%20in%20Roo%20Code&body=https%3A%2F%2Ftongfamily.com%2F2025%2F06%2F24%2Fnet-clean-copy-in-neovim-and-custom-mode-strangeness-in-roo-code%2F&share=email)
 * [More](https://tongfamily.com/2025/06/24/net-clean-copy-in-neovim-and-custom-mode-strangeness-in-roo-code/#)

 * [  Telegram ](https://tongfamily.com/2025/06/24/net-clean-copy-in-neovim-and-custom-mode-strangeness-in-roo-code/?share=telegram)
 * [  Print ](https://tongfamily.com/2025/06/24/net-clean-copy-in-neovim-and-custom-mode-strangeness-in-roo-code/#print?share=print)
 * [  Pinterest ](https://tongfamily.com/2025/06/24/net-clean-copy-in-neovim-and-custom-mode-strangeness-in-roo-code/?share=pinterest)
 * [  Tumblr ](https://tongfamily.com/2025/06/24/net-clean-copy-in-neovim-and-custom-mode-strangeness-in-roo-code/?share=tumblr)
 * [  X ](https://tongfamily.com/2025/06/24/net-clean-copy-in-neovim-and-custom-mode-strangeness-in-roo-code/?share=twitter)

### Like this:

Like Loading…
