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
Understanding p-Values using an example
What is the difference between CTSS and ITS?
What is the chair depicted in Cesare Maccari's 1889 painting "Cicerone denuncia Catilina"?
RSA find public exponent
Why datecode is SO IMPORTANT to chip manufacturers?
Where is the Next Backup Size entry on iOS 12?
How to write capital alpha?
Simple Http Server
Is there hard evidence that the grant peer review system performs significantly better than random?
Central Vacuuming: Is it worth it, and how does it compare to normal vacuuming?
How does the math work when buying airline miles?
One-one communication
My mentor says to set image to Fine instead of RAW — how is this different from JPG?
What does this say in Elvish?
What are the main differences between Stargate SG-1 cuts?
How would you say "es muy psicólogo"?
What is the "studentd" process?
Google .dev domain strangely redirects to https
Resize vertical bars (absolute-value symbols)
Should a wizard buy fine inks every time he want to copy spells into his spellbook?
Is openssl rand command cryptographically secure?
Why is it faster to reheat something than it is to cook it?
retrieve food groups from food item list
How much damage would a cupful of neutron star matter do to the Earth?
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
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
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.
add a comment |
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
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.
add a comment |
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
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
key-bindings keymap plugin-nerdtree keyboard-layout
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.
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 3 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.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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'
It worked! Thank you so much! It wasn't working when I tried to setlet NERDTreeMenuDown = "e"and the reason was that the keyehas been bound to something else, so by setting theNERDTreeMapOpenExplto some other key solved the issue.
– David
2 hours ago
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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'
It worked! Thank you so much! It wasn't working when I tried to setlet NERDTreeMenuDown = "e"and the reason was that the keyehas been bound to something else, so by setting theNERDTreeMapOpenExplto some other key solved the issue.
– David
2 hours ago
add a comment |
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'
It worked! Thank you so much! It wasn't working when I tried to setlet NERDTreeMenuDown = "e"and the reason was that the keyehas been bound to something else, so by setting theNERDTreeMapOpenExplto some other key solved the issue.
– David
2 hours ago
add a comment |
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'
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'
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 setlet NERDTreeMenuDown = "e"and the reason was that the keyehas been bound to something else, so by setting theNERDTreeMapOpenExplto some other key solved the issue.
– David
2 hours ago
add a comment |
It worked! Thank you so much! It wasn't working when I tried to setlet NERDTreeMenuDown = "e"and the reason was that the keyehas been bound to something else, so by setting theNERDTreeMapOpenExplto some other key solved the issue.
– David
2 hours 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
2 hours 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
2 hours ago
add a comment |
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.
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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