vim-abolishとは
キャメルケースからスネークケースへの変換などが簡単にできるようになるVimの拡張機能です。 https://github.com/tpope/vim-abolish
VSCodeに入れる拡張機能
設定
https://github.com/VSCodeVim/Vimを読んで、設定していく。
実際にvim-abolishに沿っているかは適当です。
"vim.normalModeKeyBindings": [ // vim-abolish { "before": ["c", "r", "m"], "commands": ["extension.changeCase.pascal"] }, { "before": ["c", "r", "c"], "commands": ["extension.changeCase.camel"] }, { "before": ["c", "r", "s"], "commands": ["extension.changeCase.snake"] }, { "before": ["c", "r", "_"], "commands": ["extension.changeCase.snake"] }, { "before": ["c", "r", "-"], "commands": ["extension.changeCase.kebab"] }, { "before": ["c", "r", "<space>"], "commands": ["extension.changeCase.sentence"] }, { "before": ["c", "r", "u"], "commands": ["extension.changeCase.constant"] }, { "before": ["c", "r", "l"], "commands": ["extension.changeCase.lower"] }, { "before": ["c", "r", "d"], "commands": ["extension.changeCase.dot"] }, { "before": ["c", "r", "p"], "commands": ["extension.changeCase.path"] },