Sanchayan Maity
a25d54afee
nvim: Update packer
2020-11-21 11:04:30 +05:30
Sanchayan Maity
a4ef81590a
nvim: Update packer
2020-11-20 18:28:12 +05:30
Sanchayan Maity
77514eaea0
nvim: Fix loading of git messenger
...
Relying on lazy loading on command invocation feature seems to not make the
default key bindings of the plugin take effect. Remove it.
2020-11-17 18:36:45 +05:30
Sanchayan Maity
7bb5343314
nvim: lua: modules: gitsigns: Add preview hunk feature now available upstream
2020-11-17 18:19:34 +05:30
Sanchayan Maity
432cb2c98f
nvim: after: ftplugin: txt: Set textwidth to 78
2020-11-17 10:45:51 +05:30
Sanchayan Maity
974c399bea
nvim: nvim lsp lua module name has changed upstream
2020-11-15 22:39:01 +05:30
Sanchayan Maity
e421b24e16
nvim: Update packer
2020-11-14 19:12:16 +05:30
Sanchayan Maity
be594ae121
nvim: Use nvim_command for disabling back ups and swap
...
Using the vim.o API seems to have no effect for these three options. Set
them via the 'nvim_command' API.
2020-11-11 19:43:18 +05:30
Sanchayan Maity
ee6af66c8a
nvim: Do not rely on plugins.vim to load plugins
...
We do not really need to rely on a plugins file in 'plugin' to load the
packages using 'execute luafile'. Just do a 'require plugins' in init.lua.
2020-11-10 21:06:15 +05:30
Sanchayan Maity
07739669c5
nvim: modules: gitsigns: Update key map as per upstream changes
2020-11-10 15:47:09 +05:30
Sanchayan Maity
6b36e648d9
nvim: after: ftplugin: C: Do not enable folds
2020-11-06 12:28:17 +05:30
Sanchayan Maity
acb5bfcf05
nvim: ftplugin: C: Update tag generation command
...
For correct preview with FZFTags, this is needed to help locate the line
position of the tag.
2020-11-05 19:17:54 +05:30
Sanchayan Maity
7bc8295486
nvim: Clean up commands for searching word under cursor
2020-11-05 18:58:37 +05:30
Sanchayan Maity
801f9725b4
nvim: Add easy-align
2020-11-05 11:39:57 +05:30
Sanchayan Maity
7887a04d62
Revert "nvim: lua: plugins: Remove post install hook for fzf"
...
This reverts commit aba40d88df
and also
fixes the post install hook command.
Original issue:
https://github.com/wbthomason/packer.nvim/issues/83
Fixed by:
6f9efb232a
2020-11-05 11:39:28 +05:30
Sanchayan Maity
81acdab631
nvim: Update packer
2020-11-05 11:17:53 +05:30
Sanchayan Maity
aba40d88df
nvim: lua: plugins: Remove post install hook for fzf
...
The post install hook does not work in packer currently and has no
effect. Remove it.
2020-11-03 12:25:13 +05:30
Sanchayan Maity
78b781b1c8
nvim: Update packer
2020-11-03 12:00:54 +05:30
Sanchayan Maity
4bc376433b
nvim: Drop gitjump
...
We can move between conflict markers using functionality from the
conflict markers plugin and we also have gina. If required just
introduce the command mapping later.
2020-11-02 14:00:30 +05:30
Sanchayan Maity
2c5c6b7c1a
nvim: Drop tabular
2020-10-30 16:37:06 +05:30
Sanchayan Maity
3691d67298
nvim: Use galaxyline for statusline
2020-10-30 14:28:14 +05:30
Sanchayan Maity
d923915c22
Revert "colors: yolokai: Update highlight setting for sneak"
...
This reverts commit cb18514efc
.
The previous colors were better.
2020-10-30 14:28:14 +05:30
Sanchayan Maity
cbd37c1856
nvim: Move to packer
2020-10-29 21:06:46 +05:30
Sanchayan Maity
21167993bf
nvim: Use gitsigns
...
Currently there is an observable bug where this doesn't play well with
gina buffers. Perhaps it should be disabled for any gina buffers or
something similar.
2020-10-28 11:11:46 +05:30
Sanchayan Maity
d0687b7f1a
nvim: Drop vim-signify
...
The undo hunk feature is complete garbage at the moment. Also it seems
whenever we have changes and thus signs in gutter, sometimes there is
an observable sluggishness.
2020-10-27 21:28:46 +05:30
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
a382ca376a
nvim: lua: plugins: Fix paq cleaning itself
...
Since PaqClean cleans up anything in packages directory that are not in
configuration, including itself, it is necessary to include paq itself
in the packages list.
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
8c69639144
nvim: lsp: Drop purescript language server
2020-10-23 13:34:31 +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
d5078268d0
nvim: Upgrade vim-plug
2020-10-21 11:20:43 +05:30
Sanchayan Maity
cb18514efc
colors: yolokai: Update highlight setting for sneak
2020-10-20 13:09:19 +05:30
Sanchayan Maity
6bffe738c9
after: ftplugin: Set textwidth & wrapmargin to 0 for meson & configure files
2020-10-20 13:08:39 +05:30
Sanchayan Maity
b96f253235
yolokai: Sync with some changes in upstream nvim-highlite
2020-10-18 19:19:54 +05:30
Sanchayan Maity
18b93f32d7
nvim: Refactor and update settings for completion-nvim
...
Use of trigger keys has been updated upstream. Also disable auto
completion.
2020-10-13 19:46:43 +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
3e49faa46d
nvim: keymappings: Drop enhanced ijump helper
...
This actually crashes in some situations. Drop this.
2020-10-08 14:48:06 +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
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
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
87ebb6c160
nvim: keymappings: Add key mapping for closing tab page
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
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
b092402711
nvim: config: Enable histogram based diffs
2020-09-26 10:48:00 +05:30
Sanchayan Maity
ad4d92f619
nvim: Upgrade vim plug
2020-09-26 10:48:00 +05:30
Sanchayan Maity
682c735651
nvim: after: ftplugin: Clean up Haskell
2020-09-24 17:00:06 +05:30
Sanchayan Maity
3bc32b2e34
nvim: after: ftplugin: Drop rust
...
We dropped neomake long back and this should have been dropped with
467a660409
.
2020-09-24 16:55:56 +05:30
Sanchayan Maity
7e575f9ca4
nvim: after: ftplugin: Drop CPP
...
The settings done in this file where specific to syntax plugins which we
do not use anymore and should have been dropped with af410754a4
.
2020-09-24 16:53:04 +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
78447af8df
nvim: after: ftplugin: C: Set makeprg to ninja
...
For C, we now work on pulseaudio, gstreamer and pipewire projects which
all use meson and ninja, so set makeprg to ninja build command.
2020-09-22 12:58:36 +05:30
Sanchayan Maity
ff13f829e5
nvim: plugin_settings: Enable keymappings for scrolling preview window
2020-09-22 11:14:44 +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
ded93ed2fe
nvim: HLS is now supported in nvim-lspconfig
...
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-09-16 13:03:41 +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
9358922742
nvim: keymappings: Add key mapping for reloading buffer
...
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-09-11 20:20:33 +05:30
Sanchayan Maity
bfd2e9bd62
nvim: Update syntax highlighting for nvim-treesitter
...
All the added highlight groups in this commit are not defined upstream
in nvim-highlite. We may change this later.
While at it, remove all 'link' usages.
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-09-10 20:59:26 +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
b006265b14
nvim: Sync with changes to nvim-highlite upstream
...
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-09-07 12:13:33 +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
27d4b8d326
nvim: Update git key bindings
...
fzf checkout plugin introduced some new functionality. Taking advantage
of that update existing and introduce some new key bindings.
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-09-02 11:21:53 +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
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
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
a3e7f17fa7
nvim: lua: lsp: Add key binding for LSP code action
...
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-08-26 12:37:31 +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
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
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
5b4ed5f9c6
nvim: Sync with changes to nvim-highlite upstream
...
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-07-29 13:24:20 +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
8e1bea3144
nvim: keymappings: Drop sudo write mapping
...
This really does not work. Use sudoedit.
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-07-27 11:35:29 +05:30
Sanchayan Maity
c134bd4326
nvim: after: plugin: fzf: Add key mapping for recently accessed buffers
...
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-07-22 14:49:27 +05:30
Sanchayan Maity
e097977213
nvim: Upgrade vim-plug
...
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-07-21 18:17:07 +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
0abeb9d927
nvim: Refactor out asyncdo & completion keymappings
...
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-07-14 19:15:14 +05:30
Sanchayan Maity
94d5c03fd7
nvim: config: Do not highlight the column any more
...
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-07-14 19:15:07 +05:30
Sanchayan Maity
540a83df81
nvim: keymappings: Update bindings for search and replace
...
Do this to avoid slowing sneak and ferret a little bit due to 's'
conflict.
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-07-13 11:19:38 +05:30
Sanchayan Maity
9fe8808e7e
nvim: ftplugin: haskell: Assume hasktags & hlint are available in path
...
We assume these are installed via nix and available globally. hasktags
and haskdogs do not build with stack on ghc8.8 and hence this switch.
With nix, haskdogs gives an issue due to locale like is also observed
when stack is installed via nix. codex does not seem to generate tags
which work.
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-07-11 13:12:39 +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
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
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
8b9e46b8b8
nvim: Switch to using a color scheme template engine
...
Use this color scheme template to have a proper custom monokai color
scheme variant.
https://github.com/Iron-E/nvim-highlite
We will call it yolokai. YOLO monokai. While at it, drop all earlier
ones.
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-07-07 16:34:51 +05:30
Sanchayan Maity
402d7e0c30
nvim: Use built in highlight yank text feature
...
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-07-02 15:38:23 +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
12009297a8
nvim: Upgrade vim-plug
...
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-06-30 20:51:49 +05:30
Sanchayan Maity
8a77b34ddd
nvimL keymappings: Update chain completion mappings
...
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-06-30 17:22:51 +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
a649021325
nvim: Move key mappings for fzf & gitgutter to after/plugin
...
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-06-26 19:30:15 +05:30
Sanchayan Maity
0c8f59bcec
nvim: colors: wombat: Fix colors name
...
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-06-25 13:57:28 +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