NERDTreeMenu Remapping Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm...
Asymptotics question
How to force a browser when connecting to a specific domain to be https only using only the client machine?
Select every other edge (they share a common vertex)
Google .dev domain strangely redirects to https
Why is a lens darker than other ones when applying the same settings?
How to write capital alpha?
Tannaka duality for semisimple groups
Printing attributes of selection in ArcPy?
Test print coming out spongy
Found this skink in my tomato plant bucket. Is he trapped? Or could he leave if he wanted?
Relating to the President and obstruction, were Mueller's conclusions preordained?
A term for a woman complaining about things/begging in a cute/childish way
Is openssl rand command cryptographically secure?
Did any compiler fully use 80-bit floating point?
Does silver oxide react with hydrogen sulfide?
Does the Black Tentacles spell do damage twice at the start of turn to an already restrained creature?
Simple Http Server
How many time has Arya actually used Needle?
Co-worker has annoying ringtone
Special flights
How to change the tick of the color bar legend to black
I can't produce songs
Why are vacuum tubes still used in amateur radios?
Why is std::move not [[nodiscard]] in C++20?
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