edgedb / edgedb-cli

The EdgeDB CLI
https://www.edgedb.com/docs/cli/index
Apache License 2.0
167 stars 23 forks source link

Vim mode #16

Open tailhook opened 4 years ago

tailhook commented 4 years ago

This is mostly rustyline issue, but this issue tracks the status

dmgolembiowski commented 3 years ago

@tailhook What if the visual selection clipboard's contents were just EdgeDB sets of character code arrays that get inserted and deleted using normal DDL transactions? Vi users make heavy usage of 'u' for undo after accidental 'p' and 'x' keypress operations, so if there's a swift EdgeDB rollback, then there's no need to add complexity with dynamically sized clipboard buffers in memory. Or even complexity with the differences between a client machine's clipboard and the EdgeDB-cli's server's clipboard. It can all just be data on EdgeDB.