NERDTreeMenu Remapping Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm...
How does light 'choose' between wave and particle behaviour?
What does this say in Elvish?
What does 丫 mean? 丫是什么意思?
Understanding p-Values using an example
Why do early math courses focus on the cross sections of a cone and not on other 3D objects?
How to ternary Plot3D a function
GDP with Intermediate Production
How do living politicians protect their readily obtainable signatures from misuse?
License to disallow distribution in closed source software, but allow exceptions made by owner?
What are the main differences between Stargate SG-1 cuts?
AppleTVs create a chatty alternate WiFi network
How does the math work when buying airline miles?
RSA find public exponent
If Windows 7 doesn't support WSL, then what is "Subsystem for UNIX-based Applications"?
How much damage would a cupful of neutron star matter do to the Earth?
Relating to the President and obstruction, were Mueller's conclusions preordained?
Is there hard evidence that the grant peer review system performs significantly better than random?
How would a mousetrap for use in space work?
Google .dev domain strangely redirects to https
My mentor says to set image to Fine instead of RAW — how is this different from JPG?
What is the chair depicted in Cesare Maccari's 1889 painting "Cicerone denuncia Catilina"?
Positioning dot before text in math mode
Monty Hall Problem-Probability Paradox
Sally's older brother
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
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
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
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
New contributor
New contributor
asked 2 hours ago
DavidDavid
1083
1083
New contributor
New contributor
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 keye
has been bound to something else, so by setting theNERDTreeMapOpenExpl
to some other key solved the issue.
– David
1 hour 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 keye
has been bound to something else, so by setting theNERDTreeMapOpenExpl
to some other key solved the issue.
– David
1 hour 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 keye
has been bound to something else, so by setting theNERDTreeMapOpenExpl
to some other key solved the issue.
– David
1 hour 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 keye
has been bound to something else, so by setting theNERDTreeMapOpenExpl
to some other key solved the issue.
– David
1 hour 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 keye
has been bound to something else, so by setting theNERDTreeMapOpenExpl
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
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