Commit graph

1813 commits

Author SHA1 Message Date
0e7b1fd4bd nvim: colors/yolokai: Use WinSeparator instead of VertSplit 2022-12-12 16:23:50 +05:30
0c7d4372d1 nvim: colors/yolokai: Enable undercurl for underline diagnostic
This effectively reverts commit 59490d1.
2022-12-12 10:11:20 +05:30
b60afcf0e9 Revert "nvim: init: Do not use underline for diagnostic"
This reverts commit 572ff25150.
2022-12-12 10:11:20 +05:30
4440f476fc dnscontrol: Use AAAA record
We switched our Hetzner server to use only IPv6 address which saves
us 0.6 euros per month. So switch to the use of AAAA record.
2022-12-12 10:11:20 +05:30
c6b594443e arch-packages: Update package list 2022-12-12 10:11:20 +05:30
ac65aa26cb nvim: lsp: Use local leader for running code lens
We use <Leader>l for linting. This should have been done as part of
commit b294f19.
2022-12-12 10:11:20 +05:30
d0b5159bd9 nvim: after/plugin/nvim-lint: Enable revive linter for go 2022-12-11 16:55:41 +05:30
9f415d9d4d nvim: after/ftplugin/go: Add go LSP support 2022-12-11 16:55:41 +05:30
1766986d8e fish: conf.d/setup: Setup environment variables required by go 2022-12-11 16:55:41 +05:30
01fb124a49 dnscontrol: .net domain has been migrated to porkbun 2022-12-11 15:04:18 +05:30
9b00a19b52 nvim: after/ftplugin/rust: Format on save 2022-12-11 11:01:18 +05:30
49d126e023 dnscontrol: Automate & version control DNS management 2022-12-09 17:41:14 +05:30
b52dedf03d vimiv: Update configuration
These are still all defaults as saved by vimiv.
2022-12-08 17:57:59 +05:30
bc8904c94b nvim: after/plugin/nvim-lint: Use eslint_d instead of eslint 2022-12-08 16:23:51 +05:30
734e486f52 sway: Kill the firefox sharing indicator 2022-12-08 12:10:34 +05:30
599a0f1d2d nvim: Update packer 2022-12-08 11:11:23 +05:30
63a71f786a arch-packages: Update package list 2022-12-08 11:11:23 +05:30
0edebc6968 mimeapps: Set mpv & vimiv as default application for media & images 2022-12-08 09:43:04 +05:30
4f8f2c8016 nvim: autoload/git: Set upstream when checking out remote branch 2022-12-06 19:15:03 +05:30
6529ccae25 qutebrowser: Add metal archives to the list of search engines 2022-12-06 18:19:32 +05:30
12762f6cfb qutebrowser: Distinguish selected tabs by increasing font size 2022-12-06 13:20:44 +05:30
a328fe3c5d nvim: after/ftplugin/sh: Add language server for bash 2022-12-06 12:49:30 +05:30
66cd6aee69 arch-packages: Update package list 2022-12-06 12:49:30 +05:30
938e4d659e qutebrowser: Add quickmark & search engine helper for Wikepedia 2022-12-06 12:49:30 +05:30
db1d0492ce nvim: Update packer 2022-12-06 12:38:40 +05:30
6fa2ecc8e4 nvim: after/ftplugin/json: Add mapping to format with jq 2022-12-05 17:38:38 +05:30
509c0d3206 qutebrowser: Improve ads block and update some key mappings 2022-12-03 16:37:53 +05:30
d06e32511f fish: functions: Add an alias to open bookmarks 2022-12-03 16:02:00 +05:30
d055fa2607 zathura: Do not use gruvbox theme
It is better to display the slides in their original colours.
2022-11-30 17:20:46 +05:30
28eccacade fish: setup: Set a needed environment variable for work 2022-11-30 17:20:46 +05:30
4a1c895e21 qutebrowser: Add a cookie whitelist
This is required by bisc. While empty right now we might add entries
for bisc to ignore later on.
2022-11-30 12:43:11 +05:30
99f4b0d371 sway: outputs: Increase mouse cursor size 2022-11-29 21:44:29 +05:30
681a979fba sway: Use workspace 6 as default for zathura 2022-11-29 20:28:24 +05:30
ade7e7ba0b qutebrowser: Add configuration for qutebrowser 2022-11-29 20:26:28 +05:30
f63fd856a1 mimeapps: Use qutebrowser as default browser 2022-11-29 20:26:28 +05:30
44c5116299 nvim: Update packer 2022-11-29 20:26:28 +05:30
6c56c38000 gitignore: Ignore some qutebrowser directories 2022-11-29 20:26:28 +05:30
4d970ce70c nvim: lsp: Fix error in LspDetach
Some language servers like HLS take longer to attach and if we exit
soon before LSP attach had a chance to finish (may be?), server
capabilities field does not seem to be valid in client object and
we get the below error. Check if it valid first.

Error detected while processing LspDetach Autocommands for "*":
Error executing lua callback: /home/core/.config/nvim/lua/lsp.lua:215: attempt to index field 'server_capabilities' (a nil value)
stack traceback:
        /home/core/.config/nvim/lua/lsp.lua:215: in function </home/core/.config/nvim/lua/lsp.lua:209>
        [C]: in function 'nvim_exec_autocmds'
        /usr/local/share/nvim/runtime/lua/vim/lsp.lua:1140: in function </usr/local/share/nvim/runtime/lua/vim/lsp.lua:1139>
Error executing lua callback: /home/core/.config/nvim/lua/lsp.lua:215: attempt to index field 'server_capabilities' (a nil value)
stack traceback:
        /home/core/.config/nvim/lua/lsp.lua:215: in function </home/core/.config/nvim/lua/lsp.lua:209>
        [C]: in function 'nvim_exec_autocmds'
        /usr/local/share/nvim/runtime/lua/vim/lsp.lua:1140: in function </usr/local/share/nvim/runtime/lua/vim/lsp.lua:1139>
2022-11-29 20:26:28 +05:30
b752f2241f nvim: plugins: Add support for cabal-fmt 2022-11-29 20:26:28 +05:30
e3be97b0e9 tut: Add configuration for tut Mastodon TUI client
Right now all settings are at defaults.
2022-11-29 20:26:28 +05:30
af51e676c0 mpv: Add configuration for mpv 2022-11-29 20:26:28 +05:30
d4383fb8a3 sway: Use workspace 6 as default for mpv 2022-11-29 20:26:28 +05:30
b5c491c6bd arch-packages: Update package list 2022-11-29 20:26:28 +05:30
42c06b8f2f nvim: after/plugin/nvim-lint: Drop mypy for Python linting 2022-11-25 16:54:15 +05:30
b0e55a6e60 nvim: after/plugin/word-column: Fix conflicting mapping with target
Since we now have more mapping available after dropping treesitter
text objects, we can fix this.

Fixes the below warning from targets check health.

targets: health#targets#check
========================================================================
  - WARNING: Conflicting mapping found:
    aq → <Plug>(textobj-wordcolumn-word-a)
    q → {'quote': [{'d': ''''}, {'d': '"'}, {'d': '`'}]}
  - WARNING: Conflicting mapping found:
    iq → <Plug>(textobj-wordcolumn-word-i)
    q → {'quote': [{'d': ''''}, {'d': '"'}, {'d': '`'}]}
2022-11-24 14:21:49 +05:30
397cac1050 nvim: plugins/treesitter: Use treehopper instead of textobjects
The whole bunch of treesitter text objects were difficult to remember
and we ended up rarely ever using any of the defined mappings.

treehopper simplifies things with a single mapping and hints.
2022-11-24 14:21:41 +05:30
ef4c3b7d30 nvim: Use more prominent white highlight for Comment
We seem to be making a lot of mistakes when it comes to handling
docs/comments in merge requests. Use a more prominent white colour
for the comment highlight group.
2022-11-23 12:42:06 +05:30
c000edde8c tmuxp: Move scratch pane to last
Now that we are starting base index at 1 for pane and windows, move
the scratch pane to last.
2022-11-23 12:42:06 +05:30
2e698be9d8 tmux: Start with base index as 1
Start numbering for panes and windows from 1, it is just convenient.
2022-11-23 12:42:06 +05:30
33b2d9bd12 sway: Increase font size for status bar 2022-11-23 12:42:06 +05:30