Commit graph

679 commits

Author SHA1 Message Date
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
a56dac91d4 mutt: Fix email systemd timer
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-11-21 20:33:56 +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
d03be88543 Update email related configs
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-11-07 18:20:06 +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