Comments (5)
I agree that it would be handy; however, data safety is a big concern of mine, so I am hesitant to make it too easy to overwrite your original source data. A good compromise might be to auto-populate the Ctrl-S
ave with the original filename + some extension to ensure that the original data isn't overwritten accidentally. Alternatively, @andjelx proposed a simple tab completion mechanism that could be used with file opening/saving, which would help accomplish the same effect. Thoughts?
from visidata.
That sounds like a healthy compromise to me. I definitely see how just overwriting is a very dangerous operation, and how I would just accidently destroy my data.
from visidata.
I think it should pre-populate the field with the current filename (no extension), but if the user tries to save over any existing file (including the current file), the editor asks if they're sure. This is how most user-friendly editors work (e.g. nano
)
from visidata.
That's fine by me as well. I see how this might get annoying when doing this very often, but better safe than sorry.
from visidata.
Ideally you'd be able to turn off the prompting so that it's less annoying
from visidata.
Related Issues (20)
- [loader] Support for BoltDB HOT 1
- Directory sheet shows wrong filenames with multiple dots / filename extensions HOT 2
- [vds] saving sheet with no rows makes following sheets unreadable
- Add Command Line information to Options Sheet: "cli", "cli_optname", "type" HOT 5
- Allow specifying on CLI the number of lines to load from a file
- [main] command-line argument +a:b is parsed as row:col, contradicting man page HOT 8
- Aggregator with `+` not appearing in frequency table _unless_ selected after typing it out HOT 2
- [dev] AttributeError: 'ExprColumn' object has no attribute 'column_letter' when creating new column from Python expression HOT 4
- Cannot open xpt files with the latest xport dependency version HOT 2
- AttributeError: `AttrColumn` object has no attribute `column_letter` HOT 1
- The expression used for custom columns using `=` is evaluated repeatedly HOT 2
- [eml] Add an alias for mhtml file type that maps to eml
- [eml] Traceback when using the x command to extract entries without a filename HOT 1
- Can't disable mouse HOT 2
- vd v3.0.2 performance regression on Android HOT 1
- [Windows] Error: use_default_colors() returned ERR HOT 1
- system crash opening large (compressed) file
- unable to edit nested json value
- shell-command-on-cell HOT 1
- vdsql: edit cell, copy as sql, dump data...
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from visidata.