Commit graph

2052 commits

Author SHA1 Message Date
c806eafe5c nvim: plugin: Move gdb_helper to it's appropriate directory
Should have been in plugin and not after/plugin.
2021-11-18 13:25:14 +05:30
b4acbc3d98 fish: Disable Ctrl-d from closing the terminal
Mapping Ctrl-d in kitty was not the solution for this as we originally
thought.

See https://github.com/fish-shell/fish-shell/issues/5593 for an
explanation of the issue.
2021-11-18 11:28:33 +05:30
f993461dec kitty: Improve scroll back pager
Do not set file type to man, as it gives the same highlight to
everything and the standard white on black is better.

Also load our own custom plugin to purge ANSI color codes from the
buffer on loading.
2021-11-18 10:39:22 +05:30
ee584495dc nvim: plugins: Drop AnsiEsc and add a simpler replacement
Sanitises buffer by removing ANSI codes.

Idea taken from
https://www.reddit.com/r/neovim/comments/qqf4nn/comment/hk1nwnk
https://superuser.com/questions/1445805/removing-ansi-color-codes-from-a-text-file-in-vi
2021-11-18 10:38:38 +05:30
c84e620795 nvim: after/plugin/fugitive: Improve normal mode mapping for GBrowse 2021-11-17 18:00:54 +05:30
3f61c98414 nvim: keymappings: Add mappings for DiffConflicts 2021-11-17 17:29:54 +05:30
d989d6adbc nvim: after/plugin/fugitive: Enable q mapping for fugitiveblame 2021-11-17 16:47:19 +05:30
34bc9978d9 git: ignore: Ignore anything which looks like gdb stuff 2021-11-17 16:15:42 +05:30
7c767dcb9a kitty: session: Place pipewire tabs at start 2021-11-17 11:13:14 +05:30
fe34c26993 nvim: fugitive/gitsigns: Enable git blame line
Now that we dropped git-messenger, enable git blame line with fugitive
and gitsigns.
2021-11-17 11:13:14 +05:30
ab56185c9e nvim: plugins: Drop git-messenger
We have git blame via gitsigns or fugitive. Either should suffice.
2021-11-17 11:13:14 +05:30
940ce0d7ce sway: Switch to fuzzel and drop wofi
https://codeberg.org/dnkl/fuzzel
2021-11-17 11:13:14 +05:30
cc75f12e3f nvim: lsp: Enable inlay hints for TypeScript/JavaScript 2021-11-17 11:13:14 +05:30
b9e6330245 nvim: init: Drop relativenumber
Now that we switched to hop, we do not need relativenumber.
2021-11-17 11:13:14 +05:30
56842dd2a9 nvim: Switch to hop and drop sneak 2021-11-17 11:13:14 +05:30
6278cd24dd nvim: after/plugin/ferret: Drop the g/ and g\ mapping 2021-11-14 19:18:57 +05:30
46b42807a2 nvim: Update packer 2021-11-08 12:31:17 +05:30
c5c2ea10b7 fish: Add aliases for journalctl 2021-11-08 12:31:17 +05:30
af9f761a6c fish: Add aliases to start neovim without plugins & vimrc files 2021-11-08 12:31:17 +05:30
e07afd2c65 nvim: lsp: Never insert #include directives as part of code completion for clangd 2021-11-08 12:31:17 +05:30
61e617e494 fish: Use full format listing for ps
Using ps -e is not that helpful since it does not show the full command
line which is what is helpful in filtering and distinguishing between
multiple processes. For eg. we might have multiple processes running
using python and to distinguish between them we need the full command
line invocation.
2021-11-08 12:31:17 +05:30
a7b12dc642 nvim: plugins: Enable GBrowse support
GBrowse also seems to at least need the autoloaded functions from netrw,
so we only disable netrw commands and mappings.

See https://github.com/tpope/vim-fugitive/issues/1010.
2021-11-08 12:31:17 +05:30
bd39e7f163 i3status-rust: Enable bluetooth blocks
The battery percentage feature relies on the experimental flag being
passed to the bluetooth daemon so that the bluez experimental API
can be used for battery percentage indication.
2021-11-01 16:20:10 +05:30
fa1d5704ac chromium: Enable hardware video acceleration
See
https://wiki.archlinux.org/title/Chromium#Hardware_video_acceleration
2021-10-31 15:52:23 +05:30
b0341831e9 fish: Fix flatpak complaining about XDG_DATA_DIRS 2021-10-29 19:58:14 +05:30
7a25c8b062 nvim: after/ftplugin/rust: Add a mapping to open cargo docs 2021-10-22 18:08:30 +05:30
051856602c fish: Update cargo doc open command
Now that we set BROWSER correctly, we need not set this here.
2021-10-22 18:06:11 +05:30
84455420e5 fish: Unset and set BROWSER
For some reason, BROWSER always gets set to firefox instead of
firefox-wayland which is our own desktop file for starting firefox
in wayland.

Setting the systemd environment variables or using the env in desktop
file has not helped.
2021-10-22 16:07:08 +05:30
e5e2b5148a i3: Clean up configuration
Purge all left over settings from manjaro days.
2021-10-22 15:43:57 +05:30
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
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
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
7b6e618967 sway: Update wallpaper 2021-10-21 14:12:14 +05:30
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
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
1f165bbed4 nvim: autoload/git: Fix the arguments to difftool 2021-10-20 22:14:05 +05:30
2548f63793 nvim: plugins: Drop diffview
Something as basic as :DiffviewOpen <commit> does not work.
2021-10-20 22:11:38 +05:30
3a56d37531 nvim: after/ftplugin/dirvish: Add key mapping to yank file path 2021-10-20 21:12:22 +05:30
19e5b410b9 git: Continue listing the history of a file beyond renames 2021-10-20 18:01:08 +05:30
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
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
f6d56d6786 nvim: Update packer 2021-10-20 13:01:21 +05:30
af7461452c nvim: lsp: Enable LSP document highlight 2021-10-20 13:01:21 +05:30
e2a4d77590 nvim: yolokai: Add LSP highlight 2021-10-20 13:01:21 +05:30
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
d99bdc82c1 pycodestyle: Ignore E402
E402 is 'module level import not at top of file'.
2021-10-20 13:01:21 +05:30
bfb4d258b3 nvim: plugins: Switch to luasnip 2021-10-20 13:01:21 +05:30
8e1f6a8834 nvim: after/plugin/fzf: Add command for wiping out all selected buffers 2021-10-17 18:30:31 +05:30
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
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