aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Improve filename passingHEADorigin/mastermasterPřemysl Eric Janouch2024-04-171-5/+7
| | | | | | | c9662f1 forgot about internal helpers. Moreover, it is annoying to see the -- in shell history for every single external helper call.
* Remove linker preference from CMakeLists.txtPřemysl Eric Janouch2024-04-081-7/+0
| | | | | | ld.gold doesn't understand all options that ld.bfd does. In particular, this broke AUR builds with the current makepkg.conf.
* Use more precise filesizesPřemysl Eric Janouch2024-04-071-5/+25
| | | | | | The behaviour differs from GNU `ls -lh` in that we use binary units, meaning we get 1023 before 1.0K rather than 999 before 1.0K, which is nonetheless still four characters wide.
* Fix passing filenames starting with -Přemysl Eric Janouch2024-01-202-3/+3
| | | | We don't want to pass them as program options.
* CMakeLists.txt: declare compatibility with 3.27Přemysl Eric Janouch2023-08-011-1/+1
| | | | Sadly, the 3.5 deprecation warning doesn't go away after this.
* README.adoc: update package informationPřemysl Eric Janouch2023-07-011-2/+4
|
* Fix code formatting, bump copyright yearsPřemysl Eric Janouch2023-06-122-5/+5
|
* Do not beep on window resizesPřemysl Eric Janouch2023-06-111-1/+2
|
* Implement ^W in the editorPřemysl Eric Janouch2023-06-111-2/+15
|
* Support wildcards in interactive searchPřemysl Eric Janouch2022-09-032-16/+31
| | | | | | | The previous search for the longest match is functionally duplicated by typing individual characters on the input line, and wildcards can be escaped, so there shouldn't be regressions in terms of capability.
* Add a missing case breakPřemysl Eric Janouch2022-01-081-0/+1
|
* Add and bind an action to center the cursorPřemysl Eric Janouch2022-01-081-1/+4
| | | | "z" stands for VIM's "zz".
* Do not crash on opendir() failuresPřemysl Eric Janouch2021-11-091-5/+16
| | | | Show an error message, and a way out.
* Fix build with recent ncursesPřemysl Eric Janouch2021-11-091-0/+3
| | | | Easily gained, easily lost. No more ^S binding.
* bash integration: add helpers to command historyPřemysl Eric Janouch2021-11-051-0/+1
|
* zsh integration: add helpers to command historyPřemysl Eric Janouch2021-11-051-0/+3
|
* Add clang-format configuration, clean upPřemysl Eric Janouch2021-11-052-40/+54
|
* Move the cursor to just created directoriesPřemysl Eric Janouch2021-10-301-3/+9
|
* Clean upPřemysl Eric Janouch2021-10-301-11/+9
|
* Bind ^S to search, as in Emacs, with a trickPřemysl Eric Janouch2021-10-181-1/+10
| | | | We heavily depend on ncurses anyway, so no worries about portability.
* Slightly optimize very large directoriesPřemysl Eric Janouch2021-10-051-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 itPřemysl Eric Janouch2021-10-051-3/+2
| | | | Large directories are slow for different reasons.
* Don't reload on sort changesPřemysl Eric Janouch2021-09-261-10/+15
| | | | It is unexpected behaviour, and likes to take too long.
* Add a comment about libaclPřemysl Eric Janouch2021-09-261-1/+3
| | | | So that I don't repeat my actions in the future.
* Ignore empty XDG_CONFIG_DIRSPřemysl Eric Janouch2021-09-261-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 targetPřemysl Eric Janouch2021-07-191-5/+5
|
* Explicitly disable GCC's -Wmisleading-indentationPřemysl Eric Janouch2021-07-192-2/+3
|
* Fix a signedness compiler warningPřemysl Eric Janouch2021-07-191-5/+5
|
* Bind F6 to a rename promptPřemysl Eric Janouch2021-07-171-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 promptPřemysl Eric Janouch2021-07-171-2/+12
| | | | This might have needed more thought, but we'll see.
* Implement search iterationPřemysl Eric Janouch2021-07-171-17/+37
| | | | | | The interactive search now has its own keymap, overriding "input". Closes #5
* Add a right-side prompt to the searchPřemysl Eric Janouch2021-07-171-7/+24
|
* Enable pushing the search in a certain directionPřemysl Eric Janouch2021-07-171-6/+7
| | | | We want to make it possible to iterate all current matches.
* Make search() return the number of matchesPřemysl Eric Janouch2021-07-171-2/+4
|
* Make removing characters invoke g.editor_on_changePřemysl Eric Janouch2021-07-171-3/+4
|
* Improve C-char parsingPřemysl Eric Janouch2021-07-091-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 experimentalPřemysl Eric Janouch2021-07-071-0/+1
| | | | Add an explanatory link, so that I don't need to look it up again.
* Makefile: fix version extractionPřemysl Eric Janouch2021-07-071-2/+2
| | | | Regression introduced by cc59fcf.
* Allow binding to custom key sequencesPřemysl Eric Janouch2021-07-073-7/+33
| | | | And document this feature in the manual page.
* README.adoc: make use of the "plus" attributePřemysl Eric Janouch2020-11-071-4/+2
|
* sdn.1: refer to a better manual pagePřemysl Eric Janouch2020-11-051-1/+1
|
* sdn.1: take care about sentence spacingPřemysl Eric Janouch2020-10-291-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 Janouch2020-10-291-0/+1
| | | | Yet, this program remains fairly unportable.
* sdn.1: improve wording about envvarsPřemysl Eric Janouch2020-10-271-2/+2
|
* sdn.1: fix default key binding referencesPřemysl Eric Janouch2020-10-271-1/+1
|
* Make the manpages mostly acceptablePřemysl Eric Janouch2020-10-273-16/+91
| | | | Closes #1
* Update README.adocPřemysl Eric Janouch2020-10-271-1/+6
| | | | I've put the project in AUR, it seems to deserve it.
* Add some mediocre manpagesPřemysl Eric Janouch2020-10-263-0/+69
| | | | I'm not particularly happy to write in mdoc but here goes.
* Implement the --version optionPřemysl Eric Janouch2020-10-261-0/+5
| | | | Since we have a version number at all, even if it's meaningless.
* CMakeLists.txt: cleanupPřemysl Eric Janouch2020-10-261-9/+6
|