Commit graph

1457 commits

Author SHA1 Message Date
c015684a60 nvim: Remove window splitting shortcuts
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-02-26 10:49:00 +05:30
de3295178a nvim: Remove Slimux
We haven't used Slimux much and has not been as much useful in our
work flow. Also increases the load time.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-02-26 10:39:44 +05:30
5af317e87c nvim: Prefix the fuzzy finder bindings with Leader
We want to use the standard vim f,F motions so free them up.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-02-26 10:15:22 +05:30
cae810ad02 nvim: Remove line numbers
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-02-25 13:57:42 +05:30
25f07b9b99 tmux: Update tmux-resurrect
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-02-20 21:36:41 +05:30
605eb3898e nvim: Add another search replace helper
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-02-17 19:30:24 +05:30
93690c4887 nvim: Switch to a different whitespace stripping plugin
lessspace.vim is good but activates when leaving insert mode. This seems
to create problems while using LSP in python. Exact problem being when
in insert mode and about to enter function arguments, LSP will show
function argument signature. This conflicts with lessspace trying to do
it's thing and LSP trying to do it's thing.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-02-17 15:15:27 +05:30
7738d0c621 git: Use vim-mergetool for merge conflicts
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-02-16 17:54:11 +05:30
61498e8115 nvim: Use vim-mergetool for merge conflicts
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-02-16 17:53:49 +05:30
bf1acc4991 nvim: Remove gv
vim-flog already provides better git log viewing.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-02-16 13:54:31 +05:30
7ca8c091a4 nvim: Add vim-polyglot
This allows us to remove the various different syntax plugins we had for
each language and also takes care of most other languages if we ever
need. vim-polyglot includes the plugins we were using.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-02-15 21:17:18 +05:30
16c20e3daa nvim: Switch to the molokai theme variant
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-02-15 21:07:26 +05:30
e9d699c73b nvim: Add python syntax plugin
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-02-15 13:55:38 +05:30
10ca6c009b nvim: Disable Python3 provider
vimtex seems to complain compiler callbacks won't work without setting
the vimtex compiler program name which is to be neovim-remote. However,
the reason for requiring neovim-remote is mentioned as neovim not
providing the --servername option which seems to be atleast not true
anymore. So remove that and disable the Python3 provider so that we do
not depend on any external providers going forward.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-02-14 12:57:54 +05:30
18de6cf24d nvim: Switch to vim-lsp and asyncomplete
vim-lsp seems to provide more options, seems to work better and faster
even perhaps. With the switch to vim-lsp and asyncomplete we should be
able to remove dependency on external python provider.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-02-14 12:39:22 +05:30
519262d41f nvim: Remove auto format on save for Rust
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-02-13 16:31:49 +05:30
e2fbaecbbf nvim: Disable providers we do not want to use ever
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-02-12 20:03:04 +05:30
db2c2e0441 nvim: Fix LC key bindings activation for Purescript
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-02-12 16:40:31 +05:30
ea87db710f nvim: Use Leader prefix for Neomake commands
Starting a command with 'n' resulted in a poor usage experience for
jumping to 'next' match of a search. Prefix all these commands with
Leader.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-02-10 09:23:40 +05:30
d259c571bb nvim: Set up LC bindings only if it is started
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-02-09 19:22:22 +05:30
46364f42e3 nvim: Use Purescript language server
We do not do Purescript really so just add the language server support
and remove the extra bindings for purs ide plugin, if we ever require at
work.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-02-09 19:22:14 +05:30
3bd7b6e544 nvim: Add vim-lastplace
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-02-09 18:14:52 +05:30
19f29eac28 fish: Remove google application credentials
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-02-08 16:10:12 +05:30
4e87559634 fish: Add cabal binary install location to PATH
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-02-05 13:01:13 +05:30
6c182f7301 nvim: Add dhall syntax plugin
While at it, also rearrange things a bit.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-02-04 10:25:48 +05:30
6f22f549e9 nvim: Fix remote plugin update for Semshi
A plugin requiring a run of UpdateRemotePlugins does not work if it is
only setup to load with the specific file type.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-02-03 09:45:49 +05:30
a8a3c1bb43 nvim: Switch to moonfly theme
The dark black background of moonfly theme I like. So switch. Rest
seems the same as nightfly.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-02-03 09:42:48 +05:30
cdee23a6b7 nvim: Switch to using nightfly theme
This theme has some better styled colors for Haskell and though
increases the load times in vim slightly seems better to use.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-31 09:05:15 +05:30
d4815d0fbf nvim: Enable relative numbering
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-29 19:13:46 +05:30
7d4f8818c9 nvim: Update bindings for GitGutter
Using u prefix bindings was resulting in delay for 'undo'.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-28 19:13:18 +05:30
293077d749 nvim: Upgrade vim-plug
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-27 21:00:42 +05:30
a45c59d69c nvim: Add some Haskell niceties
Some niceties taken from
http://silly-bytes.blogspot.com/2016/08/vim-haskell_11.html

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-27 20:59:02 +05:30
14010c552e nvim: Fix conflicting bindings in LC
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-27 18:47:23 +05:30
a5792a3f3a nvim: Use a custom stack compiler for Haskell
Neovim has a "stack" compiler file but this does not seem to work,
at least not in the shitty monorepo I am working on. Someone provided a
solution on Reddit which uses a custom compiler file and has been
modified to work on modules. Which is also perhaps why it doesn't work
in the monorepo project at work.

https://www.reddit.com/r/neovim/comments/es8wn7/haskell_makeprg_for_stack_build/
https://github.com/maxigit/vimrc/tree/2020/compiler

Use them and tie it up with Neomake! change.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-27 09:30:19 +05:30
f7d7f6a328 nvim: Add racket plugin
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-26 18:40:03 +05:30
a4782833f4 Revert "nvim: Revert back to use of ESC key"
This reverts commit 957b588f15.
2020-01-25 09:00:20 +05:30
18292749c1 nvim: Use local leader as key prefix for LC bindings
Using 'l' sometimes lead to false trigger as we also use it as our
primary 'Right' movement key.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-24 15:25:09 +05:30
b111ac8298 tmux: Update tmux plugins
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-23 11:39:36 +05:30
957b588f15 nvim: Revert back to use of ESC key
Now that we use a 60% tenkeyless mechanical keyboard it is easier to
reach the ESC key and use it. Also it seems sometimes hitting jk pretty
fast to escape does not work so easily on the mechanical keyboard.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-22 22:20:40 +05:30
452e24ede4 nvim: Add Slimux
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-22 22:14:04 +05:30
298cc6242e nvim: Update Tabularize mappings
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-21 21:27:59 +05:30
dd6334984a nvim: Remove conflicting binding with LC
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-20 21:31:06 +05:30
d250fc507e nvim: Remove conflicting Tabularize mapping reported by checkhealth
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-19 20:08:13 +05:30
f1ba148d9d nvim: Add a LC key binding & remove a conflicting one
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-19 20:05:52 +05:30
4a18370609 nvim: Put window resize in autocmd group
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-19 19:48:28 +05:30
c3bda249af nvim: Add Neomake shortcut for firing stack build
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-19 19:08:47 +05:30
f82abc12a3 nvim: Remove deoplete plugin for Rust and Python
Now that we rely on Language Client, we do not need deoplete specific
completion plugins for Python or Rust.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-18 18:12:10 +05:30
a42da14022 nvim: Add support for Vista
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-18 17:57:39 +05:30
a18da66dc4 nvim: Use hasktags instead of fast-tags
hasktags seems to better as it seems to be recognized by tools like
Vista and gives a proper 'Tagbar' structure for tags.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-18 17:55:20 +05:30
ffb2b5288e nvim: Add shortcuts for enabling & disabling Neomake
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-18 15:32:55 +05:30