Commit graph

1282 commits

Author SHA1 Message Date
Sanchayan Maity 47b157805d nvim: lsp: Fix enabling of range format support
If range formatting is supported we should check that first to enable
it else since most LSP servers support formatting, without range
formatting check being first, it would never be enabled.
2021-09-25 18:21:51 +05:30
Sanchayan Maity 8801b26fa9 nvim: lsp: Add range formatting with motion 2021-09-25 15:26:52 +05:30
Sanchayan Maity eebffce98e nvim: lsp: Add back custom preview function
Follow up to 469e367.
2021-09-25 15:26:52 +05:30
Sanchayan Maity f01b1d6a52 nvim: lsp: Use Leader k mapping for LSP hover
While at it, align code to look nice.
2021-09-25 15:13:49 +05:30
Sanchayan Maity 616c4f003c nvim: lsp: Increase value of debounce didChange notifications 2021-09-25 13:21:01 +05:30
Sanchayan Maity 469e36756b nvim: lsp: Drop custom preview function
Those functions do not work anymore. May be we will add it later
via https://github.com/rmagatti/goto-preview.
2021-09-25 13:21:01 +05:30
Sanchayan Maity cba3c92d06 fish: Add helpers for seeing & collecting perf data 2021-09-25 13:21:01 +05:30
Sanchayan Maity 9ab36d4b1b nvim: lsp: Fix null-ls setup 2021-09-25 13:21:01 +05:30
Sanchayan Maity 350a6edd2c nvim: fugitive/git: Add git helper to push upstream
Now that we set push.default to nothing in our git configuration, add
a git helper to figure out the upstream for the current branch and push
it.
2021-09-25 13:21:01 +05:30
Sanchayan Maity 2fb77b64bc fish: Add a rust-gdb helper command 2021-09-25 13:21:01 +05:30
Sanchayan Maity ccdb81f9b5 git: Set push.default
Do not push anything (error out) unless a refspec is given. We want
to avoid mistakes by always being explicit.

See https://git-scm.com/docs/git-config#Documentation/git-config.txt-pushdefault
2021-09-25 13:21:01 +05:30
Sanchayan Maity 643e1be349 nvim: keymappings: Add mappings to paste from + & * register 2021-09-22 17:52:15 +05:30
Sanchayan Maity 130bf3e04d nvim: colors: yolokai: Update diagnostic highlight 2021-09-22 17:51:51 +05:30
Sanchayan Maity 71f5c334f1 nvim: plugins: Drop nvim-peekup
Does not work correctly and keeps pasting in the first window instead of
where the cursor is placed.
2021-09-21 11:02:25 +05:30
Sanchayan Maity 52ff789cf3 nvim: Switch to the maintained galaxyline fork
See
https://github.com/NTBBloodbath/galaxyline.nvim
https://www.reddit.com/r/neovim/comments/pq3zvq/galaxylinenvim_is_back/
2021-09-21 11:02:25 +05:30
Sanchayan Maity b31aeaf597 nvim: Update packer 2021-09-21 11:02:25 +05:30
Sanchayan Maity a7e7ac968f fish: Add helpers for coredumpctl 2021-09-15 18:33:09 +05:30
Sanchayan Maity e1cfc0408d nvim: yolokai: Sync with nvim-highlite upstream 2021-09-13 18:00:40 +05:30
Sanchayan Maity 763f811931 nvim: after/plugin/haskell: Cleanup settings not required anymore
We dropped the Haskell syntax plugin for treesitter and also ghcid.
Remove settings which were for those plugins.
2021-09-11 11:57:10 +05:30
Sanchayan Maity 3edfac79b4 nvim: after/plugin/completion: Disable tags completion
We were using tags completion for C projects primarily but now that we
have enabled clangd LSP, disable tags based completion.
2021-09-10 14:06:59 +05:30
Sanchayan Maity 5b6685b165 nvim: lsp: Enable clangd for C and C++ 2021-09-10 14:06:59 +05:30
Sanchayan Maity ccb4b4343d nvim: after/plugin: fugitive: Update key mappings 2021-09-10 13:41:24 +05:30
Sanchayan Maity be257f67f0 nvim: Update packer 2021-09-06 14:51:16 +05:30
Sanchayan Maity 555026ef80 nvim: lsp: Sync nvim-lsp-ts-utils settings with upstream 2021-08-31 11:02:34 +05:30
Sanchayan Maity 44411a87e2 nvim: Update packer 2021-08-31 11:02:34 +05:30
Sanchayan Maity f0f12d4294 fish: Add helpers for easing work with gdb 2021-08-13 18:35:03 +05:30
Sanchayan Maity a657297158 kitty: Switch to arrow keys for scroll
Use arrow keys as HJKL is not usable like before with the switch to
Colemak.
2021-08-12 18:00:59 +05:30
Sanchayan Maity 9431ca8646 nvim: Update packer 2021-08-12 12:02:25 +05:30
Sanchayan Maity 20ba60e50a fish: Add an alias for the icat kitten 2021-08-12 12:02:25 +05:30
Sanchayan Maity 6f13255bdd fish: Add helper to generate dot graph 2021-08-12 12:02:25 +05:30
Sanchayan Maity 6af6dfa93a fish: Add a helper to pipe command output to nvim 2021-08-06 14:04:45 +05:30
Sanchayan Maity e92cc8a823 kitty: Add a mapping to move to previous and next window 2021-08-06 10:51:22 +05:30
Sanchayan Maity 97ce089ca0 sway: Drop use of HJKL
HJKL are not usable in the same way on Colemak, so drop those.
2021-08-06 10:51:22 +05:30
Sanchayan Maity d43a3b16ba sway: Add key mapping to move to previous & next workspace 2021-08-06 10:51:22 +05:30
Sanchayan Maity 88ed57fb8b nvim: keymappings: Enable escape and arrow keys
Now that we use Planck EZ as our main keyboard with Colemak as the
layout, allow use of escape and arrow keys. HJKL are not usable the
same way as before.
2021-08-06 10:51:22 +05:30
Sanchayan Maity fb1007b1b6 alacritty: Increase font size 2021-08-06 10:51:22 +05:30
Sanchayan Maity 8f5e45cb52 nvim: keymappings: Add mapping to copy to clipboard 2021-08-06 10:51:22 +05:30
Sanchayan Maity a26efca087 starship: Remove deprecated property 2021-08-06 10:51:22 +05:30
Sanchayan Maity 26bc1e7e9c nvim: Update packer 2021-08-06 10:51:22 +05:30
Sanchayan Maity bdc14d4ebc nvim: Add lightbulb for discoverable LSP code actions 2021-07-26 18:44:41 +05:30
Sanchayan Maity b1d3fb01c2 tmux: Update tmux plugins 2021-07-25 11:59:16 +05:30
Sanchayan Maity 8f6a2f6419 chromium: Add chromium settings 2021-07-25 11:42:33 +05:30
Sanchayan Maity d84af26334 tinyirc: Update configuration 2021-07-25 11:42:33 +05:30
Sanchayan Maity b319398534 nvim: Update packer 2021-07-25 11:42:33 +05:30
Sanchayan Maity e48ee53047 emacs: config: Update user mail address 2021-07-22 13:30:45 +05:30
Sanchayan Maity 5dbc5d4c29 i3status-rust: Set notifier
Without this, we do not get a message window via mako and need to
check in on the pomodoro timer in status bar manually.
2021-07-21 13:15:47 +05:30
Sanchayan Maity 3e7fd609ec nvim: lsp: Sync nvim-lsp-ts-utils configuration with upstream 2021-07-21 11:00:40 +05:30
Sanchayan Maity d00bf90b30 nvim: after/plugin: nvimgdb: Update nvim-gdb configuration 2021-07-21 10:29:21 +05:30
Sanchayan Maity c9cc36a499 nvim: Update packer 2021-07-20 21:01:22 +05:30
Sanchayan Maity cc2bedbe5d nvim: keymappings: Add mappings to move lines 2021-07-20 21:01:13 +05:30