NERDTreeMenu Remapping Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm...

What is the difference between a "ranged attack" and a "ranged weapon attack"?

Resize vertical bars (absolute-value symbols)

Why weren't discrete x86 CPUs ever used in game hardware?

How to change the tick of the color bar legend to black

Understanding p-Values using an example

Found this skink in my tomato plant bucket. Is he trapped? Or could he leave if he wanted?

What is the difference between CTSS and ITS?

Select every other edge (they share a common vertex)

A proverb that is used to imply that you have unexpectedly faced a big problem

Would color changing eyes affect vision?

Should a wizard buy fine inks every time he want to copy spells into his spellbook?

How to force a browser when connecting to a specific domain to be https only using only the client machine?

Is openssl rand command cryptographically secure?

Does silver oxide react with hydrogen sulfide?

Co-worker has annoying ringtone

How do living politicians protect their readily obtainable signatures from misuse?

Can two person see the same photon?

Are the endpoints of the domain of a function counted as critical points?

What to do with repeated rejections for phd position

If Windows 7 doesn't support WSL, then what is "Subsystem for UNIX-based Applications"?

Is it dangerous to install hacking tools on my private linux machine?

What adaptations would allow standard fantasy dwarves to survive in the desert?

How does the math work when buying airline miles?

Trying to understand entropy as a novice in thermodynamics



NERDTreeMenu Remapping



Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?How can I modify Vim to work with a different keyboard layout?j and k keys not working like they shouldUse ISO Level3/5 as modifier in vim keymap?Remapping F1 on vim-gnomeRemapping [ and ] is really slowRemapping keys for purpose of characterwise searchRemapping key to <Nop> not workingHow do international users use Ctrl-] efficiently? Remapping?How to insert tabs in key remapping?Operator pending mode remaps not working












1















I'm a Colemak keyboard layout user and I recently started to learn and use Vim.



I was able to map the arrow keys in the normal mode by putting custom mappings such as noremap u k in .vimrc (because the keys h, j, k, and i are in different places in the Colemak layout).



However, when I tried to use NERDTree, navigating through the NERDTree menu became very hard for me for I have to reach j and k key to navigate up and down (those keys are y and k in QWERTY).



Is there a way to map those two keys into other keys?



I would really appreciate any help!










share|improve this question







New contributor




David is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    1















    I'm a Colemak keyboard layout user and I recently started to learn and use Vim.



    I was able to map the arrow keys in the normal mode by putting custom mappings such as noremap u k in .vimrc (because the keys h, j, k, and i are in different places in the Colemak layout).



    However, when I tried to use NERDTree, navigating through the NERDTree menu became very hard for me for I have to reach j and k key to navigate up and down (those keys are y and k in QWERTY).



    Is there a way to map those two keys into other keys?



    I would really appreciate any help!










    share|improve this question







    New contributor




    David is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      1












      1








      1








      I'm a Colemak keyboard layout user and I recently started to learn and use Vim.



      I was able to map the arrow keys in the normal mode by putting custom mappings such as noremap u k in .vimrc (because the keys h, j, k, and i are in different places in the Colemak layout).



      However, when I tried to use NERDTree, navigating through the NERDTree menu became very hard for me for I have to reach j and k key to navigate up and down (those keys are y and k in QWERTY).



      Is there a way to map those two keys into other keys?



      I would really appreciate any help!










      share|improve this question







      New contributor




      David is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I'm a Colemak keyboard layout user and I recently started to learn and use Vim.



      I was able to map the arrow keys in the normal mode by putting custom mappings such as noremap u k in .vimrc (because the keys h, j, k, and i are in different places in the Colemak layout).



      However, when I tried to use NERDTree, navigating through the NERDTree menu became very hard for me for I have to reach j and k key to navigate up and down (those keys are y and k in QWERTY).



      Is there a way to map those two keys into other keys?



      I would really appreciate any help!







      key-bindings keymap plugin-nerdtree keyboard-layout






      share|improve this question







      New contributor




      David is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      David is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      David is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 2 hours ago









      DavidDavid

      1083




      1083




      New contributor




      David is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      David is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      David is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          1 Answer
          1






          active

          oldest

          votes


















          2














          if you look at the documentation (:help NERDTree-t), you'll see that each of the command have a name and a default key.



          To remap for example NERDTreeMapUpdir to the 'a' key, you just have to add to you .vimrc:



          let NERDTreeMapUpdir='a'





          share|improve this answer


























          • It worked! Thank you so much! It wasn't working when I tried to set let NERDTreeMenuDown = "e" and the reason was that the key e has been bound to something else, so by setting the NERDTreeMapOpenExpl to some other key solved the issue.

            – David
            1 hour ago












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "599"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          David is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fvi.stackexchange.com%2fquestions%2f19667%2fnerdtreemenu-remapping%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          2














          if you look at the documentation (:help NERDTree-t), you'll see that each of the command have a name and a default key.



          To remap for example NERDTreeMapUpdir to the 'a' key, you just have to add to you .vimrc:



          let NERDTreeMapUpdir='a'





          share|improve this answer


























          • It worked! Thank you so much! It wasn't working when I tried to set let NERDTreeMenuDown = "e" and the reason was that the key e has been bound to something else, so by setting the NERDTreeMapOpenExpl to some other key solved the issue.

            – David
            1 hour ago
















          2














          if you look at the documentation (:help NERDTree-t), you'll see that each of the command have a name and a default key.



          To remap for example NERDTreeMapUpdir to the 'a' key, you just have to add to you .vimrc:



          let NERDTreeMapUpdir='a'





          share|improve this answer


























          • It worked! Thank you so much! It wasn't working when I tried to set let NERDTreeMenuDown = "e" and the reason was that the key e has been bound to something else, so by setting the NERDTreeMapOpenExpl to some other key solved the issue.

            – David
            1 hour ago














          2












          2








          2







          if you look at the documentation (:help NERDTree-t), you'll see that each of the command have a name and a default key.



          To remap for example NERDTreeMapUpdir to the 'a' key, you just have to add to you .vimrc:



          let NERDTreeMapUpdir='a'





          share|improve this answer















          if you look at the documentation (:help NERDTree-t), you'll see that each of the command have a name and a default key.



          To remap for example NERDTreeMapUpdir to the 'a' key, you just have to add to you .vimrc:



          let NERDTreeMapUpdir='a'






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 2 hours ago

























          answered 2 hours ago









          godotgodot

          1465




          1465













          • It worked! Thank you so much! It wasn't working when I tried to set let NERDTreeMenuDown = "e" and the reason was that the key e has been bound to something else, so by setting the NERDTreeMapOpenExpl to some other key solved the issue.

            – David
            1 hour ago



















          • It worked! Thank you so much! It wasn't working when I tried to set let NERDTreeMenuDown = "e" and the reason was that the key e has been bound to something else, so by setting the NERDTreeMapOpenExpl to some other key solved the issue.

            – David
            1 hour ago

















          It worked! Thank you so much! It wasn't working when I tried to set let NERDTreeMenuDown = "e" and the reason was that the key e has been bound to something else, so by setting the NERDTreeMapOpenExpl to some other key solved the issue.

          – David
          1 hour ago





          It worked! Thank you so much! It wasn't working when I tried to set let NERDTreeMenuDown = "e" and the reason was that the key e has been bound to something else, so by setting the NERDTreeMapOpenExpl to some other key solved the issue.

          – David
          1 hour ago










          David is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          David is a new contributor. Be nice, and check out our Code of Conduct.













          David is a new contributor. Be nice, and check out our Code of Conduct.












          David is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Vi and Vim Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fvi.stackexchange.com%2fquestions%2f19667%2fnerdtreemenu-remapping%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          迭戈·戈丁...

          A phrase ”follow into" in a context The 2019 Stack Overflow Developer Survey Results Are...

          1960s short story making fun of James Bond-style spy fiction The 2019 Stack Overflow Developer...