Comments (4)
This is an interesting idea, I do want to add a read only mode for files that aren't able to be written to due to permissions or other factors and will consider adding a way to use this from the command line interface. :)
from ox.
Note: that should be an option like '-r' and user can alias it as "rox" because rox is already to launch file manager ROX-Filer.
from ox.
I've added a read only mode that will open a text file and not allow any edits in 0.2.7 but I will further this feature to allow input from the stdin in later versions, probably the next one.
from ox.
Implemented in Ox 0.3.3
You can use the -r flag to open files as read only
Passing information from stdin can be done as follows (as an example):
tree | ox --stdin -r
(to dump the output of the tree command into a readonly ox document)
or
ox --stdin <<< "some string"
(redirecting some string into ox via stdin)
from ox.
Related Issues (20)
- Page Up/ Page Down don't move to the start/end of the document as stated in the README HOT 3
- Why the unnecessary wrapping of Option around some return types? HOT 1
- Why the unnecessary wrapping of Option around some return types? HOT 2
- It can't recognize AltGr+Key (Windows 10, x64) HOT 1
- Please update the brew formulae HOT 1
- GLIBC_2.32 missing HOT 4
- Built-in help inaccessible with non-US keyboard
- Backspace and Delete not working HOT 3
- Outputing editors state for discord rpc HOT 2
- YAML syntax highlighting support HOT 2
- Some questions regarding this project? HOT 7
- To Tab, or not to Tab? HOT 1
- Keep cursor's position
- ox faield to start HOT 2
- Just a thought: tree editing HOT 1
- Add support for latex (and add comments for nushell) HOT 6
- question: how to enable text wrapping? if exist HOT 1
- question: any orientation in what is possible with custom commands? HOT 6
- sometimes can't edit the last line of files HOT 6
- 3 keys event_mapping won't work HOT 2
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 ox.