Commit graph

1872 commits

Author SHA1 Message Date
b2e42c2cd6
git: Add an alias for git-jump 2023-06-07 13:14:58 +05:30
f1f9058f06
nvim: plugins: nvim-pqf moved to GitHub 2023-06-07 12:43:32 +05:30
e758ef0a08
nvim: after/ftplugin: Disable mini trailspace
Now we enable trailspace module from mini, disable it for file types
where we do not want trailing space to be highlighted.
2023-06-07 12:43:15 +05:30
3fd01ac9e6
nvim: colors/yolokai: Add highlights for mini.nvim 2023-06-07 12:43:15 +05:30
29c657b395
nvim: Use modules from mini.nvim
We drop Comment, hop & vim-surround in favour of modules from mini.
This change is triggered by the fact that hop's author has decided
to not maintain it any more. There is also pounce but mini seems
simple and we can also use other modules it provides.
2023-06-07 12:42:40 +05:30
10d42d0d42
fish: conf.d/cabal-abbr: Add abbreviations for cabal-edit & cabal-hoogle 2023-06-03 17:59:45 +05:30
c9368e8100
arch-packages: Update package list
We do not really want to keep google-chrome but it is needed for
testing with Selenium.
2023-06-02 13:51:22 +05:30
6cb83ef74d
nvim: treesitter: Disable additional vim regex highlighting
With this set to true, neovim will run `:h syntax` and tree-sitter
at the same time. Using this option may slow down one's editor and
one may see some duplicate highlights. Disable it.
2023-06-02 13:44:11 +05:30
909cbef796
nvim: colors/yolokai: Add highlights for diff treesitter
Found the solution from this issue
https://github.com/the-mikedavis/tree-sitter-diff/issues/5
2023-06-02 13:44:11 +05:30
49f88776ea
nvim: treesitter: Enable diff 2023-06-02 13:10:28 +05:30
a9fc35d297
fish: conf.d/cabal-abbr: Fix cabal install abbreviation 2023-05-31 10:29:39 +05:30
8d2b94856c
nvim: after/ftplugin/scheme: Drop use of racket lang server for scheme 2023-05-31 10:29:38 +05:30
5674bbdc06
nvim: lsp: Add support for reloading Cargo workspace
While at it, refactor the custom setup and clean up for clients in
a single function.
2023-05-25 13:41:58 +05:30
269382b363
nvim: lsp-utils: Set capabilities
We missed setting this and it gives an error like below when using
HLS and rust-analyzer.

```bash
LSP[rust-analyzer]: Error SERVER_REQUEST_HANDLER_ERROR: "/usr/local/share/nvim/runtime/lua/vim/lsp/_watchfiles.lua:199: attempt to index field 'capabilities' (a nil value)"
```
2023-05-25 13:41:58 +05:30
0678e79929
newsboat: Update config 2023-05-25 13:41:58 +05:30
a3f8dbcb87
fish: conf.d/trash-cli-abbr: Add more abbreviations for rmtrash 2023-05-22 19:03:48 +05:30
620540000a
git/ignore: Ignore GHC environment files generated by cabal build 2023-05-19 18:59:35 +05:30
c844fe5874
nvim: after/plugin/nvim-lint: Enable actionlint
Run actionlint on save for GitHub Action workflow yaml files.
2023-05-18 15:37:41 +05:30
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
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
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
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
9fc6d0eb2a
fish: Drop vgrep aliases and introduce abbreviations
We still keep the vgrep + FZF aliases.
2023-05-15 11:10:55 +05:30
22f5664cd6
fish: conf.d: Clean up unnecessary -a option for abbreviations 2023-05-11 18:16:11 +05:30
3851e99f1b
fish: functions: Rename to not conflict with git abbreviations 2023-05-10 14:24:40 +05:30
6474278ca1
fish: functions: Remove tmux and some git aliases
We will introduce equivalent ones with abbreviations.
2023-05-10 14:24:39 +05:30
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
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
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
42601f6214
nvim: after/plugin/easyalign: Allow aligning on ' 2023-05-09 16:19:06 +05:30
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
1546762662
nvim: after/plugin/fzf-lua: Always parse globs in grep 2023-05-08 18:06:18 +05:30
f8267b23b0
nvim: after/plugin/gitlinker: Add gitea web hosts we work with 2023-05-06 18:20:19 +05:30
556cdeb219
tmuxp: Set starting directory for GitSources window 2023-05-06 13:23:21 +05:30
6fdaf3356f
fish: conf.d: Clean up unnecessary -g option for abbreviations 2023-05-06 13:11:03 +05:30
83c572019c
fish: conf.d: Add abbreviations for trash-cli and rmtrash 2023-05-06 13:09:37 +05:30
471611f915
arch-packages: Update package list 2023-05-06 11:54:06 +05:30
1f9b8882c7
tut: Nuke tut configuration 2023-05-06 10:50:35 +05:30
9363fc249b
fish: conf.d/setup: Set up all path related things at start 2023-05-05 10:54:38 +05:30
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
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
eafc975e35
nvim: plugin: Add a simple session management plugin 2023-05-02 16:33:52 +05:30
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
71873b1177
tmux/tmuxp: Create a separate tmux session for Haskell 2023-04-27 19:54:23 +05:30
dffb4856d1
fish: functions: Add an alias for global pnpm update 2023-04-27 17:39:59 +05:30
1369f826cb
fish: functions: Remove unused aliases 2023-04-27 16:51:19 +05:30
798cffa9f4
fish: functions: Add alias for detecting errors in media with ffmpeg 2023-04-27 16:51:19 +05:30
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
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
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