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>
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>
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>
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>
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>
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>
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>
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>
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.