A Vim plugin that provides local LLM-assisted code and text completion using llama.cpp server instances. It supports features like auto-suggest on cursor movement, manual toggle with Ctrl+F, accepting suggestions with Tab/Shift+Tab, configurable context scope, and performance stats display.
Linux tab completion is a powerful feature that saves time and prevents errors by auto-completing commands and filenames. This article explores how to use tab completion in bash and zsh shells, highlighting its advanced capabilities with commands like git.
This GitHub repository contains bash-completion.el, a script that adds programmable bash completion to Emacs shell-mode. It is based on bash completion and is aware of bash builtins, aliases, and functions. It supports file expansion inside colon-separated variables and after redirections (> or <), escapes special characters when expanding file names, and is configurable through programmable bash completion. It works on remote shells, through TRAMP.
Installing bash-completion with Homebrew
To install bash-completion, you have to:
brew install bash-completion
And add the following to your ~/.bash_profile:
if -f $(brew --prefix)/etc/bash_completion » ; then
. $(brew --prefix)/etc/bash_completion
fi