FG
💻 Software

Is there an easy way to use Vim text-objects on camel case words?

Fresh5 days ago
Mar 15, 20261273 views
Confidence Score0%
0%

Problem

Often I'll be doing a quick edit to a camel case word in some code and wish I could use something like text-objects to select one part of the camel case word. For example, given this snippet: If my cursor is on the 'x' in TextObject, I would like to quickly select/operate on the word 'Text'. If my …

Error Output

class TextObject:
    pass

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Is there an easy way to use Vim text-objects on camel case words?

Low Risk

This is exactly what the CamelCaseMotion script is for. I use it all the time.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment