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
b7036e5bfe
nvim: plugins: Drop vim-togglelist
...
Was never really needed. Can just use open and close for quickfix and
location list.
2021-10-03 13:10:43 +05:30
Sanchayan Maity
4b8caad3b6
nvim: plugins: Drop cscope
...
Now that we have migrated to clang LSP for C, the only reason for
keeping it around was using it to find files in gst-build repository
which was structured in such a way that fzf and rg could not be used.
Now that GStreamer has moved to monorepo setup, we can use fzf and
rg just like in any project. No need for cscope anymore.
2021-09-30 14:20:42 +05:30
Sanchayan Maity
9de5a7de76
nvim: after/plugin/vsnip: Keymap settings are not required anymore
...
With the move to nvim-cmp these vsnip key mappings are not required
anymore. The completion and expansion gets taken care of by nvim-cmp.
Just move the vsnip_filetypes settings to init.
2021-09-27 18:46:55 +05:30
Sanchayan Maity
0aa93c6e9b
nvim: init: Always enable the signcolumn
...
Have a fixed column for the diagnostics to appear in as this removes
the jitter when warnings/errors flow in.
Recommended here
https://sharksforarms.dev/posts/neovim-rust/
2021-09-26 12:06:16 +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
aee5337f55
nvim: init: Drop exrc and secure
...
exrc is deprecated and not recommended. Accordingly also drop secure.
See
https://github.com/neovim/neovim/issues/5784#issuecomment-506993689
2021-06-16 12:55:44 +05:30
Sanchayan Maity
8ad693d5bc
nvim: init: Drop duplicate swapfile setting call
2021-06-10 18:30:31 +05:30
Sanchayan Maity
fbce78c346
nvim: init: Use vim.o for setting all options
...
Works exactly the same as `set` after neovim/neovim#13479 .
2021-05-29 13:32:43 +05:30
Sanchayan Maity
5462060452
nvim: plugins: Drop rainbow
...
Does not really work with treesitter.
There is nvim-ts-rainbow but it seems to have performance problems.
https://github.com/p00f/nvim-ts-rainbow/issues/5
2021-05-17 20:38:09 +05:30
Sanchayan Maity
58fe622b66
nvim: init: Align to look nice
2021-05-14 18:04:55 +05:30
Sanchayan Maity
d2889ad053
nvim: init: Use lua style code for sneak settings
2021-05-12 18:38:59 +05:30
Sanchayan Maity
2eea1feb69
nvim: keymappings/plugins: Add support for marks and registers
...
We drop vim-system-copy and will explicitly use registers when required.
Add nvim-peekup to help with registers and vim-signature for marks. Some
additional helper bindings for working with marks are added as well.
2021-05-12 18:06:12 +05:30
Sanchayan Maity
048095bb2e
nvim: Update mappings for ferret
2021-05-08 14:40:04 +05:30
Sanchayan Maity
f030b39a3e
nvim: init: Use zathura as PDF viewer
2021-05-03 19:58:06 +05:30
Sanchayan Maity
b36197fbe8
nvim: init: Enable relativenumber
2021-05-02 13:29:38 +05:30
Sanchayan Maity
db6657f3ce
nvim: init: Fix option settings
...
Some options need to be set for both vim.bo (for the current buffer) and
vim.o (for newly opened buffers). This is required till the below PR
gets merged.
https://github.com/neovim/neovim/pull/13479
2021-04-28 11:06:46 +05:30
Sanchayan Maity
060fc1d41c
nvim: init: Make cursor line always be in the middle of the window
2021-02-22 14:44:10 +05:30
Sanchayan Maity
ae391080a1
nvim: Sync nvim-compe settings with upstream
2021-02-18 19:07:13 +05:30
Sanchayan Maity
9918959aa2
nvim: Switch to nvim-compe
2021-02-02 18:09:35 +05:30
Sanchayan Maity
fa18abaf65
nvim: Clean up init
2021-01-09 11:48:30 +05:30
Sanchayan Maity
fcbdfc31ab
nvim: Fix LSP configuration
...
Not sure what changed in recent releases for either nvim, packer or
lspconfig plugins, but, our custom LSP configuration file seems to
not be loaded or have any effect when specified via packer's config
directive. So load it manually in init.
2021-01-01 11:56:33 +05:30
Sanchayan Maity
dec2764e43
Revert "nvim: init: Enable virtualedit"
...
This reverts commit 98c0c283ee
.
2020-12-23 16:38:55 +05:30
Sanchayan Maity
451963c108
nvim: init: Enable python3 provider
...
We want to add pandoc support with vim-pandoc next and it makes use of
the python API. So enable this.
2020-12-12 17:20:10 +05:30
Sanchayan Maity
98c0c283ee
nvim: init: Enable virtualedit
...
Allow cursor to be positioned even when there is no actual character.
2020-12-12 12:55:28 +05:30
Sanchayan Maity
fef45b50e9
Drop init.vim
...
With the below PR merged
https://github.com/neovim/neovim/pull/12235
init.lua is now first class and we have no need for init.vim anymore.
2020-12-07 13:05:08 +05:30