Commit graph

329 commits

Author SHA1 Message Date
Daniel Siepmann 048c0df915
Setup Neovim yamllint the same way as xmllint
Do not install globally.
Provide configuration at expected location as default / fallback.
2022-04-14 14:31:19 +02:00
Daniel Siepmann bbea479930
Add seconds to i3 block
This shouldn't cost to much electricity / power.
2022-04-14 13:58:27 +02:00
Daniel Siepmann 979d114f9c
Remove no longer used composer version from i3 blocks
I already removed the command as a hack.
Instead I know remove the whole block.

I no longer have global composer available.
Instead I use nix shell.
2022-04-14 13:54:47 +02:00
Daniel Siepmann bdbaaba2fd
Remove Neovim cmp autocomplete
I found it to disturbing and prefer the native behaviour I am used to.
2022-04-12 16:44:03 +02:00
Daniel Siepmann f77855abac
Add Neovim snippet for PHP invoke
Useful as many event handler will only implement this method.
2022-04-12 16:41:44 +02:00
Daniel Siepmann 95d0cb9a2c
Do not use vim as pager
That is inconvenient I often wanna see something and get back to work.
But vim is just to much and more complex to quit.
2022-04-11 07:52:55 +02:00
Daniel Siepmann 9fd5c068af
Remove audacity
This doesn't work, probably like sound-juicer needs underlying system?
2022-04-11 07:50:34 +02:00
Daniel Siepmann 437e893592
Remove unused i3 video modes 2022-04-11 07:50:18 +02:00
Daniel Siepmann 9f42237e25
Add screen recording "setup"
Change i3 config to match current hardware setup.
Add custom dmenu script to start and stop recording.

Move internal dmenu scripts into local variables.
2022-04-01 09:40:31 +02:00
Daniel Siepmann c3df8f0029
Remove community substituter
As it reports that some keys won't match and I don't use it right now.

Reverts 175ebf6 content wise but keeps syntax improvements
2022-03-31 19:42:53 +02:00
Daniel Siepmann f4cdf96abe
Added typescript syntax for Neovim 2022-03-31 15:15:52 +02:00
Daniel Siepmann 1dcaf129f6
Hide further elements on customer redmine 2022-03-31 09:55:15 +02:00
Daniel Siepmann 61b7c19a2a
Hide promoted posts on reddit 2022-03-31 09:55:02 +02:00
Daniel Siepmann 32df656e75
Add statix for nix checking into Neovim 2022-03-30 15:49:54 +02:00
Daniel Siepmann def8300cca
Disable paging for some git commands
I don't like pager for those commands.
2022-03-30 13:02:58 +02:00
Daniel Siepmann 0feb84f5c1
Hide frustrating unnecessary status badge in redmine
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.
2022-03-30 13:01:54 +02:00
Daniel Siepmann 9bbd014f0e
Use chromium for jitsi
As I never have video and sound in Firefox right now …
2022-03-30 13:01:30 +02:00
Daniel Siepmann b12b071b42
Add further possible todos 2022-03-30 08:01:08 +02:00
Daniel Siepmann 3ea21f18d1
Switch from Mattermost desktop to web version within chromium
As desktop doesn't send notifications.
2022-03-29 17:39:15 +02:00
Daniel Siepmann 49b485236c
Add markdown to ctags
As many projects use markdown and headlines.
That allows to jump to tags via telescope and tagbar within Neovim.
2022-03-29 16:17:14 +02:00
Daniel Siepmann 3255241ae2
Give page a chance over less
page also uses neovim, but re uses existing setup and improves over
nvimpager.
2022-03-29 15:39:01 +02:00
Daniel Siepmann 2cd771c838
Use less as general pager
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.
2022-03-29 15:29:10 +02:00
Daniel Siepmann 8de53581b2
Integrate gitlint via ale for SAC customer project
We have pretty simple rules.
The first line needs to match a specific pattern.
2022-03-29 13:51:59 +02:00
Daniel Siepmann 3b3f2d0588
Integrate gitlint via ale into Neovim for writing commit message
This is only done for one customer yet, as this customer has clean rules
which are already provided as community rules via gitlint.
2022-03-29 11:52:32 +02:00
Daniel Siepmann 939f80dba9
Configure phpactor accessor generation
This now makes it usable for myself.
It will add the "get" prefix and uppercase the property name.

See: https://phpactor.readthedocs.io/en/master/reference/configuration.html#code-transform-refactor-generate-accessor-prefix
2022-03-28 17:50:41 +02:00
Daniel Siepmann 3cd038aeed
Source full directory instead of single file for phpactor
This is a preparation to also eventually add templates subfolder.
This also demonstrates that "source" also can have a folder instead of
single file.
2022-03-28 17:49:58 +02:00
Daniel Siepmann 175ebf65b2
Add nix community binary caches from cachix.org
No use case yet, but that way I don't have to worry in future.
2022-03-28 13:57:31 +02:00
Daniel Siepmann 56c52ad153
Use snap installed Chromium for now
Looks like there was no pre build binary to use.
I therefore switched over to the snap package from Ubuntu.
My machine is not able to build Chromium :D
2022-03-28 08:43:02 +02:00
Daniel Siepmann 992116b57d
Migrate nix and nix registry configuration to home manager module
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.
2022-03-24 07:39:56 +01:00
Daniel Siepmann cbe783115c
Update todo comments 2022-03-23 17:42:04 +01:00
Daniel Siepmann f0323720e7
Update typoscript syntax plugin for Neovim 2022-03-23 17:41:47 +01:00
Daniel Siepmann 126b0fa422
Add new plugin to Neovim for easier merges
I'll give it a try and check how well it works.
2022-03-23 17:28:36 +01:00
Daniel Siepmann cdbf6a8680
Link Git mergetool against nixpkgs neovim
Do not use any global path.
2022-03-23 17:27:43 +01:00
Daniel Siepmann 774e4f8555
Rename Neovim custom telescope
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.
2022-03-23 16:37:26 +01:00
Daniel Siepmann 2faf4ac672
Make Neovim within Tmux happily detect color support 2022-03-23 09:32:45 +01:00
Daniel Siepmann 380e4b6cd7
Add first custom Neovim Telescope picker
This adds a list of my custom defined functions for easier calling.
2022-03-23 09:31:33 +01:00
Daniel Siepmann 30db8651a7
Improve cmp and lsp integration in Neovim
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.
2022-03-23 08:23:10 +01:00
Daniel Siepmann b97c6b363b
Enable Neovim cmp lsp support
It just works now, I probably have changed something to make that happen
but don't know what exactly.
2022-03-23 07:41:26 +01:00
Daniel Siepmann e8270eeda3
Always use php 7.4 for phpactor
I already used 7.4 for language server integration.
2022-03-22 14:39:04 +01:00
Daniel Siepmann cb7d380e0b
Add Neovim cmp autocompletion
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.
2022-03-22 13:31:26 +01:00
Daniel Siepmann a652394ba4
Use PHP 7.4 for phpactor
As 8.0 triggers some notices.
2022-03-22 13:31:25 +01:00
Daniel Siepmann e64f6b8030
Migrate whole Neovim configuration into expected structure
That way I can load my whole configuration as a plugin.
I no longer need to explicitly set any configuration via nix as init.vim
or such things.
2022-03-22 09:38:34 +01:00
Daniel Siepmann 6884adfa9d
Remove language server written in nodejs
Due to high risk of insecure dependencies, even dependencies vanishing
file system.
2022-03-22 09:18:59 +01:00
Daniel Siepmann 1b2e8a969a
Remove Neovim dadbod database integration
Autocompletion is way behind mycli / litecli. And that's more important
to me. So do not keep the plugins. Keep existing workflow instead.
2022-03-22 07:47:28 +01:00
Daniel Siepmann a527da50ac
Add Neovim dadbod-* plugins
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.
2022-03-21 16:01:01 +01:00
Daniel Siepmann a9c1c526f1
Adjust Neovim Telescope design
Use ascending sorting to move selection to the prompt.
Also shorten width as it felt to much on my larger screen.
2022-03-21 15:49:17 +01:00
Daniel Siepmann 2e4455a8f9
Install Libre Office
Was installed via apt.
2022-03-21 15:48:52 +01:00
Daniel Siepmann 5fb8c7f0c0
Use buildVimPluginFrom2Nix as outer most public API 2022-03-17 11:53:49 +01:00
Daniel Siepmann c856a38eab
Auto select first autocomplete item in Neovim.
As this is most of the time what I need.
I can deselect and type freely to narrow down anyway.
2022-03-17 10:12:35 +01:00
Daniel Siepmann d7f83654e8
Add Neovim LSP for Yaml files 2022-03-17 09:01:15 +01:00