Change Vim key binding for include-fixer (,cf -> <leader>cf) and clang-rename (,cr -> <leader>cr) to use <leader> instead of , like cool Vim people (tm) do.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Could you briefly explain what <leader> is and how to lookup/set it in the doc, or at least provide reference?
Comment Actions
:help leader explains it. Or see this link: http://learnvimscriptthehardway.stevelosh.com/chapters/06.html#leader. The later describes 3 arguments for using <leader> instead of , directly.
docs/clang-rename.rst | ||
---|---|---|
101 ↗ | (On Diff #65714) | Why does it? Key is a key; key can't be assigned to anything. Reference can be changed to any other key. |
Comment Actions
lgtm
docs/clang-rename.rst | ||
---|---|---|
101 ↗ | (On Diff #65739) | Didn't see it was "<leader> key"... thought it was just "<leader>". nvm, not important :) |
docs/include-fixer.rst | ||
---|---|---|
73 ↗ | (On Diff #65739) | s/binded/bound/ |
docs/clang-rename.rst | ||
---|---|---|
101 ↗ | (On Diff #65739) | Okay, thank you :) |