Commit graph

1895 commits

Author SHA1 Message Date
ff46041c41 nvim: Add fzf quickfix
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-04-08 10:22:30 +05:30
91248a4822 nvim: Remove plugins endwise, mundo and crates
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-04-08 09:35:40 +05:30
c7afc36466 nvim: Add vim fetch
Enable to process line and column jump specifications in file paths as found
in stack traces and similar output

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-04-06 21:28:31 +05:30
efbde43c1e nvim: Add vim any fold
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-04-06 21:28:24 +05:30
cc0f55cec3 nvim: Set shortcuts for setting fold methods
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-04-06 21:28:10 +05:30
537f3021a4 nvim: Add vim exchange
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-04-06 14:09:13 +05:30
5f0dbec511 nvim: Add a shortcut for invoking haskdogs
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-04-06 10:56:30 +05:30
6297e35f45 nvim: Add bindings for preview tags
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-04-06 10:08:03 +05:30
c775c0b4e8 nvim: Remove auto resize plugins
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-04-05 15:30:47 +05:30
cccce84de4 nvim: Do not append results in vim grepper
This setting results in the quickfix list having the same result
multiple times if by mistake we run the same search again.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-04-04 13:04:13 +05:30
559013e491 nvim: Reintroduce key binding for buffer switching using :b
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-04-04 09:25:49 +05:30
26457a128e nvim: Lens should be disabled for buftypes & not filetypes
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-04-04 09:21:26 +05:30
d123b038b3 nvim: Remove custom floating window function
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-04-03 16:32:59 +05:30
bc64f3240f nvim: Add plugin to load diffs in quickfix list
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-04-03 12:39:24 +05:30
ac50a4efc1 fish: Add git aliases
Stolen from
https://github.com/sorin-ionescu/prezto/blob/master/modules/git/alias.zsh

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-04-03 11:55:08 +05:30
7e2ed37f66 nvim: Add vim-grepper and vim-qlist
While we have fzf, for situations where we want to search and load
results in quickfix or location list vim-grepper should come in handy.
vim-qlist enchances ]i/I related bindings for search to load then in
quickfix list.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-04-02 20:23:06 +05:30
d9c9780223 nvim: Use window number information for window navigation
Airline section y is used for file encoding and file format. We do not
need this information in status line. Use it to show window number. Use
window numbers for navigation. See :h CTRL-W_W and :h winnr() for more
information.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-03-30 15:57:58 +05:30
e5399b0c02 nvim: Increase height of floating window
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-03-30 13:10:27 +05:30
8b23f5c564 tmux: Update tmux plugins
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-03-30 11:00:44 +05:30
bacae0a23d nvim: Use ag as any jump preferred search engine
While I would ideally like to use rg, it seems any jump does or cannot
use rg for some reasons for certain languages like Haskell. This can be
seen from the language map in any jump repo. So set preferred engine as
ag for now.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-03-28 10:25:23 +05:30
dd103824bb tmux: Remove tmux fingers
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-03-25 19:06:21 +05:30
b58fae6784 nvim: Add some miscellaneous plugins
While at it, remove quick-scope as it doesn't add much of a value when
we already use easymotion. Also do some cleanup.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-03-21 13:05:12 +05:30
bb77d4748e nvim: Update key bindings
The git gutter fold bindings was slowing down the easymotion h binding.
So change it. Also the any jump binding was slowing down the 'a' append
binding.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-03-20 10:04:06 +05:30
e4d37e47c9 nvim: Do not open floaterm in project root
Using this setting results in floaterm changing the directory which then
does not work when working in a setup like gst-build. Stick to whatever
directory we launched from since we would have started from a version
controlled directory root in most cases.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-03-02 19:27:32 +05:30
730257512d nvim: Add some more text object plugins
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-03-02 19:26:54 +05:30
8bd94d224f nvim: Make sure autochdir is off
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-02-29 11:26:08 +05:30
c42bdf362d nvim: Add automatic window resizing plugin
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-02-29 10:10:50 +05:30
6a05421110 nvim: Remove quickr-preview plugin
This plugin seems to have bugs and does not work with quickr-cscope and
quickfix-reflector. See the below issues.

https://github.com/ronakg/quickr-preview.vim/issues/19
https://github.com/ronakg/quickr-preview.vim/issues/17

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-02-29 09:36:22 +05:30
69006a09af nvim: Remove auto pairs
We can use vim surround for the same.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-02-29 09:35:48 +05:30
065a281e7e nvim: Fix indentation
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-02-28 12:56:49 +05:30
9315523206 nvim: Remove indentation specific settings
Since we use vim-sleuth, let that figure things out and do not set
anything by default.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-02-28 12:34:00 +05:30
025d0ddab3 nvim: Switch to sonokai
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-02-28 09:24:47 +05:30
2b59e8e343 nvim: Add any-jump
While this purpose can also be served by fzf the additional feature of
any-jump is that it shows definitions and usages, so helps to have more
context. Should also help us for languages we do not have any setup for
and might not want to use tags.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-02-28 09:22:42 +05:30
edfd027067 nvim: Add vim-floaterm
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-02-28 09:21:28 +05:30
cfc5dfbde3 nvim: Add quickr-preview
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-02-26 11:14:00 +05:30
f6ea699860 nvim: Do not invoke Neomake automatically
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-02-26 11:03:52 +05:30
b88b5f623a nvim: Do not remap the semicolon
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-02-26 10:59:17 +05:30
af6a206e99 nvim: Add quick-scope plugin
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-02-26 10:57:23 +05:30
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