https://github.com/YS-L/csvlens Skip to content Toggle navigation Sign in * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code Explore + All features + Documentation + GitHub Skills + Blog * Solutions For + Enterprise + Teams + Startups + Education By Solution + CI/CD & Automation + DevOps + DevSecOps Resources + Learning Pathways + White papers, Ebooks, Webinars + Customer Stories + Partners * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Search [ ] Clear Search syntax tips Provide feedback We read every piece of feedback, and take your input very seriously. [ ] [ ] Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Name [ ] Query [ ] To see all available qualifiers, see our documentation. Cancel Create saved search Sign in Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} YS-L / csvlens Public * Notifications * Fork 16 * Star 858 Command line csv viewer License MIT license 858 stars 16 forks Activity Star Notifications * Code * Issues 14 * Pull requests 1 * Actions * Projects 0 * Security * Insights Additional navigation options * Code * Issues * Pull requests * Actions * Projects * Security * Insights YS-L/csvlens This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. main Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags Name already in use A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch? Cancel Create 5 branches 16 tags Code * Local * Codespaces * Clone HTTPS GitHub CLI [https://github.com/Y] Use Git or checkout with SVN using the web URL. [gh repo clone YS-L/c] Work fast with our official CLI. Learn more about the CLI. * Open with GitHub Desktop * Download ZIP Sign In Required Please sign in to use Codespaces. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching Xcode If nothing happens, download Xcode and try again. Launching Visual Studio Code Your codespace will open once ready. There was a problem preparing your codespace, please try again. Latest commit @YS-L YS-L Fix panic in LineWrapper caused by unicode and newline ... a94e54a Jan 4, 2024 Fix panic in LineWrapper caused by unicode and newline Closes #44. a94e54a Git stats * 249 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time .github Update demo January 1, 2024 23:37 src Fix panic in LineWrapper caused by unicode and newline January 5, 2024 00:59 tests/data Add line wrapping test case July 24, 2023 01:19 .gitignore Initial commit August 9, 2021 00:43 CHANGELOG.md Release v0.5.0 January 1, 2024 23:53 Cargo.lock Release v0.5.0 January 1, 2024 23:53 Cargo.toml Release v0.5.0 January 1, 2024 23:53 LICENSE Add LICENSE February 27, 2022 01:10 README.md Update README and help page December 10, 2023 22:16 View code csvlens Usage Key bindings Optional parameters Installation Linux package managers README.md csvlens csvlens is a command line CSV file viewer. It is like less but made for CSV. Demo Usage Run csvlens by providing the CSV filename: csvlens Pipe CSV data directly to csvlens: | csvlens Key bindings Key Action hjkl (or - | |- ) Scroll one row or column in the given direction Ctrl + f (or Page Scroll one window down Down) Ctrl + b (or Page Scroll one window up Up) Ctrl + d (or d) Scroll half a window down Ctrl + u (or u) Scroll half a window up Ctrl + h Scroll one window left Ctrl + l Scroll one window right Ctrl + - Scroll left to first column Ctrl + - Scroll right to last column G (or End) Go to bottom g (or Home) Go to top G Go to line n / Find content matching regex and highlight matches n (in Find mode) Jump to next result N (in Find mode) Jump to previous result & Filter rows using regex (show only matches) * Filter columns using regex (show only matches) TAB Toggle between row, column or cell selection modes > Increase selected column's width < Decrease selected column's width Enter (in Cell Print the selected cell to stdout and exit mode) -S Toggle line wrapping r Reset to default view (clear all filters and custom column widths) H Display help q Exit Optional parameters * -d : Use this delimiter when parsing the CSV (e.g. csvlens file.csv -d $'\t'). Specify -d auto to auto-detect the delimiter. * -i, --ignore-case: Ignore case when searching. This flag is ignored if any uppercase letters are present in the search string. * --echo-column : Print the value of this column at the selected row to stdout on Enter key and then exit. Installation csvlens is available on crates.io, so you can install it using: cargo install csvlens Or, build and install from source: cargo install --path $(pwd) Linux package managers csvlens is also available on pkgsrc. If you're using NetBSD you can install it using: pkgin install csvlens About Command line csv viewer Resources Readme License MIT license Activity Stars 858 stars Watchers 6 watching Forks 16 forks Report repository Releases 3 v0.5.0 Latest Jan 1, 2024 + 2 releases Packages 0 No packages published Contributors 6 * * * * * * Languages * Rust 100.0% Footer (c) 2024 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact * Manage cookies * Do not share my personal information You can't perform that action at this time.