this article suggests shell allowed, but git also has a built-in feature for aliases itself. I prefer these as it allows you to keep using the git
command normally (more consistent when you tend to use history search/auto-suggestions heavily).
running git config --global alias.st status
, for example, will allow you to run git st
as an alias for typing out the full git status
(you can also manually add aliases to your ~/.gitconfig
).
sadly no; position of hint is determined by the LSP server.
you could use this plugin (now archived) which was the way many people used hints pre-0.10:
https://github.com/lvimuser/lsp-inlayhints.nvim