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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T05:57:33+00:00 2026-05-20T05:57:33+00:00

I am making the switch from TextMate to Vim for all of my text

  • 0

I am making the switch from TextMate to Vim for all of my text editing. However, one of the features that I used a lot in TextMate was the comment banner command (ctr-shift-b). It would create a banner and allow you to enter text inside the banner, and the banner would adjust to the length of the text. Is there any plugins, or any similiar feature in Vim? If not, is there a way I can program vim to make a comment banner? Any suggestions would be great. Thanks!

enter image description here

  • 1 1 Answer
  • 1 View
  • 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-20T05:57:33+00:00Added an answer on May 20, 2026 at 5:57 am

    I currently use Snipmate.vim https://github.com/msanders/snipmate.vim

    Although I am not completely sure there is a snippet that will match your exact need, it would
    be trivial to add one that would do so!

    It has very easy scripting to add whatever you need.

    You would have to assign the snippet a certain key combination, so that when you are at that combination in insert mode and you hit Tab, the plugin inserts all the things you need plus it lets you change the text that you have previously set.

    So for the example you give, I would give it a combination that says “banner”. When I type that word and hit Tab, I would be placed in the “Comment Banner” so that I can type and replace the title.

    This site has a very good video on how everything works: http://www.catonmat.net/blog/vim-plugins-snipmate-vim/

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

Sidebar

Related Questions

I am making the switch to VIM from Textmate and I wanted to know
I am making the switch from classic ASP to ASP.NET. And I am having
Recently making the switch from Prototype to jQuery , I am struggling with some
I have been looking at making the switch from SQL TableAdapters to Linq using
I'm making the switch to MongoDB from MySQL. A familiar architecture to me for
I am just making the switch from WebForms to MVC and would like to
I'm considering making the switch from MATLAB to Python. The application is quantitative trading
I'm making the switch from a centralized SCM system to GIT. OK, I'll admit
I'm making the switch from CodeIgniter to Symfony 2. Can someone please give me
i m making a client server program in which i want to switch from

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.