csview

command module
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2021 License: MIT Imports: 15 Imported by: 0

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL