edgedb-cli icon indicating copy to clipboard operation
edgedb-cli copied to clipboard

Vim mode

Open tailhook opened this issue 5 years ago • 1 comments

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

  • [x] dd and similar line commands should handle single line
  • [ ] visual selection mode

tailhook avatar Mar 24 '20 09:03 tailhook

@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.

dmgolembiowski avatar Dec 04 '20 20:12 dmgolembiowski