Categorygithub.com/hymkor/csview
repositorypackage
0.6.2
Repository: https://github.com/hymkor/csview.git
Documentation: pkg.go.dev

# README

CSView

CSView is the simple CSV viewer/editor running on the terminal of the Linux and Windows.
It supports UTF8 and the Windows current codepage(ANSI)

image

Install

Download the binary package from Releases and extract the executable.

Usage

$ csview FILENAME(...)

or

$ cat FILENAME | csview

Options

  • -c ... use Comma as field-separator (default when suffix is .csv)
  • -t ... use TAB as field-separator (default when suffix is not .csv)

Key-binding:

  • Move Cursor
    • h,Ctrl-B,← (move cursor left)
    • j,Ctrl-N,↓ (move cursor down)
    • k,Ctrl-P,↑ (move cursor up)
    • l,Ctrl-F,→ (move cursor right)
  • Search
    • / (search forward)
    • ? (search backward)
    • n (search next)
    • N (search next reverse)
  • Edit
    • i (insert a new cell before the current one)
    • a (append a new cell after the current one)
    • r (replace the current cell)
    • d (delete the current cell)
    • w (write to the new file or STDOUT('-').)
    • o (append a new line after the current one)
    • O (insert a new line before the current one)
    • D (delete the current line)
  • Repaint: Ctrl-L
  • Quit: q or ESC

Release Note