Commit graph

45 commits

Author SHA1 Message Date
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 51042d4089 nvim: plugin_settings: Drop CPP syntax highlighting options
These settings where specific to syntax plugins which we do not
use anymore and should have been dropped with af410754a4.
2020-10-08 13:08:28 +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 2f8acc928a nvim: plugin_settings: Disable smart edit for suda
See issue
https://github.com/lambdalisue/suda.vim/issues/18
2020-10-02 12:10:16 +05:30
Sanchayan Maity ff13f829e5 nvim: plugin_settings: Enable keymappings for scrolling preview window 2020-09-22 11:14:44 +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 c8fe39e73e nvim: plugin_settings: Disable default keymappings for quickr-cscope
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-09-01 11:05:33 +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 2c4f5ff052 nvim: plugin_settings: Enable floating window for fzf
Commit c70ec87 dropped floating window for fzf due to golden ratio not
playing well with it. Now that we do not use golden ratio mode anymore
enable it back.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-08-26 20:22:08 +05:30
Sanchayan Maity 8128af0f4e nvim: plugin_settings: Set up some more vimtex options
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-08-25 16:27:28 +05:30
Sanchayan Maity 1b3feefc4c nvim: Set the default tex flavour
This is required in latest releases. See :help vimtex-tex-flavor.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-08-04 17:40:56 +05:30
Sanchayan Maity 57b888e2dd nvim: plugin_settings: Drop tags as completion source for Haskell
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-07-27 18:11:00 +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 d6e3c1a611 nvim: plugin_settings: Disable diagnostic virtual text
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-07-08 15:56:43 +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 71c049dbe3 nvim: plugin_settings: Drop markify settings
Should have been dropped by commit 09359cb0a0.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-06-27 10:39:18 +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 9e8562186a nvim: plugin_settings: Fix golden ratio for floating windows
Without this setting golden ratio tries to resize floating windows which
does not work well.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-06-21 09:48:57 +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 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 f40584b6a9 nvim: Enable LSP support for Haskell
With ghcide release v0.2.0 adding multi-component support this should
work more widely now. We still can have tags, so change the key binding
for jump to definition and drop key binding K for Hoogle.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-06-03 12:35:15 +05:30
Sanchayan Maity 01de471188 nvim: plugin_settings: Disable omni completion for Haskell
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-06-01 11:22:10 +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 dc895fe1ee nvim: Refactor the nvim-lsp settings
This also helps in the key bindings now being in effect only for which
language servers has been enabled.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-05-29 11:14:00 +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 2ad7100749 nvim: Configure nvim-completion & remove conflicting LSP bindings
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-05-25 19:00:55 +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 f977b8a246 nvim: Nuke everything Python related
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-05-23 14:47:16 +05:30
Sanchayan Maity cdc8feecc8 nvim: Switch to completion-nvim and drop deoplete
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-05-23 12:36:08 +05:30
Sanchayan Maity 333576e90d nvim: Add vim-markify
Now that we have dropped Neomake add a simple plugin to add the
functionality of quickfix signs.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-05-22 17:16:52 +05:30
Sanchayan Maity bc6a097739 nvim: Miscellaneous clean up
1. Clean up the remnants of Neomake and grepper config left behind
2. Drop quickui and use a custom preview function for items in QF
window stolen from floaterm plugin's author
3. Cleanups for vim default configuration settings like wildignore

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-05-22 15:33:11 +05:30
Sanchayan Maity d73c9e483d nvim: Drop vim-buftabline and it's color scheme configuration
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-05-21 10:26:08 +05:30
Sanchayan Maity 491ffb9bee nvim: Drop vim-polyglot & miscellaneous clean up
Drop polyglot and add the necessary language support manually. While at
it disable some internal plugins and drop vim-qlist. qlist is only useful
if path is set correctly and it can search for files as indicated by the
path. Since we do not do this, it does not add any value.

Add vim-tmux-focus-events back again. As per this thread
https://github.com/tmux-plugins/vim-tmux-focus-events/issues/1

neovim shouldn't require this plugin however the observation seems that
it's required.

Gitgutter quickfix entries should be loaded in quickfix and not location
list.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-05-19 14:21:29 +05:30
Sanchayan Maity d211c2fe66 nvim: Switched to a different rainbow parentheses plugin
While at it, disable highlighting of matched parentheses.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-05-14 15:36:30 +05:30
Sanchayan Maity 495be4683f nvim: Increase the height of fzf window
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-05-11 16:57:17 +05:30
Sanchayan Maity 3c0e1088ad nvim: Drop easymotion
We use easymotion primarily for vertical motion and any motion requires
at least 3 or 4 key bindings which isn't necessarily different if we are
using relative numbers. For example, pressing <Leader>j and then
pressing another one or two keys for the vertical movement is the same
number of keys while using relative numbers. So just use relative
numbers and drop it. We also never used the word and character motions
or cross window motions.

Use f,F,t,T for horizontal line motions. Use clever-f for this, which
improves the default behaviour. For any other motion not covered by
these two, just use incsearch.

While at it, move some of the key bindings to after/plugin to have
key bindings specific to a plugin in it's own file.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-05-10 20:41:02 +05:30
Sanchayan Maity 2ef8a772e5 nvim: Switch to dirvish as directory viewer
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-05-09 17:57:40 +05:30
Sanchayan Maity f763976fbf nvim: plugin_settings: Disable syntax concealing for markdown
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-05-09 16:02:56 +05:30
Sanchayan Maity 80e2aa9341 nvim: Refactor neovim configuration
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-05-07 13:06:50 +05:30