Sanchayan Maity
8e851ef1a8
nvim: plugin/shell: Add key mapping to invoke ripgrep easily
2022-04-01 18:22:53 +05:30
Sanchayan Maity
d4a5bc933c
nvim: plugin/shell: Allows getting shell command output in temp buffer
...
Taken from
https://stackoverflow.com/questions/10493452/vim-open-a-temporary-buffer-displaying-executables-output
2022-03-29 15:16:02 +05:30
Sanchayan Maity
9ebbd3640b
nvim: after/plugin/fzf: BCommits also supports visual selection
...
BCommits supports visual selection of lines to track changes in
the range.
2022-03-27 19:26:36 +05:30
Sanchayan Maity
701bd244be
Allow seamless navigation between vim and tmux splits
2022-03-27 16:12:08 +05:30
Sanchayan Maity
758e624b07
nvim: autocmd: Do not run AnsiEsc on loading of log files
2022-03-27 16:12:08 +05:30
Sanchayan Maity
1325929554
nvim: after/plugin/fzf: Use tmux popups when in tmux
2022-03-24 09:36:04 +05:30
Sanchayan Maity
7ad8a95d21
Revert "nvim: plugins: Switch to fzf-lua"
...
This reverts commit 447d4e50b5
.
Switch back to fzf.vim as it supports tmux popups.
2022-03-24 09:16:50 +05:30
Sanchayan Maity
9352f12192
Revert "nvim: after/plugin/fzf-lua: Update actions for commits"
...
This reverts commit b10ba79940
.
Reverting this as a step to bring back fzf.vim.
2022-03-24 09:16:50 +05:30
Sanchayan Maity
d9746a1c73
nvim: statusline: Decrease the truncation width for git status
2022-03-23 10:28:22 +05:30
Sanchayan Maity
ac29090179
nvim: init: Fix copy and paste with clipboard when using tmux
2022-03-17 16:59:53 +05:30
Sanchayan Maity
2e8f138f8b
nvim: plugin: Add a plugin to help with epoch timestamp conversions
...
We look at logs frequently these days with epoch timestamps and this
helps with getting the human readable timestamp and vice versa.
2022-03-14 13:36:45 +05:30
Sanchayan Maity
131e5bb364
nvim: after/plugin/snipcomp: Lazy load LuaSnip
...
LuaSnip needs to be lazy loaded now else it slows down the startup.
2022-03-14 13:36:45 +05:30
Sanchayan Maity
5c6eebf9b5
nvim: autocmd: Fix cursor shape on exiting nvim
...
This is required when using foot.
See related issue
https://codeberg.org/dnkl/foot/issues/797
https://codeberg.org/dnkl/foot/issues/798
2022-03-11 10:32:00 +05:30
Sanchayan Maity
39f9628197
nvim: autocmd: Refactor the way we call auto command API
2022-03-06 17:48:50 +05:30
Sanchayan Maity
28049ed540
nvim: lsp: Use the new auto command API
2022-03-06 14:46:27 +05:30
Sanchayan Maity
39acdb222f
nvim: statusline: Use the new auto command API
2022-03-04 20:19:20 +05:30
Sanchayan Maity
0246931b56
nvim: after/plugin/statusline: Add a git branch ahead behind component
...
Taken from
https://www.reddit.com/r/neovim/comments/t48x5i/git_branch_aheadbehind_info_status_line_component
2022-03-04 10:14:46 +05:30
Sanchayan Maity
16d3b05a8f
nvim: plugins: Drop nvim-gps
2022-03-02 10:46:45 +05:30
Sanchayan Maity
ca7172b14a
nvim: autocmd: Use the new auto command API
2022-03-02 09:06:17 +05:30
Sanchayan Maity
b10ba79940
nvim: after/plugin/fzf-lua: Update actions for commits
2022-02-26 13:26:11 +05:30
Sanchayan Maity
6fb0c62a4b
nvim: yolokai: Change the hint background
...
This improves the color highlight for inlay hints.
2022-02-22 13:43:29 +05:30
Sanchayan Maity
96bc70fff8
Revert "nvim: autoload/git: Fix git log when current branch is master/main"
...
This reverts commit da5671b5ae
.
The commit actually did not handle all cases correctly.
2022-02-19 14:14:40 +05:30
Sanchayan Maity
795fd7f36a
nvim: treesitter: Enable HTML
2022-02-17 15:08:04 +05:30
Sanchayan Maity
6bf989871e
nvim: statusline: Fix tree-sitter status
...
Fixing based on file type was not good enough. Check for error
return and act accordingly.
2022-02-13 14:01:03 +05:30
Sanchayan Maity
ac3039d64b
nvim: after/plugin/fugitive: Improve git stash command mapping
2022-02-13 14:01:03 +05:30
Sanchayan Maity
6dd369b137
nvim: autoload/git: Use diff instead of difftool
2022-02-12 10:18:28 +05:30
Sanchayan Maity
447d4e50b5
nvim: plugins: Switch to fzf-lua
2022-02-10 21:31:57 +05:30
Sanchayan Maity
da5671b5ae
nvim: autoload/git: Fix git log when current branch is master/main
2022-02-10 21:31:57 +05:30
Sanchayan Maity
4edfa99a21
nvim: autoload/ftplugin: git: Add helper for format-patch
2022-02-10 21:31:57 +05:30
Sanchayan Maity
9c16443e10
nvim: statusline: Handle some more cases for filename & treesitter status
2022-02-10 21:31:57 +05:30
Sanchayan Maity
7d70992eae
nvim: after/plugin/fugitive: Add mapping to help with review
2022-02-10 21:20:51 +05:30
Sanchayan Maity
05bbba29a9
nvim: after/plugin/fugitive: Mapping for diffing in a new tab in Gstatus
2022-02-10 21:20:51 +05:30
Sanchayan Maity
316c17ad13
nvim: after/plugin/fugitive: Improve the diff commands
...
There was no need for the tab command shenanigans.
2022-02-10 21:20:51 +05:30
Sanchayan Maity
66af0bbd9e
nvim: after/plugin/statusline: Use nvim-gps for statusline
2022-02-09 18:14:12 +05:30
Sanchayan Maity
1484315caa
nvim: plugins: Add textobj-comment
2022-02-08 15:47:57 +05:30
Sanchayan Maity
819494b4bb
nvim: after/plugin/word-column: Change default mappings for textobj-word-column
...
We want to use vim-textobj-comment and hence need to make the ac mapping
available.
2022-02-08 15:47:57 +05:30
Sanchayan Maity
8b424a2533
nvim: after/plugin/statusline: Use nvim_set_hl API
...
See https://github.com/neovim/neovim/pull/17187 .
2022-02-08 15:47:57 +05:30
Sanchayan Maity
60478a59b0
nvim: after/plugin/fugitive: Make diff & difftool usage painless
2022-02-08 15:47:57 +05:30
Sanchayan Maity
73ceafcda2
nvim: keymappings: Make Esc cancel highlight search as well
2022-02-08 15:47:57 +05:30
Sanchayan Maity
59490d131a
nvim: colors/yolokai: Disable under curl for diagnostics
...
While we like having undercurl for diagnostics, most code bases are
garbage and linters/LSP show warnings all over the place. Seeing the
screen filled with red undercurls feels jarring. Disable them. Can't
expect people to do things properly.
2022-01-31 19:59:28 +05:30
Sanchayan Maity
572ff25150
nvim: init: Do not use underline for diagnostic
2022-01-31 19:59:28 +05:30
Sanchayan Maity
8ff00d9cb0
nvim: after/plugin/nvim-lint: Enable linting for yaml
2022-01-28 16:35:55 +05:30
Sanchayan Maity
2c9b7bfeb1
Revert "nvim: treesitter: Remove verilog support"
...
This reverts commit c2fabd0259
.
2022-01-27 19:06:59 +05:30
Sanchayan Maity
2b79d269ee
nvim: ftdetect: Drop nix ftdetect
...
This is not required anymore and is fixed upstream with commit
ecec95712.
2022-01-26 10:32:11 +05:30
Sanchayan Maity
93c92ad067
nvim: plugins: Drop vim-workspace and use auto-session
2022-01-25 10:17:33 +05:30
Sanchayan Maity
73dd1939bd
nvim: after/plugin/statusline: Write our own status line plugin
...
Drop lualine and use our own simple status line. We do not need any
of the fancy stuff, so this works just fine.
2022-01-24 16:15:52 +05:30
Sanchayan Maity
42a3680d87
nvim: yolokai: Remove style for statusline
...
This fixes the weird color artifact where the vertical split would
meet the statusline.
2022-01-24 13:23:35 +05:30
Sanchayan Maity
22ef882154
nvim: lsp: Enable ESLint
2022-01-21 11:28:45 +05:30
Sanchayan Maity
3cf20c4822
nvim: autoload/git: Generate a helpful name to use with stash
2022-01-19 17:44:15 +05:30
Sanchayan Maity
e807b1126a
nvim: init: Disable Python3 provider
2022-01-19 10:31:37 +05:30
Sanchayan Maity
6e86a6a777
nvim: plugins: Drop Coqtail
...
We are not gonna be pursuing studying Coq for quite a long while and
dropping this should allow us to drop Python provider, so drop this.
2022-01-19 10:29:48 +05:30
Sanchayan Maity
5f26c276ef
nvim: plugins: Drop vim-coq-plugin
...
coqtail can provide syntax highlighting. Not sure why we ever
added vim-coq-plugin.
2022-01-15 16:26:14 +05:30
Sanchayan Maity
c35ca910e4
nvim: plugins: Switch to gitlinker from vim-rhubarb
...
Also see commit a7b12dc6
.
2022-01-15 15:53:43 +05:30
Sanchayan Maity
4d978c02f6
nvim: after/plugin/nvim-lint: Enable linting for Dockerfile
2022-01-12 13:16:29 +05:30
Sanchayan Maity
cb8dfaddfa
nvim: after/plugin/fzf: Add a binding for select all
2022-01-11 11:38:55 +05:30
Sanchayan Maity
eea27349ab
nvim: plugins: Drop ferret
...
We hardly ever use this, so drop it.
2022-01-11 11:38:55 +05:30
Sanchayan Maity
54c8c977a4
nvim: plugins: Drop QFEnter
...
We actually never use this plugin.
2022-01-11 11:13:07 +05:30
Sanchayan Maity
c2fabd0259
nvim: treesitter: Remove verilog support
...
Conflicts with coq and crashes nvim sometimes.
2022-01-08 10:51:54 +05:30
Sanchayan Maity
0f51ccdf6b
nvim: keymappings: Use arrow keys to navigate popup menu
2022-01-07 16:20:35 +05:30
Sanchayan Maity
5a270db645
nvim: plugins: Drop wilder
2022-01-07 13:36:13 +05:30
Sanchayan Maity
0928a6e37e
nvim: plugins: Add patchreview
2022-01-06 15:29:26 +05:30
Sanchayan Maity
9316c06aa2
nvim: init: Enable filetype.lua and disable filetype.vim
...
See the below threads
https://github.com/neovim/neovim/pull/16600
https://www.reddit.com/r/neovim/comments/rvwsl3/introducing_filetypelua_and_a_call_for_help/
https://neovim.discourse.group/t/introducing-filetype-lua-and-a-call-for-help/1806
2022-01-06 15:29:26 +05:30
Sanchayan Maity
e0a642c949
nvim: colors: yolokai: Set Diff color background to black
2022-01-06 15:19:09 +05:30
Sanchayan Maity
a9136536f7
nvim: plugin/ansiesc: Do not set relative number
2022-01-05 18:21:10 +05:30
Sanchayan Maity
53446a15a1
nvim: after/plugin/wilder: Update configuration
...
- Do not enable the popup menu automatically
- Use arrow keys to navigate
- Enable for cmdline
2022-01-05 16:05:27 +05:30
Sanchayan Maity
7b19fceff2
nvim: plugins: Drop which-key
2022-01-04 15:15:47 +05:30
Sanchayan Maity
64ac6ed70c
nvim: init: Clean up unused vim-sneak settings
2022-01-04 15:15:47 +05:30
Sanchayan Maity
6744dc6004
nvim: lsp: Do not enable document highlight on CursorHoldI
2022-01-04 15:15:47 +05:30
Sanchayan Maity
9251900f70
nvim: yolokai: Sync with nvim-highlite upstream
2022-01-04 15:15:47 +05:30
Sanchayan Maity
25de9376a9
nvim: keymappings: Add a mapping for finding exact match
2022-01-03 20:26:56 +05:30
Sanchayan Maity
96977caa81
nvim: lsp: Fix typos & symbols in LSP protocol completion item kind
2021-12-29 18:54:57 +05:30
Sanchayan Maity
c6a7ba29bd
nvim: init.lua: Drop defaults
...
See :help nvim-defaults. The switchbuf setting was different than the
default though.
Drop cursorline settings as that doesn't make sense since we stopped
using relativenumber a while back.
2021-12-29 18:54:57 +05:30
Sanchayan Maity
cba7712eb2
nvim: after/plugin/nvim-lint: Enable languagetool for markdown & text
2021-12-28 19:24:45 +05:30
Sanchayan Maity
6b9f354f78
nvim: after/plugin: fzf/fzf-preview: Support searching visual selection
2021-12-28 19:24:45 +05:30
Sanchayan Maity
5abf204ae6
nvim: treesitter: Enable markdown
2021-12-28 19:24:45 +05:30
Sanchayan Maity
8ed965088a
nvim: plugins: Drop vim-pandoc
...
Drop vim-pandoc as we want to move to syntax highlighting via
treesitter.
2021-12-28 19:24:45 +05:30
Sanchayan Maity
ab22c57805
nvim: after/plugin/lualine: Fix typo
2021-12-24 10:25:15 +05:30
Sanchayan Maity
6ab7d9531d
nvim: after/plugin/fugitive: Force local tag update on fetch
2021-12-22 12:55:51 +05:30
Sanchayan Maity
07b161acf6
nvim: plugins: Add wilder for suggestions in wildmenu
2021-12-21 19:56:52 +05:30
Sanchayan Maity
6a62f22855
nvim: lsp: Lower the debounce interval
2021-12-21 09:26:36 +05:30
Sanchayan Maity
7e943ae1c5
nvim: lsp: Update Python Jedi language server configuration
2021-12-21 09:26:36 +05:30
Sanchayan Maity
755238d83c
nvim: after/plugin/fzf: Add some more mappings for preview window
2021-12-16 20:23:36 +05:30
Sanchayan Maity
b7762f552d
nvim: lsp: Enable text for LSP protocol completion item kind
2021-12-16 18:52:53 +05:30
Sanchayan Maity
2a8dd6343a
nvim: after/plugin/lualine: Move diagnostics to the right of status line
2021-12-16 18:12:51 +05:30
Sanchayan Maity
4d19532127
nvim: after/plugin/lualine: Use simplified symbols
2021-12-15 16:57:30 +05:30
Sanchayan Maity
8e0fdbdaae
nvim: Drop nvim-cmp
...
Auto-completion has mostly been annoying than of any actual use. Just
fancy annoying crap. Just use in built omni completion.
2021-12-14 15:44:33 +05:30
Sanchayan Maity
20c3b7dd7d
nvim: after/plugin/snipcomp: LuaSnip companion plugin for omni completion
...
The reddit announcement
https://www.reddit.com/r/neovim/comments/rddugs/snipcomplua_luasnip_companion_plugin_for_omni/
2021-12-14 15:44:33 +05:30
Sanchayan Maity
abc00380fc
nvim: after/ftplugin: diff/git: Allow jumping between sections of diff
...
Use [c and ]c to jump between sections of diff.
2021-12-14 15:44:33 +05:30
Sanchayan Maity
7a9333a9e1
nvim: plugins: Drop nvim-web-devicons
2021-12-13 13:43:19 +05:30
Sanchayan Maity
0fbd8d256e
nvim: lsp: Enable code action only when supported
2021-12-10 19:50:19 +05:30
Sanchayan Maity
1891eef80a
nvim: lsp: Enable nvim-lightbulb only if code lens is available
2021-12-10 19:50:19 +05:30
Sanchayan Maity
591077efb4
nvim: Update Python related configuration
2021-12-10 14:09:12 +05:30
Sanchayan Maity
b41584d996
nvim: lsp: Enable document highlight only when supported
2021-12-10 14:09:12 +05:30
Sanchayan Maity
5716ca88af
nvim: plugins: Switch to lualine
2021-12-10 10:58:19 +05:30
Sanchayan Maity
e488171b08
nvim: plugins: Add vim-matchup
...
We also enable the treesitter integration.
2021-12-06 10:28:30 +05:30
Sanchayan Maity
cdb4ba7740
nvim: yolokai: Change MatchParen highlight
...
Purple is also used for some other groups, use of orange makes the
matching identifiers stand out.
2021-12-06 10:28:30 +05:30
Sanchayan Maity
3c69913845
nvim: autocmd: Fix TextYankPost autocmd
2021-12-06 10:28:30 +05:30
Sanchayan Maity
674b1539ed
nvim: colors/yolokai: Update highlight for nvim-cmp
...
This adds support for using different highlights for each
of the LSP kind items like variable, functions, methods etc.
2021-12-06 10:28:30 +05:30
Sanchayan Maity
1643837553
nvim: after/plugin/cmp: Show LSP kind type name during completion
2021-12-06 10:28:30 +05:30
Sanchayan Maity
7001fc4603
nvim: plugins: Add cmdline completion
2021-12-06 10:28:30 +05:30