Commit Graph

1753 Commits

Author SHA1 Message Date
Sanchayan Maity 9b00a19b52 nvim: after/ftplugin/rust: Format on save 2022-12-11 11:01:18 +05:30
Sanchayan Maity 49d126e023 dnscontrol: Automate & version control DNS management 2022-12-09 17:41:14 +05:30
Sanchayan Maity b52dedf03d vimiv: Update configuration
These are still all defaults as saved by vimiv.
2022-12-08 17:57:59 +05:30
Sanchayan Maity bc8904c94b nvim: after/plugin/nvim-lint: Use eslint_d instead of eslint 2022-12-08 16:23:51 +05:30
Sanchayan Maity 734e486f52 sway: Kill the firefox sharing indicator 2022-12-08 12:10:34 +05:30
Sanchayan Maity 599a0f1d2d nvim: Update packer 2022-12-08 11:11:23 +05:30
Sanchayan Maity 63a71f786a arch-packages: Update package list 2022-12-08 11:11:23 +05:30
Sanchayan Maity 0edebc6968 mimeapps: Set mpv & vimiv as default application for media & images 2022-12-08 09:43:04 +05:30
Sanchayan Maity 4f8f2c8016 nvim: autoload/git: Set upstream when checking out remote branch 2022-12-06 19:15:03 +05:30
Sanchayan Maity 6529ccae25 qutebrowser: Add metal archives to the list of search engines 2022-12-06 18:19:32 +05:30
Sanchayan Maity 12762f6cfb qutebrowser: Distinguish selected tabs by increasing font size 2022-12-06 13:20:44 +05:30
Sanchayan Maity a328fe3c5d nvim: after/ftplugin/sh: Add language server for bash 2022-12-06 12:49:30 +05:30
Sanchayan Maity 66cd6aee69 arch-packages: Update package list 2022-12-06 12:49:30 +05:30
Sanchayan Maity 938e4d659e qutebrowser: Add quickmark & search engine helper for Wikepedia 2022-12-06 12:49:30 +05:30
Sanchayan Maity db1d0492ce nvim: Update packer 2022-12-06 12:38:40 +05:30
Sanchayan Maity 6fa2ecc8e4 nvim: after/ftplugin/json: Add mapping to format with jq 2022-12-05 17:38:38 +05:30
Sanchayan Maity 509c0d3206 qutebrowser: Improve ads block and update some key mappings 2022-12-03 16:37:53 +05:30
Sanchayan Maity d06e32511f fish: functions: Add an alias to open bookmarks 2022-12-03 16:02:00 +05:30
Sanchayan Maity 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
Sanchayan Maity 28eccacade fish: setup: Set a needed environment variable for work 2022-11-30 17:20:46 +05:30
Sanchayan Maity 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
Sanchayan Maity 99f4b0d371 sway: outputs: Increase mouse cursor size 2022-11-29 21:44:29 +05:30
Sanchayan Maity 681a979fba sway: Use workspace 6 as default for zathura 2022-11-29 20:28:24 +05:30
Sanchayan Maity ade7e7ba0b qutebrowser: Add configuration for qutebrowser 2022-11-29 20:26:28 +05:30
Sanchayan Maity f63fd856a1 mimeapps: Use qutebrowser as default browser 2022-11-29 20:26:28 +05:30
Sanchayan Maity 44c5116299 nvim: Update packer 2022-11-29 20:26:28 +05:30
Sanchayan Maity 6c56c38000 gitignore: Ignore some qutebrowser directories 2022-11-29 20:26:28 +05:30
Sanchayan Maity 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
Sanchayan Maity b752f2241f nvim: plugins: Add support for cabal-fmt 2022-11-29 20:26:28 +05:30
Sanchayan Maity e3be97b0e9 tut: Add configuration for tut Mastodon TUI client
Right now all settings are at defaults.
2022-11-29 20:26:28 +05:30
Sanchayan Maity af51e676c0 mpv: Add configuration for mpv 2022-11-29 20:26:28 +05:30
Sanchayan Maity d4383fb8a3 sway: Use workspace 6 as default for mpv 2022-11-29 20:26:28 +05:30
Sanchayan Maity b5c491c6bd arch-packages: Update package list 2022-11-29 20:26:28 +05:30
Sanchayan Maity 42c06b8f2f nvim: after/plugin/nvim-lint: Drop mypy for Python linting 2022-11-25 16:54:15 +05:30
Sanchayan Maity 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
Sanchayan Maity 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
Sanchayan Maity 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
Sanchayan Maity 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
Sanchayan Maity 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
Sanchayan Maity 33b2d9bd12 sway: Increase font size for status bar 2022-11-23 12:42:06 +05:30
Sanchayan Maity b2e35579e5 arch-packages: Update package list 2022-11-23 12:41:54 +05:30
Sanchayan Maity 8468d5c464 imapfilter: Filter mails from IETF mailing list 2022-11-16 15:05:37 +05:30
Sanchayan Maity b294f196de nvim: after/plugin/nvim-lint: Use leader instead of local leader 2022-11-15 17:32:07 +05:30
Sanchayan Maity 0359b68fbf sway: Update wallpaper
Taken from
https://creatiflux.artstation.com/projects/xl3Nm
2022-11-14 19:01:14 +05:30
Sanchayan Maity e958aa027f fish: functions: Add helper to list library dependencies 2022-11-07 16:26:23 +05:30
Sanchayan Maity 3c3a2c5130 nvim: init: Enable closeoff and linematch options for diffopt
linematch option got merged a few hours ago with this commit.
https://github.com/neovim/neovim/pull/14537

While at it, set closeoff as well.
2022-11-07 14:33:29 +05:30
Sanchayan Maity c37bd7d451 nvim: init: Drop tmux configuration for copying to system clipboard
This is not required any more with this upstream MR merged.
https://github.com/neovim/neovim/pull/20936
2022-11-06 10:40:28 +05:30
Sanchayan Maity a827d25ac4 fish: functions: Open dot graphs by default in xdot 2022-11-05 18:37:19 +05:30
Sanchayan Maity be9e8449a0 sway: config.d: Assign xdot & GStreamer applications to workspace 5 2022-11-05 18:37:19 +05:30
Sanchayan Maity 8d9d230c18 nvim: after/plugin/fugitive: Update gd/D mappings to use difftool 2022-11-04 17:46:44 +05:30