autocomplete

urxvt's autocomplete-ALL-the-things extension's port for st

Description

Completes the currently typed word using the other words visible in the st window.

For example the terminal looks like this:

Preview

It was strongly inspired by dabbrev feature in GNU Emacs and later by skeleton-complete by Bao Haojun.

Basic usage

Just press the key bound (in the example above: Alt-Ctrl-slash) to complete the word at point. Subsequent uses cycle through other possible completions.

Advanced usage

For more advanced completions use ACMPL_FUZZY_WORD and ACMPL_FUZZY. It's behavior is inspired by skeleton-complete, please see its readme for a more detailed explanation.

Available commands

Acknowledgments

Thanks to Stanislav Seletskiy for various contributions.

Thanks to Bao Haojun for the great idea of skeleton-complete.

Copyright

Copyright (C) 2012-2021 Wojciech Siewierski, Gaspar Vardanyan

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Download

The use of tmpnam' is dangerous, better use mkstemp'

Contribution

You can create issues and do pull requests on this gitlab repo.

Authors