Commit graph

360 commits

Author SHA1 Message Date
Bruno BELANYI 80c2c415fb home: vim: lualine: use 'FugitiveHead'
The built-in `branch` indicator does not handle git worktrees quite
correctly.

It shows the wrong branch when used in `git commit`.
2022-04-27 14:02:17 +02:00
Bruno BELANYI 6530af39d8 home: direnv: allow specifying default flake
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-13 10:06:26 +02:00
Bruno BELANYI b9361dada4 home: direnv: add 'nix' library file 2022-04-13 10:04:54 +02:00
Bruno BELANYI d118351849 home: direnv: add 'python' library file
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-13 09:20:52 +02:00
Bruno BELANYI 19aabcf6f5 home: direnv: add 'postgres' library file 2022-04-12 17:34:36 +02:00
Bruno BELANYI c936d2e043 home: zsh: use packaged 'agkozak-zsh-prompt'
Some checks failed
continuous-integration/drone/push Build is failing
2022-04-11 18:33:15 +02:00
Bruno BELANYI e568b85781 home: wm: i3: bigger 'htop' window
All checks were successful
continuous-integration/drone/push Build is passing
It seems like one cannot use multiple commands in a `for_window`
directive. So use two different ones.
2022-03-29 15:49:08 +02:00
Bruno BELANYI e551c44748 home: gdb: remove HOME pollution
All checks were successful
continuous-integration/drone/push Build is passing
Now that the version in nixpkgs contains the patch to look at
XDG_CONFIG_HOME, use only that one.
2022-03-25 15:49:05 +01:00
Bruno BELANYI 77e53c1643 home: vim: null-ls: prefer 'pflake8' if available
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-11 14:30:27 +01:00
Bruno BELANYI e32ce32860 home: git: use 'zdiff3' merge conflict markers
See GitHub's presentation about this feature [1].

[1]: https://github.blog/2022-01-24-highlights-from-git-2-35/
2022-03-11 14:11:32 +01:00
Bruno BELANYI 0af000e52e home: vim: telescope: add 'which-key' mapping
This opens a little preview window with different mappings for
telescope.
2022-03-11 14:11:07 +01:00
Bruno BELANYI 0fd5fb86b1 home: vim: telescope: disable scrolling up 2022-03-11 14:03:18 +01:00
Bruno BELANYI b8406735ba home: vim: set 'termguicolors'
For once, I like the look *with* 24-bit colors better on this current
color-scheme.
2022-03-11 14:02:01 +01:00
Bruno BELANYI 30c676e20b home: vim: sort plugin list
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-11 10:08:25 +01:00
Bruno BELANYI ed24bebc04 home: wm: i3bar: show microphone status
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-09 12:09:43 +01:00
Bruno BELANYI 23c4256769 home: vim: telescope: add LSP handler
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-08 20:57:28 +01:00
Bruno BELANYI 4e9764920a home: vim: move 'on_attach' to 'ambroisie.lsp' 2022-03-08 20:20:22 +01:00
Bruno BELANYI 3fc0201dfa home: vim: lspconfig: use actual 'lspconfig' name 2022-03-08 20:18:02 +01:00
Bruno BELANYI 6f7f49dc13 home: vim: completion: do not use tab to select
I would rather have my actual preferred mappings, <C-n> and <C-p>, for
that.
2022-03-08 10:41:35 +01:00
Bruno BELANYI d39c0419b7 home: vim: lualine: remove 'fzf' integration
I do not use 'fzf' anymore.
2022-03-08 10:41:35 +01:00
Bruno BELANYI e4622dd6ea home: vim: configure 'luasnip' 2022-03-08 10:41:35 +01:00
Bruno BELANYI 52e0a2fd0f home: vim: add 'friendly-snippets' 2022-03-08 10:41:35 +01:00
Bruno BELANYI d5e50b5389 home: vim: completion: remove up/down mappings
I do not use arrow keys, why bother with them.
2022-03-08 10:41:35 +01:00
Bruno BELANYI fdf1f1617f home: vim: add 'nvim-ts-context-commentstring' 2022-03-08 10:41:35 +01:00
Bruno BELANYI be3391285a home: vim: comparison: stronger priority hint 2022-03-08 10:41:35 +01:00
Bruno BELANYI 435e56d53a home: vim: completion: configure snippets 2022-03-08 10:41:35 +01:00
Bruno BELANYI df92d1c562 home: vim: sort plugin list 2022-03-08 10:41:35 +01:00
Bruno BELANYI 8d1535e261 home: vim: add 'luasnip' 2022-03-08 10:41:35 +01:00
Bruno BELANYI 2df0940665 home: vim: completion: add mapping to scroll docs 2022-03-08 10:41:35 +01:00
Bruno BELANYI 3e0a5ef1a4 home: vim: completion: add 'cmp-under-comparator' 2022-03-08 10:41:35 +01:00
Bruno BELANYI 52722fb408 home: vim: completion: explicit mappings
This is basically a copy-paste of the default mappings, with some small
amount of customization.
2022-03-08 10:41:35 +01:00
Bruno BELANYI 93a3a4fb6b home: vim: configure 'dressing-nvim' 2022-03-08 10:41:35 +01:00
Bruno BELANYI 1834a7002b home: vim: add 'dressing-nvim' 2022-03-08 10:41:35 +01:00
Bruno BELANYI bcbc9af372 home: vim: telescope: set-up 'fzf' matching 2022-03-08 10:41:35 +01:00
Bruno BELANYI 1be9eb517b home: vim: add 'telescope' grep mappings 2022-03-08 10:41:35 +01:00
Bruno BELANYI 16fc677509 home: vim: replace 'fzf' with 'telescope'
I like the fact that it uses built-in buffers to preview files.

It also has more inertia behind it, tighter integrations in the
ecosystem.
2022-03-08 10:41:35 +01:00
Bruno BELANYI bf7184c260 home: packages: add 'fd' 2022-03-08 10:41:35 +01:00
Bruno BELANYI 4627350311 home: packages: add 'ripgrep' 2022-03-08 10:41:35 +01:00
Bruno BELANYI 9ef35f06df home: vim: completion: limit 'buffer' suggestions
Otherwise it gets overwhelming, and most are useless.
2022-03-08 10:41:35 +01:00
Bruno BELANYI 5b7fa7c09a home: vim: completion: use better order 2022-03-08 10:41:35 +01:00
Bruno BELANYI a49e66da80 home: vim: completion: use native menu 2022-03-08 10:41:35 +01:00
Bruno BELANYI 35d96e1e69 home: vim: configure 'nvim-cmp' for LSP 2022-03-08 10:41:35 +01:00
Bruno BELANYI 05e7883dab home: vim: add 'cmp-nvim-lsp' 2022-03-08 10:41:35 +01:00
Bruno BELANYI 273618ff94 home: vim: configure 'nvim-cmp' 2022-03-08 10:41:35 +01:00
Bruno BELANYI 25967e21f1 home: vim: add 'nvim-cmp' 2022-03-04 17:40:30 +01:00
Bruno BELANYI 3df2ad0f1f home: vim: git: more visual mappings
I cannot use the functions directly, as I would need to calculate the
current selections begin and end points and use them as arguments.

To be investigated.
2022-03-04 17:40:30 +01:00
Bruno BELANYI 57e5def998 home: vim: git: 'gitsigns' mappings are per buffer 2022-03-04 17:40:30 +01:00
Bruno BELANYI c5d9396a7d home: vim: git: use more appropriate mapping names 2022-03-04 17:40:30 +01:00
Bruno BELANYI 5263942970 home: vim: lsp: add diagnostic mappings 2022-03-04 17:40:30 +01:00
Bruno BELANYI cd20914370 home: vim: lsp: add workspace mappings 2022-03-04 17:40:30 +01:00