Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move the cursor to just created directories | Přemysl Eric Janouch | 2021-10-30 | 1 | -3/+9 |
| | |||||
* | Clean up | Přemysl Eric Janouch | 2021-10-30 | 1 | -11/+9 |
| | |||||
* | Bind ^S to search, as in Emacs, with a trick | Přemysl Eric Janouch | 2021-10-18 | 1 | -1/+10 |
| | | | | We heavily depend on ncurses anyway, so no worries about portability. | ||||
* | Slightly optimize very large directories | Přemysl Eric Janouch | 2021-10-05 | 1 | -16/+17 |
| | | | | | | | | Cumulatively 10% of user time, give or take. These are mainly pointless multibyte to wide string conversions. The hit to source code readibility is minimal. | ||||
* | Measured stat performance, io_uring not worth it | Přemysl Eric Janouch | 2021-10-05 | 1 | -3/+2 |
| | | | | Large directories are slow for different reasons. | ||||
* | Don't reload on sort changes | Přemysl Eric Janouch | 2021-09-26 | 1 | -10/+15 |
| | | | | It is unexpected behaviour, and likes to take too long. | ||||
* | Add a comment about libacl | Přemysl Eric Janouch | 2021-09-26 | 1 | -1/+3 |
| | | | | So that I don't repeat my actions in the future. | ||||
* | Ignore empty XDG_CONFIG_DIRS | Přemysl Eric Janouch | 2021-09-26 | 1 | -1/+1 |
| | | | | | | | | As the specification says we should. GLib does this as well. It is still possible to achieve an empty set by using ":", which are two non-absolute paths that should be ignored. GLib doesn't implement this. Thus, we're now better than GLib. | ||||
* | Makefile: make the static build a non-phony target | Přemysl Eric Janouch | 2021-07-19 | 1 | -5/+5 |
| | |||||
* | Explicitly disable GCC's -Wmisleading-indentation | Přemysl Eric Janouch | 2021-07-19 | 2 | -2/+3 |
| | |||||
* | Fix a signedness compiler warning | Přemysl Eric Janouch | 2021-07-19 | 1 | -5/+5 |
| | |||||
* | Bind F6 to a rename prompt | Přemysl Eric Janouch | 2021-07-17 | 1 | -1/+1 |
| | | | | | | Mostly just so that the F7 binding isn't completely alone. Since Shift-F6 isn't something we can just bind to, use a prefill. | ||||
* | Bind F7 to an mkdir prompt | Přemysl Eric Janouch | 2021-07-17 | 1 | -2/+12 |
| | | | | This might have needed more thought, but we'll see. | ||||
* | Implement search iteration | Přemysl Eric Janouch | 2021-07-17 | 1 | -17/+37 |
| | | | | | | The interactive search now has its own keymap, overriding "input". Closes #5 | ||||
* | Add a right-side prompt to the search | Přemysl Eric Janouch | 2021-07-17 | 1 | -7/+24 |
| | |||||
* | Enable pushing the search in a certain direction | Přemysl Eric Janouch | 2021-07-17 | 1 | -6/+7 |
| | | | | We want to make it possible to iterate all current matches. | ||||
* | Make search() return the number of matches | Přemysl Eric Janouch | 2021-07-17 | 1 | -2/+4 |
| | |||||
* | Make removing characters invoke g.editor_on_change | Přemysl Eric Janouch | 2021-07-17 | 1 | -3/+4 |
| | |||||
* | Improve C-char parsing | Přemysl Eric Janouch | 2021-07-09 | 1 | -4/+4 |
| | | | | | | | | | I was hoping that a superoptimiser would help me find a miraculous branchless equation to cover it, but in the end the branching doesn't hurt at all in our case. It's more readable than `(((char >> 2) - 0x38) & 0x60) ^ char` or `(char ^ 0x40) & (((char >> 1) ^ 0x20) | 0x5f)`. | ||||
* | sdn-install: explain why -dot is experimental | Přemysl Eric Janouch | 2021-07-07 | 1 | -0/+1 |
| | | | | Add an explanatory link, so that I don't need to look it up again. | ||||
* | Makefile: fix version extraction | Přemysl Eric Janouch | 2021-07-07 | 1 | -2/+2 |
| | | | | Regression introduced by cc59fcf. | ||||
* | Allow binding to custom key sequences | Přemysl Eric Janouch | 2021-07-07 | 3 | -7/+33 |
| | | | | And document this feature in the manual page. | ||||
* | README.adoc: make use of the "plus" attribute | Přemysl Eric Janouch | 2020-11-07 | 1 | -4/+2 |
| | |||||
* | sdn.1: refer to a better manual page | Přemysl Eric Janouch | 2020-11-05 | 1 | -1/+1 |
| | |||||
* | sdn.1: take care about sentence spacing | Přemysl Eric Janouch | 2020-10-29 | 1 | -16/+25 |
| | | | | | | | | | | | For more info, see e.g. https://github.com/asciidoc/asciidoc-py3/issues/137 I'll probably commit to mandoc here but scdoc is appealing. Somewhat sadly, it explicitly suppresses sentence spacing but I'm wondering whether it couldn't be reimplemented better, in a more AsciiDoc-like fashion. | ||||
* | Include a header required for kill() | Přemysl Eric Janouch | 2020-10-29 | 1 | -0/+1 |
| | | | | Yet, this program remains fairly unportable. | ||||
* | sdn.1: improve wording about envvars | Přemysl Eric Janouch | 2020-10-27 | 1 | -2/+2 |
| | |||||
* | sdn.1: fix default key binding references | Přemysl Eric Janouch | 2020-10-27 | 1 | -1/+1 |
| | |||||
* | Make the manpages mostly acceptable | Přemysl Eric Janouch | 2020-10-27 | 3 | -16/+91 |
| | | | | Closes #1 | ||||
* | Update README.adoc | Přemysl Eric Janouch | 2020-10-27 | 1 | -1/+6 |
| | | | | I've put the project in AUR, it seems to deserve it. | ||||
* | Add some mediocre manpages | Přemysl Eric Janouch | 2020-10-26 | 3 | -0/+69 |
| | | | | I'm not particularly happy to write in mdoc but here goes. | ||||
* | Implement the --version option | Přemysl Eric Janouch | 2020-10-26 | 1 | -0/+5 |
| | | | | Since we have a version number at all, even if it's meaningless. | ||||
* | CMakeLists.txt: cleanup | Přemysl Eric Janouch | 2020-10-26 | 1 | -9/+6 |
| | |||||
* | Bind F1 to show the help | Přemysl Eric Janouch | 2020-10-25 | 1 | -1/+2 |
| | |||||
* | Mark a minor issue for later resolution | Přemysl Eric Janouch | 2020-10-24 | 1 | -0/+1 |
| | |||||
* | sdn-install: bash: fix UTF-8 collisions | Přemysl Eric Janouch | 2020-10-24 | 1 | -3/+4 |
| | |||||
* | Makefile: make portable, support static linking | Přemysl Eric Janouch | 2020-10-23 | 1 | -7/+14 |
| | | | | | | | | | | | We can happily stick to POSIX and the usual variable names, with the following exceptions: - pkg-config(1) is used to find libraries and compile flags - the new "static" target uses non-standard compiler and linker flags, though it's not the default target sdn is predestined for wild distribution, even the dynamically linked libc is rather suboptimal. | ||||
* | Cleanup | Přemysl Eric Janouch | 2020-10-23 | 1 | -7/+0 |
| | | | | | | The wchar_t variant of compute_width() is no longer needed. So all in all the better help has saved code. | ||||
* | Group help message by action | Přemysl Eric Janouch | 2020-10-23 | 1 | -5/+7 |
| | | | | Considerably more useful and concise. | ||||
* | Bind M-Up to the "parent" action | Přemysl Eric Janouch | 2020-10-23 | 1 | -1/+2 |
| | | | | | | Taken from Windows Explorer, which previously used Backspace. We might want to use h/l for parent/choose by default. | ||||
* | Bind C-d in the editor | Přemysl Eric Janouch | 2020-10-23 | 1 | -1/+1 |
| | | | | | | We do get these as a key, after all. Closes #4 | ||||
* | Implement C-v in the editor | Přemysl Eric Janouch | 2020-10-23 | 1 | -2/+14 |
| | | | | | | Not completely happy with the explicit `halfdelay (1)`. Updates #4 | ||||
* | Implement C-u C-k in the editor | Přemysl Eric Janouch | 2020-10-23 | 1 | -0/+10 |
| | | | | Updates #4 | ||||
* | Cleanup | Přemysl Eric Janouch | 2020-10-22 | 1 | -16/+17 |
| | |||||
* | Implement Delete in the editor | Přemysl Eric Janouch | 2020-10-22 | 1 | -2/+11 |
| | | | | | | | Not caring about C-d right now, we might have to convince the tty to send it to us--I'm not sure if it does, or returns EOF. Updates #4 | ||||
* | Implement C-a C-e C-b C-f in the editor | Přemysl Eric Janouch | 2020-10-21 | 1 | -1/+26 |
| | | | | Updates #4 | ||||
* | Make backspace erase combining characters | Přemysl Eric Janouch | 2020-10-21 | 1 | -2/+7 |
| | | | | | | They might not be even printed correctly, though. Updates #4 | ||||
* | Track cursor position in the editor | Přemysl Eric Janouch | 2020-10-21 | 1 | -6/+13 |
| | | | | Updates #4 | ||||
* | Minor fix-ups and adjustments | Přemysl Eric Janouch | 2020-10-21 | 2 | -4/+4 |
| | |||||
* | Add an installation script | Přemysl Eric Janouch | 2020-10-21 | 4 | -110/+188 |
| | | | | | | | | Copying snippets from the README was uncomfortable and laborious, and wasted a lot of space in the document, especially after the recent additions. Closes #3 |