Commit graph

823 commits

Author SHA1 Message Date
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
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
e696cbfde3 nvim: Add LSP support
Though we had removed this earlier bring it back. It saves the hassle of
having different plugin, packages or bindings for different languages.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-18 15:02:28 +05:30
adc85a9f34 nvim: Use ; for commands in visual mode as well
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-16 15:59:30 +05:30
26bb3388d0 nvim: Let jedi show call signatures in command line
Call signatures being shown as pop up in buffer just are too intrusive
and mess things up.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-16 09:28:21 +05:30
57ddf41dfd nvim: Invoke neomake only after writing a file
It becomes extremely annoying if neomake keeps getting invoked even
before we have finished writing some sensible code and then saved the
file. So let neomake be invoked automatically only when we save a file.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-15 12:57:23 +05:30
5497c1b1b6 nvim: Switch to QF for cscope
While we have gone back and forth between quickfix and fzf for cscope,
it makes sense for cscope results to be loaded in quickfix window.
Results loaded in fzf window will disappear once selected since that's
how fuzzy finding is used but we do not want to have that behaviour with
results of tools like cscope. Also use a plugin this time instead of
having our own function. The plugin also provides the added advantage of
jumping to a global definition instead of even opening that in a window.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-15 09:46:56 +05:30
17da7b62ec nvim: Disallow docstring window to popup during completion
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-14 20:58:15 +05:30
939486ef54 nvim: Add diffconflicts plugin
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-13 19:26:04 +05:30
58f66d6d62 nvim: Update some FZF bindings
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-13 15:16:33 +05:30
04f63d2a19 nvim: Add FZF MRU plugin
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-13 14:30:48 +05:30
495e537e08 nvim: Cleanup & remove things we do not need
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-11 21:05:54 +05:30
617138019d nvim: Minor rearrangement
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-08 17:31:18 +05:30
27f165d8c3 nvim: Add pandoc support
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-07 09:02:43 +05:30
a3777e9d45 nvim: Miscellaneous cleanups & improvements
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-06 19:39:10 +05:30
ef32c9c6d9 nvim: Fix colors in terminal
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-06 19:12:24 +05:30
d8778f264b nvim: Update vim-plug
While at it, ignore old plug file artifact.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-06 16:01:19 +05:30
aef4a3c885 nvim: Use floating window for cscope fzf output
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-06 15:58:22 +05:30
e951bb849f nvim: init.vim: Setup ghcid/hoogle based on environment
We may be running in a nix environment or without stack supported
project. Check this and setup the environment variable for ghcid and
hoogle plugin accordingly.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-01 12:18:30 +05:30
e2c94e87d6 nvim: init.vim: Use of K conflicts with document access
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-01 12:15:55 +05:30
7200bbece7 Switch to using stow for dotfiles management
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-31 14:18:38 +05:30
d113ff9d6b nvim: init.vim: Remove netrw settings
vinegar seems to behave weirdly if these settings are in place. For
example, each invocation of '-' results in a new netrw window and it
persists unless explicitly closed.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-31 12:13:40 +05:30
a42cc7bba7 nvim: init.vim: Use custom bindings for smoothie
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-30 20:22:28 +05:30
05a281029f nvim: init.vim: Remove unimpaired
unimpaired plugin adds more than 15ms of load time and sometimes 20+ms
have also been seen. Not worth it. Just steal or modify some of the
bindings we care about.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-30 19:46:15 +05:30
e727452726 nvim: init.vim: Fix binding for save
w is for word motion. Do not use it without leader.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-30 19:15:26 +05:30
83b5ba6487 nvim: init.vim: Remove fzf installation
Now that we do not need to take care of shitty ubuntu, remove fzf
install. On ubuntu, having a system installed fzf seemed to not work
with the fzf plugin.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-30 18:04:08 +05:30
8fcb0af80c nvim: init.vim: Reintroduce vim-vinegar
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-30 17:29:20 +05:30
4a640413a7 nvim: init.vim: Minor cleanup
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-30 17:07:11 +05:30
fd9df06b50 nvim: init.vim: Remove some more leader usage
Follow in the foot steps of commit 4ebc8f3 and remove some more usage of
leader key.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-30 16:45:21 +05:30
037496f1e7 nvim: init.vim: Update some purescript related stuff
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-30 16:31:52 +05:30
4ebc8f3788 nvim: init.vim: Use vim-unimpaired & improve bindings
unimpaired provides some helpful bindings so use that. Remove redundant
bindings like the ones for quickfix & location list due to use of
unimpaired. It also provides consistent bindings across the board.

While at it, reduce the use of leader key. The idea behind using leader
key everywhere was taken since we migrated from spacemacs, However, for
non-conflicting bindings it's better to have a hit as few keys as
possible, so remove leader from few of the earlier bindings.

To see list of all mappings, use '9verbose nmap <key>'.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-30 16:29:11 +05:30
df07def242 nvim: init.vim: Remove gdefault
It's also deprecated and not recommended to use.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-30 12:05:31 +05:30
1259c43e4d nvim: init.vim: Add awk-ward plugin
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-29 15:55:04 +05:30
495aa26e7f nvim: init.vim: Setup deoplete completion for Purescript
Also allow auto imports from PSC IDE.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-28 13:36:00 +05:30
df3b9f5b0b nvim: init.vim: Cleanup indentation defaults autocmd group
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-28 11:29:08 +05:30
13d5041a8a nvim: init.vim: Fix & update purescript key bindings
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-28 11:28:26 +05:30
fb96c1af6c nvim: init.vim: Use local leader for Haskell & C maps 2019-12-24 13:57:05 +05:30
ca4b9f57f6 nvim: init.vim: Switch from comfortable motion to smoothie 2019-12-24 08:50:36 +05:30
2ea68f3b4f nvim: init.vim: Add helpers for tabular 2019-12-24 08:44:27 +05:30
bc587c5991 nvim: init.vim: Update miscellaneous plugins
Couldn't really figure out how to use vim easy align, so just chuck it.
Add tabular & indentline.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-23 22:32:42 +05:30
5486336845 nvim: init.vim: Remove scheme plugin maps
We have SLIMV now and not the earlier scheme plugin.
2019-12-23 15:10:16 +05:30
0fd5af5978 nvim: init.vim: Remove leftover hardtime configuration 2019-12-23 15:06:28 +05:30
fcb1ea960e nvim: init.vim: Update bindings
Try to use same bindings for common operations like jump to definition
and other code navigation operations across languages.
2019-12-23 11:24:43 +05:30
bdf2f541b5 nvim: init.vim: Set keyword for Haskell filetypes to hoogle 2019-12-23 10:48:42 +05:30
4f0b45ac96 nvim: init.vim: Update textwidth settings globally & gitcommit
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-21 20:24:16 +05:30
0b9e52ffe4 nvim: init.vim: Switch to vim-commentary
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-21 12:30:44 +05:30
e66a137b4f nvim: init.vim: Use SLIMV
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-15 16:14:53 +05:30
c80bb00a55 nvim: init.vim: Revert back to using cscope with fzf
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-12 19:41:53 +05:30
77f5543f45 nvim: init.vim: Remove hard time
For code browsing j & k keys are required. Using Ctrl-d/e
combination to scroll becomes unwieldy.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-12 18:28:31 +05:30
13af45b091 nvim: init.vim: Set inccommand 2019-12-12 09:52:35 +05:30
350a66948d nvim: init.vim: Add neoformat
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-11 22:03:32 +05:30
7480ddff24 nvim: init.vim: Add default netrw settings 2019-12-11 09:08:52 +05:30
7fa8b136eb nvim: init.vim: Remove vim-vinegar
For some reason, vinegar bindings are not working. And there is no
point in debugging this.
2019-12-11 09:08:38 +05:30
4c4517c71f nvim: init.vim: Fix Neomake for C
Taken from
https://github.com/neomake/neomake/issues/1027

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-10 21:53:25 +05:30
9dfacd2c7b nvim: init.vim: Add Purescript support 2019-12-10 15:38:30 +05:30
58e5137876 nvim: init.vim: Add jedi-vim
Show Pydocs feature in deoplete jedi does not seem to consider
the complete word. For example, os.path.splitext placing cursor
on splitext seems to give an error. Same works in jedi-vim. Do
not use completions from jedi-vim though.
2019-12-10 12:29:13 +05:30
e08b4113f0 nvim: init.vim: More easymotion settings
With easymotion makes quick-scope is not required.
2019-12-10 10:52:04 +05:30
d832758501 nvim: init.vim: Add easy align plugin 2019-12-10 08:51:12 +05:30
fe96f3ae1a nvim: init.vim: Update key bindings 2019-12-10 08:45:33 +05:30
4de4c74d5b nvim: init.vim: Spell lang seems to give error
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-09 19:16:59 +05:30
e86154f9e1 nvim: init.vim: Add missing shortcut for Rg
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-09 18:49:11 +05:30
2a5e0f8a73 nvim: init.vim: Add vim-hardtime
Time to improve our vim chops.
2019-12-09 14:45:37 +05:30
2ffb605c11 nvim: init.vim: Add targets plugin 2019-12-09 09:46:29 +05:30
a797230085 nvim: init.vim: Add fzf plugin explicitly
Without this, it seems to not work on Ubuntu even with latest
neovim and pynvim. On Manjaro, this was not a problem.
2019-12-09 09:17:30 +05:30
c9715c9b69 nvim: init.vim: Remove vim-agriculture
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-08 19:28:19 +05:30
1885132796 nvim: init.vim: Add ultisnips
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-08 17:51:33 +05:30
0527052815 nvim: init.vim: Cleanup autocmd groups
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-08 12:24:17 +05:30
51d0f409b6 nvim: init.vim: Add localleader for which-key
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-07 17:22:34 +05:30
01470159ef nvim: init.vim: Use floating window for FZF
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-07 15:14:39 +05:30
f98349ed99 nvim: init.vim: Add org mode
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-07 15:08:10 +05:30
ec669640a9 nvim: init.vim: Add some more key bindings
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-06 22:21:52 +05:30
5984a6d528 nvim: init.vim: Switch back to fzf
Since fzf comes installed by default on Manjaro i3 and we
need some fuzzy finder on command line anyways switch to
it. The additional helpers around fzf cannot be ignored.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-06 21:05:31 +05:30
6a445e6685 nvim: init.vim: Update deoplete options 2019-12-06 14:05:03 +05:30
bbecfe66ca nvim: init.vim: Add better syntax highlighting options for C & CPP 2019-12-06 10:31:46 +05:30
Sanchayan Maity
a0ab5d020b Revert "nvim: init.vim: Switch to pencil colorscheme"
This reverts commit e5a3fee955.
2019-12-06 09:20:09 +05:30
e5a3fee955 nvim: init.vim: Switch to pencil colorscheme 2019-12-06 08:56:27 +05:30
c17cc61f6f nvim: init.vim: Set background
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-05 22:19:30 +05:30
3250980b83 nvim: init.vim: Add auto pairs & incsearch 2019-12-05 15:07:11 +05:30
3036a0300a nvim: init.vim: Group key bindings as per filetype 2019-12-05 14:25:46 +05:30
47739fc256 nvim: init.vim: Miscellaneous additions & improvements 2019-12-05 13:57:06 +05:30
edc425c029 nvim: init.vim: Remove merginal 2019-12-05 12:25:05 +05:30
4549f10038 nvim: init.vim: Add more gitgutter settings 2019-12-05 11:04:23 +05:30
51470fbcf6 nvim: init.vim: Add vim which key 2019-12-05 10:42:09 +05:30
d1264962a9 nvim: init.vim: Remove gutentags
We will just fire a tag generation command ourselves with Neomake.
No need for gutentags. It isn't smart anyways to work for multiple
languages and doesn't work on repos like gst-build.
2019-12-04 14:15:27 +05:30
236048fb2f nvim: init.vim: Group the configurations 2019-12-04 12:38:00 +05:30
a2e5730165 nvim: init.vim: Switch to LeaderF
Ditch our plans to have vimscript only plugins. This seems to provide
much more functionality than clap & we are dependent on pynvim anyways
because we are gonna keep using deoplete.
2019-12-04 12:20:57 +05:30
6ca10e38b2 nvim: init.vim: Let terminal job id be echoed to status line 2019-12-04 11:19:18 +05:30
e03e64dd56 nvim: init.vim: Add shortcut for Merginal 2019-12-04 10:45:21 +05:30
ec14943f55 nvim: init.vim: Add vim-slime 2019-12-04 10:42:45 +05:30
fc225d7dd8 nvim: init.vim: Minor updates to airline 2019-12-04 07:59:57 +05:30
83d381942f nvim: init.vim: Remove twiggy & switch to merginal
Twiggy does not seem to work with fish shell. See the below
issue and considering that it has been open since more than
a year does not look likely to be solved.
https://github.com/sodapopcan/vim-twiggy/issues/7

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-03 21:25:11 +05:30
89d199f2b7 nvim: init.vim: Miscellaneous fixes
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-03 18:12:36 +05:30
a3501508ba nvim: init.vim: Improve startup time
https://github.com/hyiltiz/vim-plugins-profile
Use vim-plug lazy loading functionality to decrease start time.
erlang tags plugin seems to have been the major culprit.

Before:
python3 vim-plugins-profile.py -p nvim
Running nvim to generate startup logs... done.
Loading and processing logs... done.
Plugin directory: /home/sanchayan/.config/nvim/plugged
=====================================
Top 10 plugins slowing nvim's startup
=====================================
1        54.910   vim-erlang-tags
2         5.667   vim-sexp
3         4.000   vim-airline
4         3.672   vim-easymotion
5         3.433   nerdcommenter
6         2.914   neomake
7         1.884   vim-monokai
8         1.448   vim-gitgutter
9         0.968   vimtex
10        0.896   vim-fugitive
=====================================
Plotting result... done.

After:
python3 vim-plugins-profile.py -p nvim
Running nvim to generate startup logs... done.
Loading and processing logs... done.
Plugin directory: /home/sanchayan/.config/nvim/plugged
=====================================
Top 10 plugins slowing nvim's startup
=====================================
1         4.697   vim-airline
2         3.705   vim-easymotion
3         3.354   nerdcommenter
4         3.101   neomake
5         1.892   vim-monokai
6         1.599   vim-gitgutter
7         0.909   vim-fugitive
8         0.869   vimtex
9         0.630   supertab
10        0.491   deoplete.nvim
=====================================
Plotting result... done.
2019-12-03 15:00:29 +05:30
Sanchayan Maity
ff65606652 nvim: init.vim: Man page support is included by default in neovim
Signed-off-by: Sanchayan Maity <sanchayan.maity@harman.com>
2019-12-03 14:10:29 +05:30
ad991c0b12 nvim: init.vim: Add shortcut for generating tags in Haskell project 2019-12-03 11:29:52 +05:30
b9e7a26560 nvim: init.vim: Enable vim-togglelist
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-02 22:12:00 +05:30
0a9b5e78ca nvim: init.vim: Reintroduce QFGrep for cscope
Commit 6a26c59f removed Quickfix + QFGrep enhancement for
cscope since we wanted to use fzf and later skim. However,
since we now want to have as much as possible only pure
vimscript dependencies, reintroduce this so we need not
depend on fzf or any external fuzzy search tool anymore
with our recent usage of vim-clap.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-02 19:54:02 +05:30
b3ac08c56f nvim: init.vim: Do not load sessions while explicitly loading a file
Also remove spell lang for git commits as it seems to complain
about them.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-02 18:03:32 +05:30
960af2006a nvim: init.vim: Remove rooter
Rooter seems to effect the cscope & fzf integration.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-02 16:52:53 +05:30
9dd0ad4e87 nvim: init.vim: Switch to vim-clap
vim-clap seems to be much nicer and has better integration
with the floating window feature of neovim.

Use fzf again since we need cscope integration. Eventually
we would like to have a cscope provider for clap. Also fzf
seems to be installed by default on Manjaro i3.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-02 16:52:42 +05:30
7db7083a37 nvim: init.vim: Miscellaneous improvements
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-02 11:25:12 +05:30
adb1e875f2 nvim: init.vim: Remove rust-doc as it does not help
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-02 08:48:04 +05:30
09bf6ef4c4 nvim: init.vim: Add rustdoc and format on autosave
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-01 22:00:38 +05:30
1e5b19d740 nvim: init.vim: Miscellaneous cleanups
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-01 21:31:18 +05:30
bdae1542b0 nvim: init.vim: Modify key bindings as recommended by plugin docs
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-11-27 19:31:03 +05:30
92c9516ab4 nvim: init.vim: Remove vim swoop
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-11-27 16:32:39 +05:30
6fbc3fae0f nvim: init.vim: Add comfortable motion
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-11-27 13:03:51 +05:30
754f80a43e nvim: init.vim: Miscellaneous improvements
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-11-27 12:58:41 +05:30
9e7dcba80a nvim: init.vim: Autoresize window
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-11-26 19:53:18 +05:30
b304adcfdd nvim: init.vim: menuone is not we need in completeopt
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-11-25 21:46:54 +05:30
e9941f935a nvim: init.vim: Switch to vim-workspace
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-11-25 21:45:20 +05:30
0c607cf1ce nvim: init.vim: Update format options
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-11-25 21:04:56 +05:30
c5af132ec6 nvim: init.vim: Open fuzzy search results in floating window
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-11-25 15:38:36 +05:30
1f28479f98 nvim: init.vim: Fix tabbing in deoplete
Use supertab to fix tabbing in deoplete which is backward
and change completeopt.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-11-25 15:38:00 +05:30
9836b05e6a nvim: init.vim: Add deoplete-tag for tag based completions
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-11-25 14:20:08 +05:30
9bf38af00a nvim: init.vim: Add better syntax highlighter for Python
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-11-24 21:06:04 +05:30
64db0550c1 nvim: init.vim: Miscellaneous settings
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-11-24 18:59:44 +05:30
cc0e78bf1f Change escape key binding for escaping from terminal
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-11-23 20:50:03 +05:30
aa8e6dfd18 nvim: init.vim: Disable escape in command mode as well
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-11-22 17:17:34 +05:30
99149dbe36 nvim: init.vim: Add quickfix reflector 2019-11-20 15:24:19 +05:30
5ab23c2bdd nvim: init.vim: Remap escape keys 2019-11-20 11:44:47 +05:30
dfecf742a7 nvim: init.vim: Increase hoogle search count
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-11-19 20:38:00 +05:30
aa23738970 nvim: init.vim: Add some more nerdtree shortcuts 2019-11-19 10:48:40 +05:30
a32d244694 nvim: init.vim: Remove redundant cscopemaps 2019-11-18 13:54:30 +05:30
d8faed50e3 nvim: init.vim: Switch to skim from fzf 2019-11-18 12:25:56 +05:30
87db61b102 nvim: init.vim: Add shortcuts for splits 2019-11-18 11:13:27 +05:30
d2c059bb40 nvim: init.vim: Disable ex mode and swap & backup files 2019-11-18 10:45:12 +05:30
f4f9cfe0e6 Remove buffergator & use buffer numbers
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-11-16 20:36:31 +05:30
135b3ec154 nvim: init.vim: Do not trigger neomake on BufWinEnter
Triggering neomake on BufWinEnter auto command becomes a
problem if the make program does not exist. In Haskell, if
for a project hlint is not installed using stack, opening
the editor stalls.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-11-16 20:00:48 +05:30
e35e64bb05 nvim: init.vim: Miscellaneous key bindings and package updates 2019-11-05 11:48:13 +05:30
b950eb70da nvim: init.vim: Enable vim-crates plugin
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-11-04 19:45:41 +05:30
fb0671128e nvim: init.vim: Add Hoogle & Hspec support
While at it also goodie shortcuts for Ghcid and hoogle.
2019-11-04 11:29:31 +05:30
3bdc90b523 nvim: init.vim: Enable ghcid
When we enabled ghcid before it did not work as we did not
set the command which it should use for starting ghcid. Fixed
now and it is working awesome!!!
2019-11-04 10:12:38 +05:30
8dad0c1949 nvim: init.vim: Key bindings for all fzf niceties
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-11-03 19:54:53 +05:30
6fb728b503 Revert "nvim: init.vim: Use neovim-ghci"
This reverts commit 07dffc32f4.
2019-11-02 21:02:06 +05:30
07dffc32f4 nvim: init.vim: Use neovim-ghci
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-11-01 22:47:33 +05:30
83469d1496 nvim: init.vim: Switch to Edward Kmett's version
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-11-01 22:21:35 +05:30
bd107791a1 nvim: init.vim: Remove Intero
Intero can't even do jump to definition or reliably tell
me the types. Nuke it.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-11-01 22:18:05 +05:30
0dd3456d66 Add shortcuts for Neomake
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-11-01 15:28:46 +05:30
21ba6a5c2b nvim: init.vim: Integrate cscope & fzf
Since we can load results of cscope in fzf we no longer
need quickfix & cscope integration.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-10-30 22:42:33 +05:30
be6d4aeaec nvim: init.vim: Additional plugins & updates
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-10-30 19:42:51 +05:30
cc6bb13a55 nvim: init.vim: Add shortcuts for cscope update & reinit
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-10-30 19:21:00 +05:30
75a8f884c0 nvim: init.vim: Add shortcuts for Plug commands
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-10-30 17:36:15 +05:30
6a26c59f1f nvim: init.vim: Improve CScope with Quickfix and QFGrep 2019-10-30 14:59:21 +05:30
494e99fcbd nvim: init.vim: Add shortcuts for Quickfix and location 2019-10-30 14:23:15 +05:30
d7f085ae49 nvim: init.vim: Add key bindings for frequently used cmds 2019-10-30 13:26:55 +05:30
e773cb8ce9 nvim: init.vim: Enable spell check 2019-10-30 10:14:51 +05:30
2ea11a9dbd nvim: init.vim: Remove parinfer & add rainbow parentheses
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-10-29 11:45:54 +05:30
c6a4da0c31 Add vim-flog
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-10-28 13:38:01 +05:30
689514e93b nvim: init.vim: Update intero parameters
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-10-25 19:50:13 +05:30
b8bf6ac33a nvim: init.vim: Update gutentags ctags extra args
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-10-25 11:53:54 +05:30
8da8cfb584 nvim: init.vim: Remove Racket
Adding this package is giving RacketDetectHashLang function
already exists error.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-10-25 10:56:50 +05:30
dffa59022c nvim: init.vim: Enable clang format
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-10-25 10:48:49 +05:30
d92b5c7041 nvim: init.vim: Use GHCi backend for Intero
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-10-25 09:44:54 +05:30
a68283c2de nvim: init.vim: Remove LSP
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-10-25 08:33:42 +05:30
dc3e702d6c Update neovim config
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-10-24 21:51:54 +05:30
490d7acff8 Remove go crap
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-10-06 13:38:33 +05:30
177905c5ad Add support for Scheme
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-10-06 01:55:28 +05:30
c67b0de357 nvim: init.vim: Change tags cache directory
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-09-30 22:16:54 +05:30
132fc8dbf8 nvim: init.vim: Add man page & quick scope 2019-09-25 14:43:58 +05:30
dcd38e5b2d nvim: init.vim: Update & cleanup neovim config 2019-09-25 09:04:51 +05:30
2ad25de443 nvim: init.vim: Improve deoplete bindings
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-09-24 20:45:37 +05:30
324fcdd113 Unify clipboard
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-09-18 21:40:33 +05:30
ba8f4776be nvim: init.vim: Add support for automatic hover
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-09-09 22:13:27 +05:30
687804162c Allow ctags
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-09-03 01:28:11 +05:30
4cbf6441c0 nvim: init.vim: Add support for Clojure, Erlang & go
LSP support for go seems to work. Clojure has not been
tested. Erlang should be fine though untested.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-08-28 23:53:21 +05:30
6eda783c78 nvim: init.vim: Remove echodoc
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-08-28 22:17:57 +05:30
547a106db3 Revert "nvim: init.vim: Add Scala LSP support using metals"
This reverts commit 38fd4dbec1.
2019-08-27 19:37:26 +05:30
42258702f4 nvim: init.vim: Fix the home source directory
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-08-16 18:32:55 +05:30
25386fbc52 nvim: init.vim: Enable colors for terminal
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-08-12 11:04:20 +05:30
f9151f8b10 nvim: init.vim: Update nvim config
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-08-12 10:36:10 +05:30
e94f771db3 nvim: init.vim: Add shortcut for save and quit
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-08-06 08:45:18 +05:30
7f07f65458 Add GDB/LLDB/BashDB integration
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-08-03 00:28:42 +05:30
38fd4dbec1 nvim: init.vim: Add Scala LSP support using metals
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-08-02 21:13:19 +05:30
198e20a898 nvim: init.vim: Add fzf git files shortcut
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-08-01 12:17:06 +05:30
de6b3f800d nvim: init.vim: Add LC support for Haskell
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-07-11 15:56:36 +05:30
a165f535f4 nvim: init.vim: Use i as prefix for all intero bindings
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-07-09 10:19:13 +05:30
c2e36abdf9 nvim: init.vim: Add a Intero restart shortcut
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-07-08 23:16:05 +05:30
492216701e nvim: init.vim: Update neovim intero config
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-07-07 13:57:57 +05:30
b04d050812 nvim: init.vim: Update neovim config
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-07-05 23:00:05 +05:30
Sanchayan Maity
79c365e0b7 nvim: init.vim: Switch to the better vimtex plugin
Signed-off-by: Sanchayan Maity <sanchayan.maity@harman.com>
2019-07-05 10:27:52 +05:30
5f46b47c93 nvim: init.vim: Update neovim config for Haskell
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-07-04 21:43:19 +05:30
9e94ed906c nvim: init.vim: Update neovim config
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-06-30 22:43:19 +05:30
34be53641b init.vim: Remove shitty go lang
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-06-28 18:34:48 +05:30
efefcc0ac6 init.vim: Add support for Git messenger
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-06-27 22:06:14 +05:30
a24ec81837 nvim: init.vim: Update neovim configuration
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-03-06 21:20:59 +05:30
697d74a48c nvim: init.vim: Remove LC and restore deoplete
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-03-06 21:06:57 +05:30
cb3178bd7f nvim: init.vim: Add support for gtags
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-02-25 14:54:35 +05:30
988222400d nvim: Update neovim configuration
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-02-18 23:04:03 +05:30
bfe803ff30 nvim: Add support for go
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-02-14 22:51:08 +05:30
0444ac4591 nvim: Switch back to deoplete
Language client neovim actually works with deoplete as per
the documentation and not ALE.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-02-14 14:30:24 +05:30
64c173bd04 nvim: Update neovim configuration
Remove ghcid and fix fzf as per Arch/Manjaro system.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-02-12 23:13:38 +05:30
Sanchayan Maity
10df5e535a nvim: Switch to ALE
Signed-off-by: Sanchayan Maity <sanchayan.maity@harman.com>
2019-02-12 13:53:56 +05:30
1f1a8c3695 nvim: Update neovim config for ghcid and fzf
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-02-12 10:47:10 +05:30
2cff6bd574 nvim: Specify root markers for language client
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-02-11 21:18:35 +05:30
27ecc9d20e nvim: Switch to using Language Client Server Protocol
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-02-11 20:56:11 +05:30
e345c8cf55 nvim: Update neovim configuration
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-01-27 22:49:26 +05:30
feab565164 nvim: Update neovim configuration
Add fzf and magit. Remove unused plugins.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-01-25 10:49:07 +05:30
f829682e83 nvim: Update Neovim configuration
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-01-24 19:43:30 +05:30
c18471a549 nvim: Add TeX support to Neovim
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2018-11-21 22:21:14 +05:30
7169cfbd81 Update neovim & tmux configuration for autoread
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2018-11-14 19:43:47 +05:30
fde3187e81 nvim: Update neovim configuration
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2018-10-26 20:46:21 +05:30
3bbe29e5b1 Update tmux and nvim configuration
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2018-10-14 19:10:12 +05:30
aa4677c1ec Update configs 2017-10-19 14:42:12 +05:30
eafd45df5a Update neovim config
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2017-08-04 16:42:16 +05:30
87e1a13933 Update neovim configuration 2017-03-29 16:35:42 +05:30
0a213b0660 Add support for Haskell and Rust autocompletion with a few fixes 2017-02-18 17:00:11 +05:30
625f1dee6f Enable NerdCommenter and Monokai theme 2017-02-15 14:53:41 +05:30
2b1dbb7073 Add initial configuration for neovim 2017-02-15 01:21:44 +05:30