taskwiki icon indicating copy to clipboard operation
taskwiki copied to clipboard

taskwiki overwrites my maplocalleader

Open Jasha10 opened this issue 3 years ago • 1 comments

In taskwiki.vim, my maplocalleader setting is overwritten (unless I specifically opt out by setting g:taskwiki_suppress_mappings). I do not think it is good practice to overwrite the user's maplocalleader setting. This is a global setting that the user would typically set in their .vimrc file.

Current Behavior If the g:taskwiki_maplocalleader variable is set, then

let maplocalleader = g:taskwiki_maplocalleader

is invoked. If the g:taskwiki_maplocalleader variable is not set, then

let maplocalleader = g:mapleader.'t'

or

let maplocalleader = '\t'

is invoked.

Desired Behavior It should be possible to define the same mappings without overwriting the user's maplocalleader setting.

Jasha10 avatar Sep 12 '21 20:09 Jasha10

I also had this problem. It was hard to track down, honestly…

Mange avatar Feb 26 '22 22:02 Mange