Skip to content

Comment on Coming Home to Vimparent

Comments

When people overwrite things that are basic like that they usually don't have an alternative. They overwrite them, because it doesn't fit their common usage pattern.

But, for example, I use ',' as my <Leader>. So that I can still use ',', I also map ',,' back to ',' functionality:

  let mapleader = ","
  let maplocalleader = ","
  nnoremap <leader>, :normal ,<CR>:<CR>
AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.