Use home-manager to create xsession.
Readme contains info on how to start xsession on login.
That way home-manager can maintain languages, keyboard and further stuff
globally for user.
No more need to set stuff as workaround within i3 or zsh.
Also enabled to start systemd units after login, as home-manager will
create and trigger `hm-graphical-session.target`.
That allows me to search backward and go forward once I got to far.
I also switch to CTRL+j and CTRL+k to use vim like bindings to search
back and forth.
Telescope no longer provides LSP code actions.
I add a mapping to trigger code actions.
I also ensure that I don't have to wait for phpactor menu.
And I didn't use hover anyway.
This allows to use full potential of phpactor.
We wrap the binary to promote PHP and Composer.
We ensure that the neovim plugin is not calling PHP, but only the
wrapper, which ensures that proper PHP version will be used.
It results in 137 exit codes way to often at the moment.
Issue is not LSP (=Language Server Protocol) itself but phpactor
implementations.
Still I only use phpactor with LSP, so remove for now.
Remove flakes for now.
I will use shells for now to not have a mixed setup.
Add composer v1 for a single customer project as overlay due to usage in
shell instead of flakes.
Adjust folder to not have unnecessary deep structure.
Add shell for reuter monorepo using composer v1.
Those were the last piece in my old .dotfiles repository.
The whole configuration is now defined here.
Only customer specifics are in a separate location / repo to not expose
any sensible data.
I copy the issue id and description for time tracking and the badge is
in between.
I disable it as I don't need it. That way I also won't copy it to time
tracking anymore.
I tried nvimpager but it was a bit complex for me to re use existing
Neovim settings tweak for specific usage as pager.
I decided to stick with less for everything.
There is an existing module.
Existing manually written and linked files are replaced with usage of
the module.
This has the advantage that I don't need to know where to place the
files and which format to use.
Furthermore, the module will check whether I've typos in options and
whether values match expected types.
The keyboard shortcut was already in use.
I therefore renamed custom_functions into custom runs.
That way I can add multiple things in the future.
E.g. the items to select can also be a table which defines the name as
well as what to execute. That way I could add functions, commands and
other things.
Use omni after more specific completions.
Add buffer to completion, not as fallback. I often wanna complete from
current buffer.
Keep syntax consistent when requiring lua modules.
Finally a fast none disturbing auto completion.
lsp_signature_nvim is kept as it provides info while filling in
arguments.
cmp lsp didn't work in my case, so didn't add it.
Not sure if I'll settle on that. I'm currently used to mycli and
litecli.
But sounds useful to have it within the editor to not have different
programs with different configuration and behaviour.
Still use menu like default.
Do not show preview as in default.
Do not insert as in default.
Do not select as in default.
This allows me to see suggestions but continue typing to narrow down.
Also allows me to manually select a result.
That way completion is out of my way but there to support me.
Add for PHP via existing phpactor as server.
Use new signature plugin for proper none irritating inline help during
function calls.
TODO: Get rid of preview window showing up …