Column Layout
Column layout commands let you control how columns appear on screen — their width, whether they're visible, their left-to-right order, and which columns stay visible as key identifiers while scrolling.
Learning Focus
Use _ to expand truncated columns, - to hide distracting columns, H/L to reorder, and ! to mark key identifiers so they stay visible at the left while you scroll horizontally.
Column Width
_ # toggle current column between full content width and default
g_ # expand ALL columns to full content width
z_ 20 # set current column to exactly 20 characters wide
gz_ 15 # set ALL visible columns to exactly 15 characters wide
Examples:
# After loading a wide CSV, many columns appear truncated
g_ # expand all columns so nothing is cut off
# Set a narrow ID column to exactly 8 characters
# Move to 'id' column
z_ 8
# Reset all columns to 15 characters for a consistent look
gz_ 15
Column Visibility
- # hide the current column (sets width to 0)
gv # unhide all hidden columns
Example: hide internal columns, then restore them:
# Move to 'internal_id' column
- # column disappears from view
# Move to 'created_at' column
- # column disappears from view
# Later, to bring them back
gv # all hidden columns reappear with their previous width
Column Reordering
H # slide current column one position left
L # slide current column one position right
gH # slide current column all the way to the left
gL # slide current column all the way to the right
Example: move a column next to a related column:
# 'email' is at the far right, move it next to 'name'
# Move to 'email' column
H H H ... # press H until email sits next to name
# Or from anywhere:
gH # move to far left, then L L L ... to position
Quick Reference
| Key | Action |
|---|---|
_ | Toggle current column width (full / default) |
g_ | Toggle ALL columns to full width |
z_ N | Set current column to exactly N characters |
gz_ N | Set ALL visible columns to exactly N characters |
- | Hide current column |
gv | Unhide all hidden columns |
H | Move current column one left |
L | Move current column one right |
gH | Move current column to far left |
gL | Move current column to far right |
What's Next
- Column Naming — rename columns with
^ - Key Columns — pin identifier columns with
!