Skip to content

japanoise/csved

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

csved

An editor for plaintext tables, consisting of columns separated by arbitrary characters and rows separated by newlines, i.e. tsv, csv and related formats.

Currently it's quite spartan, but more is planned - see below.

usage

It will assume comma-separated data for files ending in .csv, and assume tab-separated data for files ending in .tsv - both case-insensitive. Otherwise it will prompt you to choose a delimiter for the data. This can be anything except a newline, which will break the parser for obvious reasons. Newlines in the data will also cause strange behaviour (row breaks where there shouldn't be any) which is a natural consequence of a line-by-line parser.

You can run it with the flag -d for extra debugging information.

keys

  • Arrows, Emacs or vi movement keys - move around
  • RET - Edit the currently selected cell
  • C-t - toggle treating the first row as a title for the column
  • C-s - save the file (truncating it if it already exists)
  • C-c - quit
  • C-l - add coLumn
  • C-k - delete current column
  • C-r - add Row
  • C-u - delete current row
  • C-a, Home - start of row
  • C-e, End - end of row
  • TAB - next cell (book order, also creates new rows if it reaches the end of a sheet.)

plans

  • Search - C-f (CUA)
  • Clipboard
  • Tab completion in a column

copying

Licensed MIT.

About

csv (and tsv, space separated...) editor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages