Extract the the ruby constant under the cursor and place it in the yank register.
neovim >= 0.8
treesitter
use { 'richardmarbach/extract-ruby-constant' }
Plug 'richardmarbach/extract-ruby-constant'
:lua require('extract-ruby-constant').extract()
:lua require('extract-ruby-constant').yank()
vim.keymap.set("o", "<leader>oc", require("extract-ruby-constant").extract)
vim.keymap.set("n", "<leader>oc", require("extract-ruby-constant").yank)