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 5929059
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T14:22:17+00:00 2026-05-22T14:22:17+00:00

When I start vim some of the settings from .vimrc file are not applied.

  • 0

When I start vim some of the settings from .vimrc file are not applied.
I recognized it e.g. because shortcuts for folding don’t work (za, zM).
I have to run the command

:source $MYVIMRC

and this helps but it’s uncomfortable to run this command every time I start vim and this was working before without this command.

I’m using Xubuntu 10.04. It’s in ~/.vimrc . Everything works after the :source $MYVIMRC command. Maybe it started when I added line to vimrc au! BufWritePost .vimrc source %

my .vimrc

Some files are applied and some I have to manually apply.

thank you

  • 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-22T14:22:18+00:00Added an answer on May 22, 2026 at 2:22 pm

    FYI

    I tried with

    ~/Downloads$ cat .vimrc 
    se nocompatible
    cnoremap QQ echo yup
    
    au! BufWritePost .vimrc source %
    

    However, this works like a charm and QQ is mapped just like it should. So there will be another culprit involved

    ~/Downloads$ gvim --noplugin -u .vimrc -U .vimrc 
    

    (this is on Ubuntu 10.10, gvim 7.2) If you really want to debug thins, start gvim with the -V flag:

    gvim -V1
    

    or

    gvim -V10
    

    HTH

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

Sidebar

Related Questions

I usually start vim from the folder where I have my Makefile and tags
I've got a perplexing Vim problem. If I start editing a new file, say
Whenever I start a shell in vim using :sh, it doesn't source my ~/.bashrc
In using vim, when I start a comment with //, immediately after I type
I start by creating a string variable with some non-ascii utf-8 encoded data on
I start using vim with zencoding plugin. For example, I type div, hit mapkey
I want to fold function definitions in python code using Vim syntax based folding.
I want to be able to start up vim in an arbitrary subdirectory in
I start in the Vim src directory $ pwd ~/vim/src $ ./configure \ >
I want Vim 's completion menu to work more like the one in Visual

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.