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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T22:52:27+00:00 2026-06-11T22:52:27+00:00

I do this all the time: Edit a file, go back to the terminal

  • 0

I do this all the time:

Edit a file, go back to the terminal and execute the script I’m writing… only to realize that I haven’t written it to disk yet.

How do I make it so that vim is basically shouting at my eyes whenever the file is unwritten? That tiny [+] isn’t good enough. Ideally, I’d like to either increase the number of red plusses being shown, or something more drastic.

FOR INSTANCE, I’m using powerline (purely in an attempt to get a more noticeable ‘file has been modified’ notifier). I think it’d be pretty great if the main colour at the bottom of the bar changed whenever the file has not been saved.

Any ideas?

  • 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-11T22:52:28+00:00Added an answer on June 11, 2026 at 10:52 pm

    You can set vim to display the file modified flag 5 times if you want.

    set statusline+=%m
    

    This adds it one time. Increase the number of “%m” to whatever number you want. Further explanations and tricks here: http://got-ravings.blogspot.co.at/2008/08/vim-pr0n-making-statuslines-that-own.html

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

Sidebar

Related Questions

I see this all the time: object literals declared such that some keys are
I was under the impression all this time that .on() worked like .live() with
I've been doing this all the time: result = subprocess.call(['copy', '123*.xml', 'out_folder\\.', '/y']) if
I get this error all the time. And as I can see, there are
We have just migrated from solr3.5 to solr3.6, for all this time we have
This doesn't happen all the time. A bug is not a bug if cannot
This seems to happen all the time to me: I work on the parent
I've tried all the time calculating examples I found on this site but somehow
This is just one of those little things I did all the time in
I see code like this in Android samples all the time? try { ...

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.