Replies: 1 comment
-
|
Hey this is probably related to :h maplocalleader
<LocalLeader> is just like <Leader>, except that it uses "maplocalleader"
instead of "mapleader". <LocalLeader> is to be used for mappings which are
local to a buffer. Example:
:map <buffer> <LocalLeader>A oanother line<Esc>
In a global plugin <Leader> should be used and in a filetype plugin
<LocalLeader>. "mapleader" and "maplocalleader" can be equal. Although, if
you make them different, there is a smaller chance of mappings from global
plugins to clash with mappings for filetype plugins. For example, you could
keep "mapleader" at the default backslash, and set "maplocalleader" to an
underscore. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I currently using NvChad with Neorg and it still working just fine. But my map leader is so when I want to mark a task as done it supposed to be td but \td worked instead. Does anyone know why this happened?
Beta Was this translation helpful? Give feedback.
All reactions