Commit graph

1854 commits

Author SHA1 Message Date
Sanchayan Maity f37e10c68c
fish: conf.d: Add some abbreviations for cabal
Taken from https://vrom911.github.io/blog/haskell-aliases.
2023-05-17 20:52:42 +05:30
Sanchayan Maity 572a54d9fd
fish: conf.d: Add abbreviations for git
Taken from https://github.com/lewisacidic/fish-git-abbr with some
minor changes and additions of our own.
2023-05-15 20:45:48 +05:30
Sanchayan Maity b01b94a251
ripgrep: Add a configuration file
Primarily contains things we want to be ignored by ripgrep for now.
We had been including these in gitignore which was not really correct.
2023-05-15 20:45:48 +05:30
Sanchayan Maity 245855e5ff
nvim: plugin/session: Do not load session if Quickfix list is loaded
This is required if we want to use git-jump or do anything with `nvim -q`.
2023-05-15 20:45:48 +05:30
Sanchayan Maity 9fc6d0eb2a
fish: Drop vgrep aliases and introduce abbreviations
We still keep the vgrep + FZF aliases.
2023-05-15 11:10:55 +05:30
Sanchayan Maity 22f5664cd6
fish: conf.d: Clean up unnecessary -a option for abbreviations 2023-05-11 18:16:11 +05:30
Sanchayan Maity 3851e99f1b
fish: functions: Rename to not conflict with git abbreviations 2023-05-10 14:24:40 +05:30
Sanchayan Maity 6474278ca1
fish: functions: Remove tmux and some git aliases
We will introduce equivalent ones with abbreviations.
2023-05-10 14:24:39 +05:30
Sanchayan Maity 1b5a8f5edb
fish: conf.d/setup: Set ripgrep config file path
ripgrep will not look in any predetermined directory for a config
file automatically. Instead, we need to set the RIPGREP_CONFIG_PATH
environment variable to the file path of our config file.
2023-05-09 16:19:07 +05:30
Sanchayan Maity 9e0a966191
git: Clean up git ignore
We have been adding a few entries to gitignore which we wanted to
be ignored by ripgrep for search. Remove them. We will move them
to ripgrep configuration.
2023-05-09 16:19:07 +05:30
Sanchayan Maity ff616c1481
git: Set addIgnoredFile to false
Do not advice if we attempt to add an ignored file to the index.
2023-05-09 16:19:07 +05:30
Sanchayan Maity 42601f6214
nvim: after/plugin/easyalign: Allow aligning on ' 2023-05-09 16:19:06 +05:30
Sanchayan Maity 9cf5f2d409
wireplumber: Disable C920 webcam microphone
On the desktop, we use the USB microphone and the C920 being selected
as the default was becoming annoying. Add a rule to disable C920 node
acting as an audio microphone input. The video source provided by C920
will still be functional. We are only turning off the Audio/Source
node and not the complete device.
2023-05-09 10:38:40 +05:30
Sanchayan Maity 1546762662
nvim: after/plugin/fzf-lua: Always parse globs in grep 2023-05-08 18:06:18 +05:30
Sanchayan Maity f8267b23b0
nvim: after/plugin/gitlinker: Add gitea web hosts we work with 2023-05-06 18:20:19 +05:30
Sanchayan Maity 556cdeb219
tmuxp: Set starting directory for GitSources window 2023-05-06 13:23:21 +05:30
Sanchayan Maity 6fdaf3356f
fish: conf.d: Clean up unnecessary -g option for abbreviations 2023-05-06 13:11:03 +05:30
Sanchayan Maity 83c572019c
fish: conf.d: Add abbreviations for trash-cli and rmtrash 2023-05-06 13:09:37 +05:30
Sanchayan Maity 471611f915
arch-packages: Update package list 2023-05-06 11:54:06 +05:30
Sanchayan Maity 1f9b8882c7
tut: Nuke tut configuration 2023-05-06 10:50:35 +05:30
Sanchayan Maity 9363fc249b
fish: conf.d/setup: Set up all path related things at start 2023-05-05 10:54:38 +05:30
Sanchayan Maity 7779044f67
fish: conf.d/setup: Add rustup symlink path to PATH
See related
https://bugs.archlinux.org/task/78309?string=78309&project=5
aa625d449c
17eb57f5a8

We still need to keep this to use rust-analyzer via rustup. The other
option would be install the rust-analyzer package separately and not
use this via rustup.
2023-05-05 10:27:56 +05:30
Sanchayan Maity 3987cb202b
nvim: lsp: Update completion kind symbols
This broke due to an update with the nerd-fonts package.

See related
https://www.reddit.com/r/archlinux/comments/1358gvh/switch_from_ttfnerdfontssymbols2048emmono_broke/
https://github.com/ryanoasis/nerd-fonts/issues/1190

Stole one or two icons from
https://github.com/onsails/lspkind.nvim/pull/64

and the rest fixed by nerdfix.
https://github.com/loichyan/nerdfix
2023-05-03 11:19:57 +05:30
Sanchayan Maity eafc975e35
nvim: plugin: Add a simple session management plugin 2023-05-02 16:33:52 +05:30
Sanchayan Maity 7271c9b030
nvim: plugins: Remove auto-session
Recent changes to auto-session which got added with session lens
support are just plain annoying. It adds telescope support which
broke session loading as we do not use telescope. It has started
creating session files which we do not want and there seems to be
no setting to disable them or at least if there is it is not at
all obvious from the documentation. Just nuke this nonsense.
2023-05-01 11:30:28 +05:30
Sanchayan Maity 71873b1177
tmux/tmuxp: Create a separate tmux session for Haskell 2023-04-27 19:54:23 +05:30
Sanchayan Maity dffb4856d1
fish: functions: Add an alias for global pnpm update 2023-04-27 17:39:59 +05:30
Sanchayan Maity 1369f826cb
fish: functions: Remove unused aliases 2023-04-27 16:51:19 +05:30
Sanchayan Maity 798cffa9f4
fish: functions: Add alias for detecting errors in media with ffmpeg 2023-04-27 16:51:19 +05:30
Sanchayan Maity d9f9952ca1
fish: functions: Add aliases for meson
GStreamer now uses these meson commands instead of ninja. We need
these aliases with GStreamer frequently.
2023-04-27 16:51:19 +05:30
Sanchayan Maity 95cb836e8d
nvim: after/ftplugin/cabal: Add cabalfmt plugin
Since we reverted cabal-fmt support via HLS in the previous commit
add the cabalfmt plugin. Just add it to our own ftplugin instead of
adding via the plugin list.
2023-04-25 16:28:02 +05:30
Sanchayan Maity 5bba0b1789
Revert "nvim: after/ftplugin/cabal: Enable HLS on cabal files"
This reverts commit 34a5bbdacb.

HLS complains a lot (forgot the error) when trying to edit cabal files
making it almost unusable. It was nice to not require a separate plugin
for formatting cabal files, but, since this is not usable, disable it.
2023-04-25 16:28:02 +05:30
Sanchayan Maity 6329816b42
sway: Bring some sanity to zoom
Taken from
https://www.reddit.com/r/swaywm/comments/l9asbc/zoom_on_sway_what_settings_do_you_use/
2023-04-25 16:28:02 +05:30
Sanchayan Maity 9c4bdb5644
nvim: init: Drop textobj-word-column setting
We dropped the plugin in c800b66, so remove the left behind setting.
2023-04-22 13:05:52 +05:30
Sanchayan Maity 51658413fa
newsboat: Use firefox as the default browser 2023-04-22 13:05:52 +05:30
Sanchayan Maity 1b56b3d82e
Revert "sway: Use workspace 6 as default for zathura"
This reverts commit 681a979fba.

Allow Zathura to be opened in any workspace. Fixed workspace
is restrictive.
2023-04-22 13:05:51 +05:30
Sanchayan Maity 39900dd9a7
nvim: after/ftplugin/purescript: Add PureScript LSP support 2023-04-22 13:05:51 +05:30
Sanchayan Maity d1f66f1b13
fish: conf.d/setup: Drop fnm and switch to pnpm
Drop fnm and switch to pnpm for installing npm packages as well as
managing node versions.

Not using npm i -g has the added nicety of not having a node_modules
in /usr/lib.
2023-04-22 13:04:31 +05:30
Sanchayan Maity 2db28813c2
arch-packages: Update package list
Uninstall all packages which were installed via npm. We also drop fnm
and switch to pnpm for installing npm packages as well as managing node
versions.

Not using npm i -g has the added nicety of not having a node_modules in
/usr/lib.
2023-04-22 13:04:06 +05:30
Sanchayan Maity 27e6af32b9
nvim: plugins: Add syntax highlighting for PureScript 2023-04-21 18:47:15 +05:30
Sanchayan Maity abb42bceac
tridactyl: Add configuration for tridactyl
Primarily add search URLs and quickmarks. That is the functionality
we primarily needed from qutebrowser.
2023-04-20 20:09:14 +05:30
Sanchayan Maity 4fea3b58e9
Revert "mimeapps: Use qutebrowser as default browser"
This reverts commit f63fd856a1.

Make firefox our default browser again. With tridactyl, we can have
quickmarks and search URLs in the same style as qutebrowser.
2023-04-20 20:09:14 +05:30
Sanchayan Maity eec08279c2
tmuxp: Add a tmux pane for RSS feeds 2023-04-20 20:09:14 +05:30
Sanchayan Maity 130b1048d6
git-blame-ignore-revs: Ignore tabs to spaces clean up for colors/yolokai
While at it, fix a previous blame ignore commit.
2023-04-12 11:30:13 +05:30
Sanchayan Maity a039a58dd2
nvim: colors/yolokai: Convert all tabs to spaces 2023-04-12 11:20:39 +05:30
Sanchayan Maity fe7ca593ae
nvim: lsp: Enable semantic token highlighting
This effectively reverts commit 0c9e0eb.
2023-04-12 11:14:42 +05:30
Sanchayan Maity 4c409188be
nvim: colors/yolokai: Add semantic highlight groups
For more information, see
https://www.reddit.com/r/neovim/comments/12gvms4/this_is_why_your_higlights_look_different_in_90/
https://github.com/Iron-E/nvim-highlite/blob/master-v3/colors/highlite.lua

Changes are taken from the above two sources.
2023-04-12 11:14:42 +05:30
Sanchayan Maity ceae4a0795
arch-packages: Update package list 2023-04-08 16:49:05 +05:30
Sanchayan Maity ec56dcbec0
Revert "Use alacritty as default terminal"
This reverts commit 8206103d7d.

alacritty master seems to be broken with specifying shell args or
at least seems like it. Starting tmux with alacritty master does
not show any typed characters or cursor.
2023-04-08 16:47:45 +05:30
Sanchayan Maity a7895acab1
foot: Use medium italic as default 2023-04-07 19:54:56 +05:30