Commit Graph

1174 Commits

Author SHA1 Message Date
Sanchayan Maity e5e2b5148a i3: Clean up configuration
Purge all left over settings from manjaro days.
2021-10-22 15:43:57 +05:30
Sanchayan Maity 9bc28d47a3 fish: Start sway if running from tty1
sway seems to not start at all when using lightdm to login. We disabled
lightdm and now just use the login shell to start sway. sway never
recommended login managers so this was long due anyways.

See https://github.com/swaywm/sway/wiki#login-managers.
2021-10-22 15:43:57 +05:30
Sanchayan Maity db9f8c8f58 sway: Fix import of environment variables
See https://wiki.archlinux.org/title/Sway#Manage_Sway-specific_daemons_with_systemd.
2021-10-22 15:43:57 +05:30
Sanchayan Maity 7a7ca81537 sway: Do not start kanshi
We do not use dual monitor setup at the moment so do not start kanshi.
2021-10-22 12:29:18 +05:30
Sanchayan Maity 7b6e618967 sway: Update wallpaper 2021-10-21 14:12:14 +05:30
Sanchayan Maity 3657612dbb nvim: keymappings: Drop all key mappings for tags
We do not use tags anymore so drop those. Especially never used the
preview tag mappings.
2021-10-20 22:34:14 +05:30
Sanchayan Maity cece84f76e nvim: colors/yolokai: Fix git diff highlight group
The previous setting resulted in atrocious highlighting in diffs.
2021-10-20 22:34:14 +05:30
Sanchayan Maity 1f165bbed4 nvim: autoload/git: Fix the arguments to difftool 2021-10-20 22:14:05 +05:30
Sanchayan Maity 2548f63793 nvim: plugins: Drop diffview
Something as basic as :DiffviewOpen <commit> does not work.
2021-10-20 22:11:38 +05:30
Sanchayan Maity 3a56d37531 nvim: after/ftplugin/dirvish: Add key mapping to yank file path 2021-10-20 21:12:22 +05:30
Sanchayan Maity 19e5b410b9 git: Continue listing the history of a file beyond renames 2021-10-20 18:01:08 +05:30
Sanchayan Maity 9b692e9a8e nvim: init: Disable virtual text for all diagnostics
They frequently get clipped beyond the window border due to being too
long and are not that helpful.

While at it, use our own preferable default sane options for the rest.
2021-10-20 13:01:21 +05:30
Sanchayan Maity 0ee98bc81c nvim: keymappings: Update to use the new diagnostic API
While at it, switch the key mapping to use the more convenient one for
line diagnostic.
2021-10-20 13:01:21 +05:30
Sanchayan Maity f6d56d6786 nvim: Update packer 2021-10-20 13:01:21 +05:30
Sanchayan Maity af7461452c nvim: lsp: Enable LSP document highlight 2021-10-20 13:01:21 +05:30
Sanchayan Maity e2a4d77590 nvim: yolokai: Add LSP highlight 2021-10-20 13:01:21 +05:30
Sanchayan Maity 6a828a9959 paru: Add a configuration for paru
Pretty much a copy of paru.conf in the repo with CleanAfter and
FileManager set to nvim.
2021-10-20 13:01:21 +05:30
Sanchayan Maity d99bdc82c1 pycodestyle: Ignore E402
E402 is 'module level import not at top of file'.
2021-10-20 13:01:21 +05:30
Sanchayan Maity bfb4d258b3 nvim: plugins: Switch to luasnip 2021-10-20 13:01:21 +05:30
Sanchayan Maity 8e1f6a8834 nvim: after/plugin/fzf: Add command for wiping out all selected buffers 2021-10-17 18:30:31 +05:30
Sanchayan Maity 4cc5fb67c9 nvim: after/ftplugin/rust: Add Dispatch commands for cargo build
Add cargo build commands using dispatch similar to the ones we have
defined in fish.
2021-10-17 18:30:31 +05:30
Sanchayan Maity 3ce0fbf73d nvim: after/ftplugin/rust: Set compiler and makeprg
We pick up the compiler cargo file from rust.vim as the errorformat
seems better perhaps to consider a few more things compared to the one
included in neovim.
2021-10-17 18:30:31 +05:30
Sanchayan Maity 27dec93c97 nvim: plugins: Switch to vim-dispatch from asyncdo
It has a few more things than asyncdo and automatically handles makeprg
not that setting a custom command to handle makeprg with asyncdo was
a problem but still. Should also be useful for fugitive git push,
believe it will use dispatch when available.
2021-10-17 18:30:31 +05:30
Sanchayan Maity 936e6149de nvim: plugins: Switch to Comment.nvim from commentary.vim 2021-10-17 18:30:31 +05:30
Sanchayan Maity e743090e85 mutt: mailnotify: Notify emails from gitlab 2021-10-16 19:37:58 +05:30
Sanchayan Maity fa81a1c107 nvim: plugins: Drop the rtp fix for friendly-snippets
See the actual fix upstream
32ddc125ec

This could be probably unrelated and just was fixed in neovim core
perhaps. Either ways we do not need to do this anymore.
2021-10-16 17:31:29 +05:30
Sanchayan Maity 954c2ec1b3 nvim: init: Use a size of 2 for sign column
This helps to display both diagnostic signs and git gutter at the same
time. Use automatic resize keeping minimum at 1 and maximum at 2.
2021-10-16 17:31:29 +05:30
Sanchayan Maity f4fd6ab1e8 nvim: after/plugin/marks: Do not show builtin marks 2021-10-16 17:31:29 +05:30
Sanchayan Maity 138720944c git: Drop followTags setting for push
Not sure if we ever really needed this considering that we work on open
source projects, where we need only push the branch from which we raise
the MR. Pretty much the same for current client work as well. Are tags
ever required for such scenario?.
2021-10-14 15:01:43 +05:30
Sanchayan Maity eb406bd1da nvim: treesitter: Drop clojure and fennel
We added them briefly but never used these.
2021-10-14 14:41:39 +05:30
Sanchayan Maity e4ac609db3 nvim: Update packer 2021-10-14 00:43:31 +05:30
Sanchayan Maity 4c6a34d07f nvim: plugins: Switch from vim-signature to marks.nvim 2021-10-14 00:43:31 +05:30
Sanchayan Maity 8e1b5c1a34 sway: Add a key mapping to start kitty with session 2021-10-13 12:48:52 +05:30
Sanchayan Maity 952af3ae06 kitty: Add a session configuration 2021-10-13 12:48:52 +05:30
Sanchayan Maity 94aee9daf5 git: ignore: Ignore clangd cache 2021-10-13 12:12:24 +05:30
Sanchayan Maity d09df20590 gdb: Update gdb configuration 2021-10-12 23:27:00 +05:30
Sanchayan Maity 48d64d6de1 nvim: after/plugin/cmp: Update settings
Seems we missed a few things last time. The formatting.fields thing is
a new feature.
2021-10-12 20:15:57 +05:30
Sanchayan Maity a9efbede25 nvim: after/plugin/gdb_helper: Add helper to get breakpoint
This allows us to generate a breakpoint location we can use in the gdb
command file or on command line and also copies it to the clipboard thus
allowing us to easily paste it.
2021-10-12 14:16:37 +05:30
Sanchayan Maity e5f2fb0318 nvim: Use relative paths in dirvish
When yanking a path in dirvish buffer this setting allows us to get
relative paths instead of absolute which is default.
2021-10-12 14:16:37 +05:30
Sanchayan Maity c095856bba gdb: Turn on logging by default
While at it, clean up duplicate setting.
2021-10-11 17:20:00 +05:30
Sanchayan Maity 1f281f6bd7 nvim: after/plugin/cmp: Update nvim-cmp settings
Support for use of floating windows for completion menus landed
upstream. It introduced a new feature but also broke things. Having
native_menu set completely breaks auto completion.

While at it, add mapping for scrolling docs. Also add support for it
in color scheme.
2021-10-11 13:28:07 +05:30
Sanchayan Maity a83b07959d nvim: lsp: Drop lsp_signature
The signature help sometimes stays open even after moving away from
the function. Sometimes it conflicts with the auto completion pop-up
making it difficult to see one of the two windows.
2021-10-11 13:28:07 +05:30
Sanchayan Maity cf15054719 nvim: plugins: Add pretty Quickfix windows 2021-10-11 13:28:07 +05:30
Sanchayan Maity ac8273d9fd nvim: init: Enable cursorline
A new cursorline option 'number' seems to be available now. This would
be useful compared to the whole line.
2021-10-10 11:57:15 +05:30
Sanchayan Maity 25059ef623 nvim: lsp: Enable some additional key mappings for code actions 2021-10-10 11:57:15 +05:30
Sanchayan Maity a3197c1d02 gdb: Update settings
Enable auto loading of python scripts and other settings.
2021-10-09 13:19:43 +05:30
Sanchayan Maity bcf24ef5f6 git: Ignore gdb log and history files 2021-10-07 15:32:14 +05:30
Sanchayan Maity 054e9998dd tmux: Update plugins 2021-10-07 12:34:00 +05:30
Sanchayan Maity bf9e2bf54c fish: Add aliases for cargo build commands 2021-10-06 09:55:06 +05:30
Sanchayan Maity a8d0a43556 nvim: plugins: Add toggleterm
Serves as a good replacement to floaterm.
2021-10-05 15:44:29 +05:30