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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T18:13:11+00:00 2026-05-26T18:13:11+00:00

In vim, I’d like to display tab-separated files such that the tab stop is

  • 0

In vim, I’d like to display tab-separated files such that the tab stop is strictly respected, meaning that each individual column is strictly aligned. This requires any content that does not fit into the width of a tab to be truncated. For example, with a tab-stop of 8 I would like this:

the quick fox<TAB>brown<TAB>4 legs
dog<TAB>lazy<TAB>floppy ears

to be displayed as (first line (ruler) is for illustration purposes only)

#23456781234567812345678 <- ruler
the qui|brown  |4 legs |
dog    |lazy   |floppy |

I’ve looked around for tab-separated and keywords like truncate and fold, but to no avail.

  • 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-26T18:13:11+00:00Added an answer on May 26, 2026 at 6:13 pm

    I believe you’re looking for conceal (added in 7.3; :help conceal).

    :syntax match Entity "[^\t]\{8}\zs[^\t]*[\t\n]" conceal cchar=|
    :set conceallevel=1
    

    Adjust the 8 to taste, or wrap the syntax command with exec to insert &ts (or &sts).

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

Sidebar

Related Questions

In Vim , how do I insert characters at the beginning of each line
Surround.vim is a nifty vim extension that allows you to surround blocks of text
(Mac)Vim seems to be picking up /usr/bin/python instead of the one that's at the
In Vim, you can make it so each time you write FF on insert
my vim show tab as --->, but does not show windows ^M character. And
Vim is very accommodating when it comes to tab Vs. space preferences. As I
In Vim I can :set wrapscan so that when I do an incremental search,
With VIM or Emacs I can put comments in the file that will be
Vim has some very useful text motions such as i b , i )
In vim/gvim I would like to be able to move to the front and

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.