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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T11:11:30+00:00 2026-06-17T11:11:30+00:00

I code CSS and Python and for CSS I have the following little time

  • 0

I code CSS and Python and for CSS I have the following little time saver

inoremap :      :;<Left>

This is great until I start coding in Python. Every time I hit : I get an unwanted ;
I should mention that to make editing in Python pleasant with proper indentation I added

~/.vim/ftplugin/python.vim

python.vim contains the following

setlocal tabstop=4
setlocal softtabstop=4
setlocal shiftwidth=4
setlocal textwidth=80
setlocal smarttab
setlocal expandtab  

What code would I put into python.vim to override inoremap : :;<Left> from my .vimrc so that when I press : all I get is a single :?

  • 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-17T11:11:34+00:00Added an answer on June 17, 2026 at 11:11 am
    You can put this in your python.vim:
       iunmap :
    

    As mentioned by Daan, you can also put the mapping for : in css specific vim file ( for example ~/.vim/syntax/css.vim )

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

Sidebar

Related Questions

I have the following code CSS select.select { color:#FFFFFF; height: 15px; width: 105px; background:#996633
i have this css code, and i want to shorten it. #one{ background: #6cab26;
i have this CSS code: h1 { font-size:22px; color:#341C12; font-weight:normal; font-style:italic; } .h1color h1{
I have the following css code h1, h2, h3, h4 { color: #333; font-size:
I have the following CSS code being used for centering an <img> tag .img
Until recently, I posted Python code (whitespace matters) to blogspot.com using something like this:
I have the following code in my plone page template: <img tal:define=folderimagetitle python:context.getField('folderimagetitle').getAccessor(context)() tal:condition=folderimagetitle
in some CSS code I found out this type of selector div#someid Is this
Is there a CSS code that changes this text This is it to this
I have the following code that generates the desired HTML. But it prints it

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.