Commit graph

191 commits

Author SHA1 Message Date
Sanchayan Maity 47fcbd2233 nvim: Some consistency cleanup 2020-10-26 11:01:54 +05:30
Sanchayan Maity efc8bf88b5 nvim: Except for gina migrate everything in after/plugin to lua 2020-10-24 11:06:27 +05:30
Sanchayan Maity b1c51c6e83 nvim: Migrate from vim-plug to paq-nvim 2020-10-24 11:06:27 +05:30
Sanchayan Maity cb16ddec0c nvim: Refactor configuration and start moving to lua 2020-10-23 17:23:51 +05:30
Sanchayan Maity 0b76ab242f nvim: Drop purescript and erlang
We do not expect to be writing either of them anytime in the near
future.
2020-10-23 13:33:11 +05:30
Sanchayan Maity 84a5ec8ee9 nvim: Switch to better-whitespace
Might be better as it is faster for the common case. See comment,
https://github.com/axelf4/vim-strip-trailing-whitespace/issues/2#issuecomment-573422150
2020-10-10 13:39:54 +05:30
Sanchayan Maity 46ad457661 nvim: Drop vim-fetch
Never used till date, so drop it.
2020-10-08 13:08:28 +05:30
Sanchayan Maity d04c8675f9 nvim: Switch back to gina dropping fugitive
The only purposes we have been using fugitive for is status and commit
which should be equally comfortable with gina. Gina log is really
instantaneous even on big repositories like Linux while fugitive just
freezes vim. For handling hunks, merge and rebase conflicts we anyways
rely on the other plugins.

We use edita so that applications which use $EDITOR internally can work
inside neovim terminal without opening another instance which does not
work with the already running instance. This is required for things like
interactive rebase. See below issue.
https://github.com/lambdalisue/gina.vim/issues/276

We drop fzf-checkout as it isn't that useful anymore since gina allows
easy checkouts for branch or tags easily.
2020-10-06 17:43:02 +05:30
Sanchayan Maity 160ed5b1c1 Revert "Revert "nvim: Switch to signify""
This reverts commit 79be97c081.

While signify has the below issue
https://github.com/mhinz/vim-signify/issues/345

still drop gitgutter and use signify as gitgutter might have problems as
observed in this thread.
https://github.com/nvim-lua/completion-nvim/issues/203
2020-10-05 20:48:56 +05:30
Sanchayan Maity c25188661b nvim: Add fzf-preview
This plugin provides support for Quickfix and Location list along with
previews. Also, does not do fuzzy match on file names which is useful.
Move some of the commands from fzf to fzf-preview as it provides
previews for those as well.

Using pedit for previews for quickfix list wasn't super comfortable.
Drop it, now that we have quickfix preview with fzf-preview.
2020-09-22 20:33:49 +05:30
Sanchayan Maity 0a20d1d3e2 nvim: Add scrollbar 2020-09-21 11:33:43 +05:30
Sanchayan Maity d8fc9facec nvim/git: Use vimdiff as merge tool & drop DiffConflicts
The conflict markers plugin is what we have been using all the time and
is useful even without resorting to merge tool. Drop the DiffConflicts
plugin and use vimdiff as the merge tool if at all we need to resort to
a full 3 way merge view.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-09-17 10:48:11 +05:30
Sanchayan Maity 79be97c081 Revert "nvim: Switch to signify"
See open issue
https://github.com/mhinz/vim-signify/issues/345

Makes signify completely unusable if the undo hunks feature is desired.

This reverts commit b25091fae6.
2020-09-14 10:09:47 +05:30
Sanchayan Maity af410754a4 nvim: Add nvim-treesitter
Drop the syntax highlight plugins for the languages for which treesitter
is now enabled.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-09-11 20:21:35 +05:30
Sanchayan Maity b25091fae6 nvim: Switch to signify
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-09-09 13:25:52 +05:30
Sanchayan Maity 8670913661 nvim: Add support for working with sudo
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-09-09 13:25:18 +05:30
Sanchayan Maity d59e74f588 nvim: Add support for LSP in status line
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-09-02 14:45:27 +05:30
Sanchayan Maity 99a858df26 nvim: Upstream nvim-lsp repo got renamed
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-09-02 13:44:24 +05:30
Sanchayan Maity b4cdd42422 nvim: init.vim: Drop tmux-complete
This does not work anymore. Probably because we dropped python and it
also does not list a source for completion-nvim. However, we can copy
anything from tmux using tmux extracto plugin to the clipboard, so
that is also a solution.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-08-29 17:00:20 +05:30
Sanchayan Maity ac9d77f59b nvim: Re-introduce floaterm
Commit f977b8a while dropping all python dependencies also dropped
floaterm. However it has a dependency on python based neovim-remote
only if integration with git or floaterm is required from command line
which we do not. So add it back. Using the previous toggle bindings
with this gives a nice floating terminal which can be easily hidden.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-08-29 17:00:11 +05:30
Sanchayan Maity 83a6c276aa nvim: Add buffers as a completion source for completion-nvim
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-08-27 19:34:32 +05:30
Sanchayan Maity f0d863b863 nvim: init.vim: Drop support for all lisp
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-08-24 19:07:34 +05:30
Sanchayan Maity c9e61c35e7 nvim: init.vim: Add vim-wordmotion
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-07-17 11:54:00 +05:30
Sanchayan Maity f124c272c4 nvim: init.vim: Add support for word replacement while preserving case
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-07-09 20:57:04 +05:30
Sanchayan Maity eb55c80682 Revert "nvim: init.vim: Add ALE for linting"
This reverts commit 286558f5af.
2020-07-09 19:27:47 +05:30
Sanchayan Maity e4703d72f0 nvim: init.vim: Update plug links for completion & diagnostic-nvim
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-07-08 13:53:40 +05:30
Sanchayan Maity aa99ea7e0c nvim: Drop quickui
Revert 13cea58905. This does not play well with defined color scheme and
overrides it which is annoying. The VimEnter approach mentioned did not
work, so just drop it and use preview windows as earlier.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-07-07 20:54:46 +05:30
Sanchayan Maity 946a1c5592 nvim: Drop vim-markdown
This plugin results in the odd grey high lighting seen in floating
windows when using hover with nvim-lsp. See the below issue.
https://github.com/neovim/neovim/issues/12543

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-07-02 15:11:27 +05:30
Sanchayan Maity d7ad845d73 nvim: init.vim: Add vim-exchange back again
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-07-02 14:39:59 +05:30
Sanchayan Maity a2d603d61a nvim: Re-introduce git-messenger
Now that we have dropped golden-ration add git-messenger back.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-06-24 20:23:30 +05:30
Sanchayan Maity 5e4bf90f21 nvim: Drop golden-ratio
Love this plugin but it completely messes up the quickfix window. If it
did not touch the quickfix window every thing would be fine.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-06-24 20:15:25 +05:30
Sanchayan Maity 93f0fc9d3e nvim: init.vim: Add word based column text object
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-06-22 10:37:51 +05:30
Sanchayan Maity 13cea58905 nvim: Add back quickui again for floating preview windows
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-06-21 09:51:12 +05:30
Sanchayan Maity 09359cb0a0 nvim: init.vim: Drop vim-markify
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-06-20 17:33:03 +05:30
Sanchayan Maity ba8739f4d0 nvim: Drop git messenger
git messenger does not size it's floating window correctly and cursor
gets all messed up while trying to jump in the floating window with
golden-ratio mode being active. May be related to the issue
https://github.com/rhysd/git-messenger.vim/issues/38

Based on the below issue
https://github.com/tpope/vim-fugitive/issues/1387

We can already use fugitive's git blame interface for seeing the last
commit on the line.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-06-18 10:40:41 +05:30
Sanchayan Maity 434f24fb98 nvim: init.vim: Add fzf-checkout for fuzzy checking out branches
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-06-17 10:25:31 +05:30
Sanchayan Maity 8365e134d8 nvim: Drop incremental search as in-built suffices
Also use vim-searchlight for search highlighting the word under cursor.
Add custom highlight color to make the word being searched under cursor
stand out for our color schemes and better key mappings to shift through
searches in command line.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-06-17 10:25:18 +05:30
Sanchayan Maity 286558f5af nvim: init.vim: Add ALE for linting
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-06-15 11:07:27 +05:30
Sanchayan Maity c70ec871ec nvim: Use golden ratio mode
Floating window for fzf does not size up nicely when using golden-ratio
so disable that.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-06-14 12:20:06 +05:30
Sanchayan Maity 8ea80b9af7 nvim: Switch to ferret & drop our bare bones grepper
See ferret's README for the advantages.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-06-14 11:22:03 +05:30
Sanchayan Maity eb2415300e nvim: Drop jump and change list handling
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-06-04 18:02:41 +05:30
Sanchayan Maity f21ea0787b nvim: Drop nvim-gdb
nvim-gdb relies on Python and we disabled Python completely sometime
back so this has not really been functional. If we feel we require it
really for some C work we will enable Python and this package again.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-06-04 16:57:20 +05:30
Sanchayan Maity fa04744c9a nvim: Enable purescript language server
This does not perform any better than purs ide and psc-ide-vim could not
jump to definitions in other components which is the same case here.
But, at least we now need one less package and additional bindings for
psc-ide-vim.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-06-03 14:26:19 +05:30
Sanchayan Maity f0dc894593 nvim: Drop supertab
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-05-30 12:32:51 +05:30
Sanchayan Maity 4aa66a5e59 nvim: Add fzf
The only reason fzf.vim functioned till now seems to be due to the fact
that we were loading fzf.vim found in /usr/share/vim/vimfiles. Do not
rely on this and specify it in plugins.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-05-29 16:20:16 +05:30
Sanchayan Maity 19d00c7ac5 nvim: Add vim-fugitive for git back
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-05-27 20:50:06 +05:30
Sanchayan Maity c42e841e3e nvim: Switch to vim-sneak
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-05-27 15:15:32 +05:30
Sanchayan Maity a20fa4494c nvim: Update to some keymappings for git and drop gina
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-05-27 10:31:06 +05:30
Sanchayan Maity 69654597d2 nvim: Use in built LSP for rust
While at it, use wombat colorscheme for Rust.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-05-24 16:57:26 +05:30
Sanchayan Maity 77db00dcba nvim: init.vim: Drop text object plugins we do not use
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-05-24 13:43:01 +05:30