Commit graph

2086 commits

Author SHA1 Message Date
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
b2e35579e5 arch-packages: Update package list 2022-11-23 12:41:54 +05:30
8468d5c464 imapfilter: Filter mails from IETF mailing list 2022-11-16 15:05:37 +05:30
b294f196de nvim: after/plugin/nvim-lint: Use leader instead of local leader 2022-11-15 17:32:07 +05:30
0359b68fbf sway: Update wallpaper
Taken from
https://creatiflux.artstation.com/projects/xl3Nm
2022-11-14 19:01:14 +05:30
e958aa027f fish: functions: Add helper to list library dependencies 2022-11-07 16:26:23 +05:30
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
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
a827d25ac4 fish: functions: Open dot graphs by default in xdot 2022-11-05 18:37:19 +05:30
be9e8449a0 sway: config.d: Assign xdot & GStreamer applications to workspace 5 2022-11-05 18:37:19 +05:30
8d9d230c18 nvim: after/plugin/fugitive: Update gd/D mappings to use difftool 2022-11-04 17:46:44 +05:30
ac6a09238e git: Enable updateRefs by default for rebase
The feature is explained here
https://github.blog/2022-10-03-highlights-from-git-2-38/#rebase-dependent-branches-with-update-refs
2022-11-04 17:46:44 +05:30
80b5fa04fb arch-packages: Update package list 2022-11-04 17:46:44 +05:30
f406db2645 environment: qt: Allow both Wayland and X for Qt 2022-11-04 09:54:55 +05:30
ba319f2bde nvim: after/plugin/gitsigns: Use on_attach callback to setup mappings
keymaps is deprecated.
2022-11-04 09:54:55 +05:30
d946db650e git/ignore: Ignore GStreamer ChangeLog files
It is annoying when ChangeLog files show up in ripgrep searches.
2022-11-03 13:05:58 +05:30
36e7845aa4 nvim: after/ftplugin: Disable spell check for certain file types
Now that we enable spell check globally disable it for certain file
and buffer types like dirvish etc.
2022-11-01 18:39:11 +05:30
7113f5f44d tmuxp: Change how home directory is specified 2022-11-01 18:39:06 +05:30
0c84a1d719 nvim: colors/yolokai: Remove obsolete TS highlight groups
See
https://github.com/nvim-treesitter/nvim-treesitter/issues/3572
https://github.com/nvim-treesitter/nvim-treesitter/pull/3656
2022-10-26 10:03:54 +05:30
b00e7b2b07 i3status-rust: Fix memory block 2022-10-17 15:29:58 +05:30
cf98fe7ac1 notmuch: Fix database path 2022-10-14 16:35:14 +05:30
75bc7b47d6 msmtp: Clean up gpg command invocation 2022-10-13 20:37:58 +05:30
538f698602 gitignore: Ignore some more gnupg entries 2022-10-13 19:47:32 +05:30
5abc061094 systemd: email: Use a specifier for home directory 2022-10-13 19:41:53 +05:30
e01bca9fec sway: Revert back to the old wallpaper
This reverts commit 9f43c8b7f3.
2022-10-11 21:04:36 +05:30
1e3eb7f7e0 fish: functions: Improve pipewire dot graph functions
xdot is more convenient to use and allows viewing dot file directly.
Generate svg only if requested.
2022-10-10 14:00:18 +05:30
11d04bc1d6 i3status-rust: Update to latest master
The configuration file format has changed and network manager block
has been dropped.

Also, we have now moved to iwd and dropped Network Manager completely
and along with it wpa_supplicant.
2022-10-09 11:12:50 +05:30
d6c36f8f9f git: ignore: Ignore compile_commands.json 2022-10-09 11:12:50 +05:30