large-scale-text-editing

Transform large text files with Vim macros and regex operations.

Updated Feb 24, 2026
One-click install
npx skills add https://github.com/Zurybr/lefarma-skills --skill large-scale-text-editing-zurybr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: large-scale-text-editing
Source: https://github.com/Zurybr/lefarma-skills/tree/main/letta/benchmarks/trajectory-only/large-scale-text-editing
Command: npx skills add https://github.com/Zurybr/lefarma-skills --skill large-scale-text-editing-zurybr

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides efficient methods for transforming large text files (thousands to millions of rows) using text editors like Vim, addressing challenges with bulk operations and keystroke constraints.

Core Features & Use Cases

  • Bulk Text Transformations: Perform find-and-replace, column reordering, and reformatting on massive datasets.
  • Regex-Based Editing: Leverage powerful regular expressions for complex pattern matching and modification.
  • Macro-Based Efficiency: Record and apply macros for repetitive tasks to minimize manual effort and keystrokes.
  • Use Case: Automatically reorder columns in a multi-million row CSV file, or perform a complex regex substitution across an entire log file.

Quick Start

Use the large-scale-text-editing skill to reorder the first three columns of the file 'data.csv' from ABC to CBA.

Frequently Asked Questions about large-scale-text-editing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I reorder columns in a large CSV file with millions of rows?

Reordering columns in a large CSV file requires using Vim macros and regex substitution to efficiently process millions of rows while minimizing keystrokes and manual effort. This skill provides the specific pattern recognition strategies needed for such bulk transformations.

What is the best way to perform bulk text transformations under keystroke constraints?

Bulk text transformations under keystroke constraints are best handled by recording and applying Vim macros for repetitive tasks. This approach automates complex find-and-replace operations across massive datasets, reducing manual input and ensuring consistent batch processing.

How do I use regex for bulk find-and-replace operations in massive log files?

Regex-based bulk find-and-replace in massive log files leverages Vim's substitution capabilities to match complex patterns and apply modifications across the entire dataset. This method ensures accurate text transformations on thousands to millions of rows.

Can I use Vim macros for data transformation on files with millions of rows?

Yes, Vim macros are highly effective for data transformation on files with millions of rows. By recording a sequence of editing commands once, you can apply the macro repeatedly to execute bulk operations efficiently without exceeding keystroke limits.

How do I verify pattern recognition results after batch processing large text files?

Verifying pattern recognition results after batch processing large text files involves applying specific verification strategies within Vim to ensure the regex substitutions and macro operations correctly modified the targeted text without unintended side effects.