Bruno BELANYI
e591344eb3
home: vim: git: map keys on start
...
Instead of mapping those keys when `gitsigns` attaches to a buffer...
2022-04-27 14:02:17 +02:00
Bruno BELANYI
481d5f6f53
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
ed8aae565e
home: direnv: allow specifying default flake
2022-04-13 10:06:26 +02:00
Bruno BELANYI
9a57ba02b7
home: direnv: add 'nix' library file
2022-04-13 10:04:54 +02:00
Bruno BELANYI
90053e52e1
home: direnv: add 'python' library file
2022-04-13 09:20:52 +02:00
Bruno BELANYI
8ec992cbe3
home: direnv: add 'postgres' library file
2022-04-12 17:34:36 +02:00
Bruno BELANYI
f637401cd6
home: zsh: use packaged 'agkozak-zsh-prompt'
2022-04-11 18:33:15 +02:00
Bruno BELANYI
7334a84a77
home: wm: i3: bigger 'htop' window
...
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
15602412c8
home: gdb: remove HOME pollution
...
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
bab317e2f4
home: vim: null-ls: prefer 'pflake8' if available
2022-03-11 14:30:27 +01:00
Bruno BELANYI
b71be091a2
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
20e0a96e65
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
fda1b235bc
home: vim: telescope: disable scrolling up
2022-03-11 14:03:18 +01:00
Bruno BELANYI
7060891b2d
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
6417b5f4ba
home: vim: sort plugin list
2022-03-11 10:08:25 +01:00
Bruno BELANYI
d103cbbb0e
home: wm: i3bar: show microphone status
2022-03-09 12:09:43 +01:00
Bruno BELANYI
8d4a1e61b4
home: vim: telescope: add LSP handler
2022-03-08 20:57:28 +01:00
Bruno BELANYI
4c5c9deaae
home: vim: move 'on_attach' to 'ambroisie.lsp'
2022-03-08 20:20:22 +01:00
Bruno BELANYI
fc35502141
home: vim: lspconfig: use actual 'lspconfig' name
2022-03-08 20:18:02 +01:00
Bruno BELANYI
32890d6cf2
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
3673ec604a
home: vim: lualine: remove 'fzf' integration
...
I do not use 'fzf' anymore.
2022-03-08 10:41:35 +01:00
Bruno BELANYI
1f8882b415
home: vim: configure 'luasnip'
2022-03-08 10:41:35 +01:00
Bruno BELANYI
a923c2c30e
home: vim: add 'friendly-snippets'
2022-03-08 10:41:35 +01:00
Bruno BELANYI
37552d6508
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
85a7e200ad
home: vim: add 'nvim-ts-context-commentstring'
2022-03-08 10:41:35 +01:00
Bruno BELANYI
fa8961c9d9
home: vim: comparison: stronger priority hint
2022-03-08 10:41:35 +01:00
Bruno BELANYI
01f2dfd028
home: vim: completion: configure snippets
2022-03-08 10:41:35 +01:00
Bruno BELANYI
551ef640fc
home: vim: sort plugin list
2022-03-08 10:41:35 +01:00
Bruno BELANYI
fb3b773249
home: vim: add 'luasnip'
2022-03-08 10:41:35 +01:00
Bruno BELANYI
975f8687fc
home: vim: completion: add mapping to scroll docs
2022-03-08 10:41:35 +01:00
Bruno BELANYI
506c52fb83
home: vim: completion: add 'cmp-under-comparator'
2022-03-08 10:41:35 +01:00
Bruno BELANYI
0f140bbc9d
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
d35c675ace
home: vim: configure 'dressing-nvim'
2022-03-08 10:41:35 +01:00
Bruno BELANYI
0b2911e49e
home: vim: add 'dressing-nvim'
2022-03-08 10:41:35 +01:00
Bruno BELANYI
9364fe546d
home: vim: telescope: set-up 'fzf' matching
2022-03-08 10:41:35 +01:00
Bruno BELANYI
8b4da72c84
home: vim: add 'telescope' grep mappings
2022-03-08 10:41:35 +01:00
Bruno BELANYI
7fec5f870a
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
5e3bd82f8b
home: packages: add 'fd'
2022-03-08 10:41:35 +01:00
Bruno BELANYI
62e29fc622
home: packages: add 'ripgrep'
2022-03-08 10:41:35 +01:00
Bruno BELANYI
b8bd1ef2b4
home: vim: completion: limit 'buffer' suggestions
...
Otherwise it gets overwhelming, and most are useless.
2022-03-08 10:41:35 +01:00
Bruno BELANYI
5b8e410596
home: vim: completion: use better order
2022-03-08 10:41:35 +01:00
Bruno BELANYI
aac464c9a2
home: vim: completion: use native menu
2022-03-08 10:41:35 +01:00
Bruno BELANYI
8bcd40633a
home: vim: configure 'nvim-cmp' for LSP
2022-03-08 10:41:35 +01:00
Bruno BELANYI
bceb531518
home: vim: add 'cmp-nvim-lsp'
2022-03-08 10:41:35 +01:00
Bruno BELANYI
15b3766aef
home: vim: configure 'nvim-cmp'
2022-03-08 10:41:35 +01:00
Bruno BELANYI
02225dcb93
home: vim: add 'nvim-cmp'
2022-03-04 17:40:30 +01:00
Bruno BELANYI
d006ba4611
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
714eb8ca2d
home: vim: git: 'gitsigns' mappings are per buffer
2022-03-04 17:40:30 +01:00
Bruno BELANYI
10635e0888
home: vim: git: use more appropriate mapping names
2022-03-04 17:40:30 +01:00
Bruno BELANYI
f374a4f78c
home: vim: lsp: add diagnostic mappings
2022-03-04 17:40:30 +01:00