this post was submitted on 07 Aug 2023
13 points (93.3% liked)

Android

28943 readers
149 users here now

DROID DOES

Welcome to the droidymcdroidface-iest, Lemmyest (Lemmiest), test, bestest, phoniest, pluckiest, snarkiest, and spiciest Android community on Lemmy (Do not respond)! Here you can participate in amazing discussions and events relating to all things Android.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules


1. All posts must be relevant to Android devices/operating system.


2. Posts cannot be illegal or NSFW material.


3. No spam, self promotion, or upvote farming. Sources engaging in these behavior will be added to the Blacklist.


4. Non-whitelisted bots will be banned.


5. Engage respectfully: Harassment, flamebaiting, bad faith engagement, or agenda posting will result in your posts being removed. Excessive violations will result in temporary or permanent ban, depending on severity.


6. Memes are not allowed to be posts, but are allowed in the comments.


7. Posts from clickbait sources are heavily discouraged. Please de-clickbait titles if it needs to be submitted.


8. Submission statements of any length composed of your own thoughts inside the post text field are mandatory for any microblog posts, and are optional but recommended for article/image/video posts.


Community Resources:


We are Android girls*,

In our Lemmy.world.

The back is plastic,

It's fantastic.

*Well, not just girls: people of all gender identities are welcomed here.


Our Partner Communities:

!android@lemmy.ml


founded 2 years ago
MODERATORS
 

I tried acode, quickedit, markor, squircle CE, and numerous others.

Isn't this like a basic thing, to sort?

all 17 comments
sorted by: hot top controversial new old
[–] atyaz@reddthat.com 4 points 2 years ago (1 children)

You can do this in vim, which you can run on Android.

[–] JoeClu@lemmy.world 1 points 2 years ago

Do you? I've tried. Not fun. I use vim everyday on my workstation. On Android tiny keyboard, hard pass.

[–] eager_eagle@lemmy.world 3 points 2 years ago* (last edited 2 years ago) (1 children)

VS Code can sort lines (all or selected), I use it often too.

Ah sorry, I just saw it's for android - I'd choose the termux approach with sort file.txt.

[–] singinwhale@lmy.singinwhale.com 2 points 2 years ago

There is always the web version that also runs on Android: https://vscode.dev/

[–] AlmightySnoo@lemmy.world 2 points 2 years ago (1 children)

You mean sorting your documents by name/size/modified date?

[–] JoeClu@lemmy.world 4 points 2 years ago* (last edited 2 years ago) (1 children)

No, sorting text in the document. Sort all lines in document.

From this:

 Paper

 Altitude

 A better book

To this:

 A better book

 Altitude 

 Paper
[–] MargotRobbie@lemmy.world 4 points 2 years ago (2 children)

Maybe you want a spreadsheet app instead.

[–] AlmightySnoo@lemmy.world 2 points 2 years ago (1 children)

or termux and then doing a sort input_file.txt

[–] JoeClu@lemmy.world 4 points 2 years ago

I am aware of that route. But I'm looking for a text editor that will do it. You know, select some rows, click tools->sort. Seems easy enough.

[–] JoeClu@lemmy.world 1 points 2 years ago (1 children)

No, looking for a text editor. Seems simple enough and it's very useful.

[–] lechatron@lemmy.world -3 points 2 years ago* (last edited 2 years ago)

What you're wanting to do is sort a list, I know that word allows you to sort as bulleted list.

Edit: I assumed their mobile app had similar features to the desktop version, but after installing it's severely lacking in features.

[–] bet@lemm.ee 2 points 2 years ago (1 children)

I use jove (a small, lightweight emacs) within Termux, and M-X filter-region through sort

[–] JoeClu@lemmy.world 2 points 2 years ago* (last edited 2 years ago) (1 children)

I see. I switched from emacs to vim years ago and now I've forgotten most of the key chords in emacs. Nevertheless, seems like an awful way to edit files on a small android device. I tried vim for android and it was quite challenging. Not something I want to repeat.

[–] bet@lemm.ee 1 points 2 years ago

With "Unexpected Keyboard" (from f-droid) it's ok. I've come to expect that there's a basic choice between easy, with GUI, and powerful (like "sort a region of lines"), which is only GUI if you've got a powerful GUI, like plan 9. Otherwise, powerful means keyboard-driven.

When I've got a long, complex edit, I've got a nice, pocket-size, battery-powered folding bluetooth keyboard; combined with the kickstands on my phone cases, it is pretty good.