Commit graph

171 commits

Author SHA1 Message Date
Daniel Siepmann 17068755af
Add neovim plugin ultest to show test summary and status
I use this to show icons beside methods to see which tests are fine and
which are broken. Same for summary.

I also update my colorscheme to support this plugin.
2022-08-22 11:45:48 +02:00
Daniel Siepmann 1987df7995
Fix sorting within neovim
I've a custom function SortParagraph mapped to a key binding.
This sorted different then php-cs-fixer.
I've switched from neovim built-in sort to command line sort of gnuutils
which sorts the same expected way by default.

This is done by not calling a neovim command but command line program
via "!".
2022-08-22 11:09:35 +02:00
Daniel Siepmann 961cc0df66
Remove zathura
The build is currently broken.
Revert this commit once it is working again.
See related issue in nixpkgs: https://github.com/NixOS/nixpkgs/issues/187305
2022-08-22 07:49:35 +02:00
Daniel Siepmann 6b4f49c553
Fix broken tmux configuration
The shell needs to be referenced by full absolute path.
2022-08-22 07:48:52 +02:00
Daniel Siepmann 2795cb79c3
Fix broken vim php syntax
The loading order (runtimepath) was changed with
cda1f8ae46.
The php syntax loaded as package is now loaded after the neovim native
php syntax file and does not have any effect.

I now remove the package and add the file as XDG config so it is always
loaded first.
This file is not maintained anymore since some years and I still prefer
it over the maintained versions.
2022-08-16 08:05:13 +02:00
Daniel Siepmann ec3f04f910
Customer Redmine: Hide parent issue in description
This allows to easily copy the issue itself to time tracking.
2022-08-16 07:40:53 +02:00
Daniel Siepmann 42081fc2a9
Use binaries from $PATH
Do not link against raw pkgs version.
They might be adjusted.
Use the ones from PATH.
2022-08-15 08:41:53 +02:00
Daniel Siepmann 97aa38df93
Migrate fileContents to builtins.readFile
As already done for neovim configuration.
2022-08-15 08:37:40 +02:00
Daniel Siepmann eb6c58f076
Add missing linebreak in generated neovim configuration
Use builtin function instead. This will keep the trailing line break.
Also always use the braces to make it obvious we are using a function.
2022-08-15 08:26:12 +02:00
Daniel Siepmann 4596c6254e
Fix broken php if snippet in neovim 2022-08-03 08:31:17 +02:00
Daniel Siepmann 48e1b9d244
Update phpactor
Install latest master.
2022-08-02 13:20:43 +02:00
Daniel Siepmann 3707831a56
Refactor phpactor neovim plugin into own nix file
This makes it easier to open the file via fuzzy finder.
Everything is located within the file and callPackage will pass the
necessary dependencies.
2022-08-02 13:20:08 +02:00
Daniel Siepmann 964495f0a3
Revert from mcfly back to old zsh history search
It didn't work as good as expected. It sometimes missed further lines.
It did not really shine in its neural network learning, taking into
account exist codes and cwd.
2022-08-01 16:12:18 +02:00
Daniel Siepmann 6bf26938d9
Update phpactor 2022-07-12 10:21:42 +02:00
Daniel Siepmann 638b34f085
Move Firefox addons into "Overflow menu" 2022-07-04 07:37:33 +02:00
Daniel Siepmann d5e8cffec1
Add presentation stuff to neovim
Add plugins and a small function that will trigger all the plugins +
settings.
2022-07-04 07:36:52 +02:00
Daniel Siepmann 6e7ec0955f
Update mcfly option
This was changed with newer releases.
2022-06-27 07:47:27 +02:00
Daniel Siepmann 3250212dc8
Add new customer ssh block 2022-06-15 16:08:03 +02:00
Daniel Siepmann b6db7ff6b8
Update typoscript syntax for neovim 2022-06-15 15:10:32 +02:00
Daniel Siepmann 03da79bc41
Update phpactor to stay compatible
Mainly switch to php8.0 as this is still supported by nix.
Also add git to path (just to be sure it is there)
And update phpactor itself.
2022-06-13 08:15:32 +02:00
Daniel Siepmann 06fbb675c3
Firefox show punycode
In order to actually recognize unconventional encoded signs.
See: https://fosstodon.org/@xpil/108412951909479927
2022-06-08 16:51:27 +02:00
Daniel Siepmann 68e2e85d49
Replace telescope-ui-select-nvim with dressing-nvim
Configures the hole UI stuff, no need for different plugins.
2022-06-08 08:51:31 +02:00
Daniel Siepmann 126ec8481e
Use telescope as select ui in neovim 2022-06-08 08:47:55 +02:00
Daniel Siepmann d778b9a20c
Remove forward agent from customer ssh
This is no longer necessary for that agent.
We now deploy via CI and no longer ourself.
2022-06-02 12:15:53 +02:00
Daniel Siepmann e9dc6ba190
Extend Firefox configuration
Disable syncing for most parts.
Disable auto fill (I use Keepass browser extension).

Remove some none useful bookmarks.
2022-06-01 10:12:35 +02:00
Daniel Siepmann cd63d01702
Configure keepassxc for browser extension support
Add manually installed extensions as comments.
I could install them from user repositories, but I keep this for now.
2022-05-31 08:47:21 +02:00
Daniel Siepmann 38b010075f
Migrate GPG to ni / home-manager
Install and configure gpg and gpg-agent.
Add my own public key as a test.
2022-05-30 19:17:10 +02:00
Daniel Siepmann 56f0e7ce8d
Remove treesitter from neovim
Not an in line replacement yet.
Stuff like auto indent in php doesn't work yet.
No benefit for me for now.
2022-05-30 17:14:17 +02:00
Daniel Siepmann e80a1034a5
Migrate away from 3rd party vim plugin for sqlformat
It didn't work.
Instead I migrated to nix + python directly.
I keep the way to use autocommand to set the formatting.
But no expression but an external program.
This program is created via nix as shell application.
This one uses the sqlparse, just like the plugin.
This will use the std input as file for input.

That way I can re use this in other places.
Integration is way easier, no additional overhead to write python
embedded as vimscript.
Also full dependency control via nix.
2022-05-30 10:43:18 +02:00
Daniel Siepmann 32fbafba20
Support new reuter folder structure on my local machine 2022-05-25 13:47:16 +02:00
Daniel Siepmann 41a03f832d
Configure neovim to show all telescope builtin + extensions
As seen on
https://www.reddit.com/r/neovim/comments/tw2d1q/are_additional_pickers_supposed_to_appear_in_the/
2022-05-25 13:17:48 +02:00
Daniel Siepmann 956ea506b8
Refactor ssh keys
Make public what is already known to the public.
Also define keys in variables for easier maintenance.

Some hostings still don't support ed.
2022-05-24 16:44:17 +02:00
Daniel Siepmann 90b5f5b6d0
Add SSH
Configure ssh, use git-crypt to crypt the configuration.
That way no information like domain name, ip, port, username, etc. are
exposed.
2022-05-24 11:55:50 +02:00
Daniel Siepmann a1e93157c4
Migrate phone web app to chromium
As it doesn't work with firefox.
2022-05-24 09:29:04 +02:00
Daniel Siepmann 3f76453f79
Cleanup ale configuration file
Remove old commented out blocks.
Remove unnecessary function and call, just set the option.
2022-05-23 18:45:51 +02:00
Daniel Siepmann 003b6be119
Integrate languagetool into neovim
I already set it up as service for firefox extension.
This now also integrates into neovim.
2022-05-23 18:45:51 +02:00
Daniel Siepmann 3110d19453
Replace zsh history search with mcfly
Let's see whether I keep this setup.
2022-05-23 18:45:50 +02:00
Daniel Siepmann 93bd4a08d8
Do not execute PHPUnit tests via codeception 2022-05-23 16:22:27 +02:00
Daniel Siepmann 10702e20f7
Update phpunit options for reuter in neovim
This project now uses TYPO3 v10 and phpunit 9.5.x.
I now can use testdox :)
2022-05-23 11:47:19 +02:00
Daniel Siepmann 4f2549a29e
Add sipgate webphone as "application" 2022-05-23 08:41:24 +02:00
Daniel Siepmann 7ca113b60e
Install zathura as Document Viewer (PDFs)
It uses vim keybindings and can be configured via module.
Set it as default application for PDFs.
2022-05-22 16:40:42 +02:00
Daniel Siepmann 5cc06b6967
Add keychain application
In order to not worry about ssh-agent integration, it will take care and
ask for passphrases on first zsh start.
2022-05-20 16:20:44 +02:00
Daniel Siepmann 293b5684f5
Remove no longer available and used registry 2022-05-20 13:27:19 +02:00
Daniel Siepmann 2823c2f0f9
Maintain more global options via home-manager
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`.
2022-05-20 12:47:01 +02:00
Daniel Siepmann ec90898c38
Add tree sitter to neovim
This installs used languages.
Also update colorscheme to support new hi groups introduced by ts.
2022-05-20 11:05:26 +02:00
Daniel Siepmann ce237df68f
Disable CTRL+j binding for zsh history 2022-05-19 08:08:49 +02:00
Daniel Siepmann dc304dbcee
Keep zsh CTRL+r binding
I'm way to used to that.
I guess I'll use it for switching to search mode, and then use j+k for
moving.
2022-05-19 07:00:58 +02:00
Daniel Siepmann 02e7f24b52
Add todo for rest neovim plugin 2022-05-18 19:54:03 +02:00
Daniel Siepmann 676e0e311a
Allow forward history search in zsh
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.
2022-05-18 19:49:39 +02:00
Daniel Siepmann 1500eb1871
Add BufOnly vim plugin
This allows me to easily close (and wipe) all buffers except the current
one.
I no longer need to close and re open vim to quickly have a clean state.
2022-05-18 19:47:03 +02:00