Bruno BELANYI
260f5cd66a
home: vim: do not use 'ftplugin' for 'null-ls'
...
Unfortunately, this registers the sources many times...
I fear that I will have to settle for a centralised configuration for
LSP-related options.
2022-03-04 14:14:30 +01:00
Bruno BELANYI
fb49a1df14
home: vim: only use 'null-ls' sources if available
...
This avoids the big red warning on each file that tries to use those
sources...
2022-03-03 18:15:28 +01:00
Bruno BELANYI
8155f6be4c
home: vim: add 'ambroisie.utils' lua module
2022-03-03 18:15:28 +01:00
Bruno BELANYI
8b84ab8625
home: vim: add statement objects/moves
...
And document it.
2022-03-03 18:15:28 +01:00
Bruno BELANYI
56554f1a7a
home: vim: document 'tree-sitter' moves
2022-03-03 18:15:28 +01:00
Bruno BELANYI
8ad5327c89
home: vim: add 'tree-sitter' moves
2022-03-03 18:15:28 +01:00
Bruno BELANYI
063686433f
home: vim: document 'treesitter-textobjects' maps
...
By using 'which-key'.
2022-03-03 18:15:28 +01:00
Bruno BELANYI
a5ec91088d
home: vim: add 'treesitter-textobjects'
2022-03-03 18:15:28 +01:00
Bruno BELANYI
e81aee50e3
home: vim: remove mapping to run 'make'
2022-03-03 18:15:28 +01:00
Bruno BELANYI
1408d7735a
home: vim: document 'commentary' mappings
...
By using 'which-key'.
2022-03-03 18:15:28 +01:00
Bruno BELANYI
2713270378
home: vim: document 'unimpaired' mappings
...
By using 'which-key'.
2022-03-03 18:15:28 +01:00
Bruno BELANYI
4fec4d499d
home: vim: use 'which-key'
2022-03-03 18:15:28 +01:00
Bruno BELANYI
9e7f7ed736
home: vim: add 'which-key-nvim'
2022-03-02 12:30:53 +01:00
Bruno BELANYI
b76af022bd
home: vim: move leader mappings to 'init.vim'
2022-03-02 12:30:53 +01:00
Bruno BELANYI
8b570694cd
home: vim: remove unused mappings
...
The beancount mappings are absolutely unused.
The `Y` mapping is built in NeoVim nowadays.
2022-03-02 12:30:53 +01:00
Bruno BELANYI
d15bc59b74
home: vim: remove unimpaired mappings
...
I do not use `azerty` anymore, no need for those.
2022-03-02 12:30:53 +01:00
Bruno BELANYI
875c3c8886
home: vim: remove 'lsp_lines'
...
I like the hovering behaviour better, it's less "in your face".
I might revisit the idea in the future, as a toggled mapping.
2022-03-02 12:30:53 +01:00
Bruno BELANYI
9caf296d52
home: vim: show diagnostics on hover
...
Ideally, I want the following features:
* diagnostic icons in the sign column always,
* virtual text on the current line only
* switch to hover window and/or lsp_lines display through a mapping
2022-03-02 12:30:53 +01:00
Bruno BELANYI
fba2403bf3
home: vim: configure short 'CursorHold' timeout
2022-03-02 12:30:53 +01:00
Bruno BELANYI
5437b45a02
home: vim: configure diagnostics further
...
This is not only 'lsp_lines' configuration anymore, but the whole
display of diagnostics.
2022-03-02 12:30:53 +01:00
Bruno BELANYI
bbc32d6030
home: vim: add 'nvim-treesitter'
...
IMHO, this is *very* colorful, I might not end up using the highlighting
after all.
Let's see if I get used to it after a little while.
2022-03-02 12:30:53 +01:00
Bruno BELANYI
c3b0b9c607
home: vim: make python formatting faster
2022-03-02 12:30:53 +01:00
Bruno BELANYI
58de8106a1
home: vim: add 'lsp_lines'
...
I dislike the diagnostics *next* to affected lines.
This looks neater, though the best look would be a simple hover window
or status line message instead, like ALE used to do.
It might grow on me however.
2022-03-02 12:30:53 +01:00
Bruno BELANYI
54ad5d9282
home: vim: configure 'null-ls' for 'nix'
2022-03-02 12:30:53 +01:00
Bruno BELANYI
300ce25c8e
home: vim: keep space after shell redirections
2022-03-02 12:30:53 +01:00
Bruno BELANYI
7d361023bc
home: vim: show error codes from 'shellcheck'
2022-03-02 12:30:53 +01:00
Bruno BELANYI
3e60cb5be1
home: vim: configure 'null-ls' for 'python'
2022-03-02 12:30:53 +01:00
Bruno BELANYI
9a9e50f7a8
home: vim: configure 'null-ls' for 'cpp'
2022-03-02 12:30:53 +01:00
Bruno BELANYI
a59884b59c
home: vim: configure 'null-ls' for 'c'
2022-03-02 12:30:53 +01:00
Bruno BELANYI
d52833f3a3
home: vim: add formatting on save with 'null-ls'
2022-03-02 12:30:53 +01:00
Bruno BELANYI
ccbf73385e
home: vim: configure 'null-ls' for 'haskell'
2022-03-02 12:30:53 +01:00
Bruno BELANYI
0b4d39c771
home: vim: configure 'null-ls' for 'zsh'
2022-03-02 12:30:53 +01:00
Bruno BELANYI
ba3ab14ac3
home: vim: configure 'null-ls' for 'sh'
2022-03-02 12:30:53 +01:00
Bruno BELANYI
e760f5aeaa
home: vim: configure 'null-ls' for 'bash'
2022-03-02 12:30:53 +01:00
Bruno BELANYI
e1a8c9e563
home: vim: add 'null-ls'
2022-03-02 12:30:53 +01:00
Bruno BELANYI
6f57a03940
home: vim: configure 'lightline-lsp'
...
This pretty much replace 'lightline-ale' for me now.
At least it will, once I have configured some LSP clients.
2022-03-02 12:30:53 +01:00
Bruno BELANYI
ad7b9a574d
home: vim: add 'lightline-lsp'
2022-03-02 12:30:53 +01:00
Bruno BELANYI
039c6390a3
home: vim: remove 'quickfixed' functionality
...
I never use it anymore...
2022-03-02 12:13:13 +01:00
Bruno BELANYI
5c3d3f5f1c
home: vim: remove 'ALE' configuration
...
First step to modernising my configuration to use the native LSP client
instead.
2022-03-02 12:13:13 +01:00
Bruno BELANYI
cc91b88b28
flake: bump inputs
...
And do not use 'pipewire-media-session' which is deprecated.
2022-03-02 12:13:13 +01:00
Bruno BELANYI
ef36a100af
home: vim: fix icon for read-only files
2022-02-23 21:06:12 +01:00
Bruno BELANYI
1b829076f8
flake: bump inputs
2022-02-21 18:53:56 +01:00
Bruno BELANYI
a6a64047de
home: wm: i3: only boost volume on 'Shift' mapping
2022-02-18 12:22:51 +01:00
Bruno BELANYI
cc12148dac
pkgs: change-audio: 0.2.0 -> 0.3.0
...
Only boost audio beyond 100% if specifically asked for.
2022-02-18 12:22:51 +01:00
Bruno BELANYI
8d4bbaf886
home: tmux: fix yanking configuration
...
Use `tmux-yank` when a GUI is enabled, otherwise use the internal tmux
buffer.
In both cases, stay in copy mode after yanking.
2022-02-08 17:25:44 +01:00
Bruno BELANYI
39431c2656
modules: system: nix: use structural 'settings'
...
Instead of a stringly-typed `extraOptions`.
2022-02-08 14:32:00 +01:00
Bruno BELANYI
7e8936fc55
home: firefox: tridactyl: fix HN comment folding
2022-02-07 17:00:18 +01:00
Bruno BELANYI
44efea17b5
home: firefox: tridactyl: fix DDG mapping
...
Taken straight from upstream's sample configuration.
2022-02-07 15:51:56 +01:00
Bruno BELANYI
af25f555ac
home: packages: add 'mosh'
2022-02-07 15:00:52 +01:00
Bruno BELANYI
b4796947db
flake: bump inputs
2022-02-07 14:49:06 +01:00