Working With Large Cells

Sometimes, values in a dataset are too large to display entirely in a single row. VisiData provides a few ways to view these large cells:

  • Multiline mode
  • Scrolling within cells
  • Diving into cells

In the examples below, we’ll examine the REMARKS column of the FAA dataset:

<PERSON | REMAINS_COLLECTED | REMARKS                                                              
 Tower  | 0                 | N9240F was right base to final on Runway 4, and he reported a …      
 Tower  | 0                 | ON FINAL, PILOT REPORTED HEARING IMPACT. AFTER LANDING AND INS…      
 Tower  | 0                 | N952G, P46T/G, bird strike, no injuries reported, damage to vo…      
 Tower  | 0                 | NO EMERGENCY: AFTER THE AIRCRAFT WAS AT THE GATE THE PILOT OF …      
 Tower  | 0                 | MEDFLY1, A BE9L, VFR, LANDED RY 15. UPON CONTACTING GC, PILOT …      
 Tower  | 0                 | DAL571 EXPERIENCED A BIRD INGESTION ON ARRIVAL TO STT ON JULY …      
 Tower  | 0                 | DAL1356 ADVISED LOCAL CONTROL OF A BIRD STRIKE SHORT FINAL/OVE…      
 Tower  | 0                 | N999RK WAS DEPARTING TO 87I AND ON DEPARTURE STRUCK A BIRD AND…      
 Tower  | 0                 | AAY843,MD80, ADVSD TPA APCH HE ENCOUNTERED BIRD STRIKE ON RADO…      
 Tower  | 0                 | LOF3351 hit a large bird, thought it was an owl, over the thre…      
 Tower  | 0                 | N5352K EXPERIENCED A BIRD STRIKE ON A 3-MILE FINAL FOR RWY 9R.…      
 Tower  | 0                 | POLICE1 reported being struck by a seagull on the left front s…      
 Tower  | 0                 | PILOT OF AAL1702 REPORTED BIRD STRIKE ON FINAL FOR RUNWAY 10L …      
 Tower  | 0                 | ASQ2607 REPORTED A BIRD STRIKE DURING TAKE OFF. PILOT STATED I…      
 Tower  | 0                 | ASH5753 WAS CLEARED TO LAND ON RY22L WHEN THEY HIT A BIRD IN T…      
 Tower  | 0                 | CMD8 BIRD STRIKE.  NEGATIVE EMERGENCY. MAKING PRECAUTIONARY LA…      
 Tower  | 0                 | DAL 1253-BIRD STRIKE REPORTED AFTER LANDING.                         
 Tower  | 0                 | Delta Airlines called to report a birdstrike on DAL2384 who ha…      
 Tower  | 0                 | DLH441 reported receiving bird strikes climbing through 100 ap…      
 Tower  | 0                 | AIRCRAFT ENCOUNTERED BIRD STRIKE OUTSIDE 5 MILES OF SFB WHILE …      
 Tower  | 0                 | Aircraft reported bird strike climbing out of 12000ft and requ…      
 Tower  | 0                 | HIT A SMALL BIRD IN THE FLARE NO DAMAGE.                             
1› faa-wildlife-strikes|                                                l  go-right     73448 rows  

Enabling multiline mode

By default, VisiData displays each row on a single line. You can switch to multiline mode (and toggle back out of it) by pressing v. Here’s what that looks like:

<PERSON | REMAINS_COLLECTED | REMARKS                                                              
 Tower  | 0                 | N9240F was right base to final on Runway 4, and he reported a        
                              bird strike to the left wing.  He did not need any assistance.       
                              He landed and taxied to the ramp, and said there was only            
                              minor damage done to the left wing.                                  
 Tower  | 0                 | ON FINAL, PILOT REPORTED HEARING IMPACT. AFTER LANDING AND           
                              INSPECTING AIRCRAFT, PILOT DISCOVERED DENT IN TIRE BOOT. UPON        
                              RUNWAY INSPECTION A BIRD CARCASS WAS FOUND ON RUNWAY NORTH OF        
                              TAXIWAY DELTA.                                                       
 Tower  | 0                 | N952G, P46T/G, bird strike, no injuries reported, damage to          
                              vortex generator, pilot's name is Robert Nipper, 713-539-0797.       
 Tower  | 0                 | NO EMERGENCY: AFTER THE AIRCRAFT WAS AT THE GATE THE PILOT OF        
                              DAL939 ADVISED THAT THEY HAD A BIRD STRIKE ON A 2 MILE FINAL         
                              TO RWY30R. A BIRD STRUCK THE RIGHT WING AND THE LANDING LIGHT.       
                              THE LANDING LIGHT WAS SHATTERED AND THERE WAS NO DAMAGE ON THE       
                              RIGHT                                                                
 Tower  | 0                 | MEDFLY1, A BE9L, VFR, LANDED RY 15. UPON CONTACTING GC, PILOT        
                              ADVISED HE HAD EXPERIENCED A BIRD STRIKE AND REQUESTED               
                              INSTRUCTIONS TO TAXI TO THE RAMP TO INSPECT THE ACFT. THE            
                              PILOT CALLED THE TOWER AND ADVISED THE THAT THE AIRCRAFT HAD         
                              LIGHT DAMAGE TO THE                                                  
 Tower  | 0                 | DAL571 EXPERIENCED A BIRD INGESTION ON ARRIVAL TO STT ON JULY        
                              17. THE PILOT DID NOT REPORT A BIRD STRIKE TO THE ATCT. THE          
                              ATCT DID NOT FIND OUT ABOUT THE BIRD STRIKE UNTIL THE FOLLOWIN…rows  

Note

By default, the maximum row height is 10 lines, but you can adjust this through VisiData’s default_height setting.

Scrolling within cells

To see more of a cell in single-line mode, you can scroll back and forth within a column using the following commands:

Keystrokes Action
zh Scroll text left
zl Scroll text right
zj Scroll text down
zk Scroll text up
gzh Scroll back to leftmost character
gzk Scroll back to topmost character

Here’s how it looks in practice, starting with the same view as above:

<PERSON | REMAINS_COLLECTED | REMARKS                                                              
 Tower  | 0                 | N9240F was right base to final on Runway 4, and he reported a …      
 Tower  | 0                 | ON FINAL, PILOT REPORTED HEARING IMPACT. AFTER LANDING AND INS…      
 Tower  | 0                 | N952G, P46T/G, bird strike, no injuries reported, damage to vo…      
 Tower  | 0                 | NO EMERGENCY: AFTER THE AIRCRAFT WAS AT THE GATE THE PILOT OF …      
 Tower  | 0                 | MEDFLY1, A BE9L, VFR, LANDED RY 15. UPON CONTACTING GC, PILOT …      
 Tower  | 0                 | DAL571 EXPERIENCED A BIRD INGESTION ON ARRIVAL TO STT ON JULY …      
 Tower  | 0                 | DAL1356 ADVISED LOCAL CONTROL OF A BIRD STRIKE SHORT FINAL/OVE…      
 Tower  | 0                 | N999RK WAS DEPARTING TO 87I AND ON DEPARTURE STRUCK A BIRD AND…      
 Tower  | 0                 | AAY843,MD80, ADVSD TPA APCH HE ENCOUNTERED BIRD STRIKE ON RADO…      
 Tower  | 0                 | LOF3351 hit a large bird, thought it was an owl, over the thre…      
 Tower  | 0                 | N5352K EXPERIENCED A BIRD STRIKE ON A 3-MILE FINAL FOR RWY 9R.…      
 Tower  | 0                 | POLICE1 reported being struck by a seagull on the left front s…      
 Tower  | 0                 | PILOT OF AAL1702 REPORTED BIRD STRIKE ON FINAL FOR RUNWAY 10L …      
 Tower  | 0                 | ASQ2607 REPORTED A BIRD STRIKE DURING TAKE OFF. PILOT STATED I…      
 Tower  | 0                 | ASH5753 WAS CLEARED TO LAND ON RY22L WHEN THEY HIT A BIRD IN T…      
 Tower  | 0                 | CMD8 BIRD STRIKE.  NEGATIVE EMERGENCY. MAKING PRECAUTIONARY LA…      
 Tower  | 0                 | DAL 1253-BIRD STRIKE REPORTED AFTER LANDING.                         
 Tower  | 0                 | Delta Airlines called to report a birdstrike on DAL2384 who ha…      
 Tower  | 0                 | DLH441 reported receiving bird strikes climbing through 100 ap…      
 Tower  | 0                 | AIRCRAFT ENCOUNTERED BIRD STRIKE OUTSIDE 5 MILES OF SFB WHILE …      
 Tower  | 0                 | Aircraft reported bird strike climbing out of 12000ft and requ…      
 Tower  | 0                 | HIT A SMALL BIRD IN THE FLARE NO DAMAGE.                             
1› faa-wildlife-strikes|                                        v  visibility-sheet     73448 rows  

After typing zh, the REMARKS column now looks like this:

<PERSON | REMAINS_COLLECTED | REMARKS                                                              
 Tower  | 0                 | bird strike to the left wing.  He did not need any assistance.…      
 Tower  | 0                 | PECTING AIRCRAFT, PILOT DISCOVERED DENT IN TIRE BOOT. UPON RUN…      
 Tower  | 0                 | rtex generator, pilot's name is Robert Nipper, 713-539-0797.         
 Tower  | 0                 | DAL939 ADVISED THAT THEY HAD A BIRD STRIKE ON A 2 MILE FINAL T…      
 Tower  | 0                 | ADVISED HE HAD EXPERIENCED A BIRD STRIKE AND REQUESTED INSTRUC…      
 Tower  | 0                 | 17. THE PILOT DID NOT REPORT A BIRD STRIKE TO THE ATCT. THE AT…      
 Tower  | 0                 | R THE NUMBERS TO RY12R.  THE B717 LANDED WITHOUT INCIDENT.  PI…      
 Tower  | 0                 |  IT WAS INJESTED INTO THE RIGHT ENGINE. THE AIRCRAFT HAD MADE …      
 Tower  | 0                 | ME, BELOW 1ST OFFICERS' WINDOW, 30 NNE PIE AT 6,000 FT. PILOT …      
 Tower  | 0                 | shold, taxied in and his taxi light was not working.                 
 Tower  | 0                 |  THE AIRCRAFT LANDED WITHOUT INCIDENT. THE STUDENT THINKS IT W…      
 Tower  | 0                 | ide of the windshield. Pilot: Chris Dominguez, (408) 219-8588,…      
 Tower  | 0                 | AT 1500FT. NO DAMAGE REPORTED. SMALL BIRD ON WINDSHIELD.             
 Tower  | 0                 | T WAS A SMALL BIRD. NO DAMAGE WAS REPORTED. ASQ2607 CLIMB WITH…      
 Tower  | 0                 | HE FLARE OVER THE RUNWAY.  BIRD WAS DESCRIBED AS SMALL AND BLA…      
 Tower  | 0                 | NDING AT OAK.                                                        
 Tower  | 0                 |                                                                      
 Tower  | 0                 | d arrived RWY16R.                                                    
 Tower  | 0                 | proximately 13 miles east of IAH. The aircraft was IMC and una…      
 Tower  | 0                 | ON APPROACH CONTROL FREQUENCY. AIRCRAFT RETURNED BACK TO SFB A…      
 Tower  | 0                 | ested leveling at 13000. Declared emergency with stall indicat…      
 Tower  | 0                 |                                                                      
1› faa-wildlife-strikes|                                     zl  scroll-cells-right     73448 rows  

Diving into cells

Pressing z + Enter “dives” into your current cell, opening a “Text Sheet” that contains only that cell’s value:

 text                                                                                               
 N9240F was right base to final on Runway 4, and he reported a bird strike to the left wing.  He d… 
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
2› faa-wildlife-strikes[['0']].REMARKS|                                      z^J           1 lines  

If your cell’s value contains newlines, they’ll appear as such in the Text Sheet. From a Text Sheet, you also can press Control-o to open the cell in your terminal’s default text editor.

Tip

Similarly, whenever you’re editing a cell within VisiData (i.e., via the e command), you can also run Control-o to open that cell in your terminal’s default text editor.