Allow customization of the extended map key prefix.#17
Merged
rishi-opensource merged 2 commits intorishi-opensource:mainfrom Mar 10, 2026
Merged
Allow customization of the extended map key prefix.#17rishi-opensource merged 2 commits intorishi-opensource:mainfrom
rishi-opensource merged 2 commits intorishi-opensource:mainfrom
Conversation
This addresses issue rishi-opensource#15. - It adds a default variable of `map_extended_prefix` set to `<Leader>c`. - It then changes the mappings to use this instead of the hardcoded value. - With this, one can now override the prefix and use something else like so: `let g:claude_code_map_extended_prefix = '<Leader>C'`
rishi-opensource
approved these changes
Mar 10, 2026
Owner
rishi-opensource
left a comment
There was a problem hiding this comment.
Thanks for this PR! I've tested it locally and it works perfectly—it's exactly what was needed for Issue #15.
Note: I noticed two tiny artifacts in
plugin/claude_code.vim
(stray quotes on lines 154 and 155). I'll go ahead and clean those up on my side and update the README to reflect these new configuration options.
Great work—I'm merging this now!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This addresses issue #15..
It adds a default variable of
map_extended_prefixset to<Leader>c.It then changes the mappings to use this instead of the hardcoded value.
With this, one can now override the prefix and use something else like so:
let g:claude_code_map_extended_prefix = '<Leader>C'