Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9050121
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T12:34:36+00:00 2026-06-16T12:34:36+00:00

Possible Duplicate: Is there any way to reduce the command in VIM? In vim

  • 0

Possible Duplicate:
Is there any way to reduce the command in VIM?

In vim to open your NERDTree menu you type :NERDTree, but that actually really annoys me, because it’s long and mixed case. Since you close it with q, I want to open it with a short key (maybe :n, you can also provide suggestions for that if you feel like it). How can I change that?

I am sorry if this is simple, but I am a newb, and I don’t know form where to start aproaching such a problem -from the plugin files, or is there a special remapping technique in your .vimrc.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T12:34:37+00:00Added an answer on June 16, 2026 at 12:34 pm

    You can use

    map <F2> :NERDTreeToggle<CR>
    

    to map NERDTree to any key you like (F2 in this example)

    it’s also possible to map it to :n

    map :n :NERDTreeToggle<CR>
    

    but that’s not very common, I like using one of the F-Keys because that’s faster.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Do you obfuscate your commercial Java code? Is there any way other
Possible Duplicate: Is there any way to determine text direction from CultureInfo in asp.net?
Possible Duplicate: Any way to “reboot” the JVM? Is there any option to restart
Possible Duplicate: Objective C for Windows iPhone development on Windows Is there any way
Possible Duplicate: Porting VB.NET Winforms Application to C# Is there any way to convert
Possible Duplicate: Overriding the power button in Android Is there any possible way I
Possible Duplicate: Any way to add HttpHandler programatically in .NET? Is there a way
Possible Duplicate: Android Button Tooltip Is there any way to construct a view where
Possible Duplicate: Count regex replaces (C#) Is there any way to tell how many
Possible Duplicate: Is there any way in C# to override a class method with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.