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

  • SEARCH
  • Home
  • 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 3348280
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T01:31:24+00:00 2026-05-18T01:31:24+00:00

e n Automatically detect file types. set nocompatible We don’t want vi compatibility. Add

  • 0
e
n  " Automatically detect file types.
set nocompatible  " We don't want vi compatibility.

" Add recently accessed projects menu (project plugin)
set viminfo^=!

" Minibuffer Explorer Settings
let g:miniBufExplMapWindowNavVim = 1
let g:miniBufExplMapWindowNavArrows = 1
let g:miniBufExplMapCTabSwitchBufs = 1
let g:miniBufExplModSelTarget = 1

" alt+n or alt+p to navigate between entries in QuickFix
map <silent> <m-p> :cp <cr>
map <silent> <m-n> :cn <cr>

" Change which file opens after executing :Rails command
let g:rails_default_file='config/database.yml'

syntax enable

and here’s the error I got:

Espresso:ruby PowerBook$ vim .vimrc
".vimrc" [New File]
Error detected while processing /Users/PowerBook/.vimrc:
line    2:
E163: There is only one file to edit
Press ENTER or type command to continue

I’m new to vi.Could anyone give me a reference of all this syntaxes mean? It’s so overwhelming for me right now.

  • 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-05-18T01:31:25+00:00Added an answer on May 18, 2026 at 1:31 am

    In your case the problem is in the 1st and 2nd line.

    e
    n  " Automatically detect file types.
    

    These e and n are Vi(m) (ex) commands on the start of the lines (but in .vimrc they don’t need the : prefix.

    See their documentation at http://www.polarhome.com/vim/manual/v72/editing.html#:edit_f and http://www.polarhome.com/vim/manual/v72/editing.html#:next .

    So they mean e edit file but there is no argument, so it’s probably an error (usually most of the people doesn’t specify e command(s) in their .vimrc

    n means next (buffer), but as far as You does not specify more files on the commandline to start vim, it can’t work, as there are no more buffers.

    IMHO you should delete those commands from your .vimrc.

    HTH

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

Sidebar

Related Questions

Short question: How do I automatically detect whether a CSV file has headers in
I've got a request from a customer to automatically detect the type of mobile
The most favorite feature of StackOverflow for me is that it can automatically detect
How do you automatically set the focus to a textbox when a web page
Is there a way to have svn automatically detect your credentials (say by reading
Is there a simple way to have a code library automatically detect if it's
Gmail automatically greys text that looks like a signature. Anyone have any guesses how
How can you automatically import the latest build/revision number in subversion? The goal would
I would like to automatically convert between tabs and spaces for indentation when I
I'd like to automatically generate database scripts on a regular basis. Is this possible.

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.