2

Is there a way I can map a digraph like ` , with modifier key like ctrl together in vim like this NERDTree bind.

map <C-n> :NERDTreeToggle<CR>

It seems to be a tad bit more complicated when your trying map a digraph, and at first I thought I found my solution when I came across these

Unfortunately, I couldn't figure out how to get it syntatically correct. I want a map to open my ~/.vimrc, anyway I could do this ?

4
  • 1
    No, not in Vim.
    – romainl
    Commented Oct 27, 2016 at 14:33
  • @romainl Ah.. not possible ? That's unfortunate...
    – PrimRock
    Commented Oct 27, 2016 at 14:42
  • 2
    Indeed; details: Vim FAQ 20.4 and Vim FAQ 20.5
    – mMontu
    Commented Oct 27, 2016 at 15:09
  • I wish I came across that sooner, was spending a good minute trying to figure out something that's not possible. Thanks guys!
    – PrimRock
    Commented Oct 27, 2016 at 22:16

0

Browse other questions tagged or ask your own question.