nvim: Update neovim config for ghcid and fzf

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
Sanchayan Maity 2019-02-12 10:47:10 +05:30
parent 82e327b213
commit 1f1a8c3695

View file

@ -16,6 +16,7 @@ Plug 'vim-scripts/paredit.vim', { 'for': [ 'scheme', 'lisp', 'commonlisp' ] }
Plug 'easymotion/vim-easymotion'
" Fuzzy file search
Plug 'ctrlpvim/ctrlp.vim'
Plug '~/.fzf'
Plug 'junegunn/fzf.vim'
" Remove extraneous whitespace when edit mode is exited
Plug 'thirtythreeforty/lessspace.vim'
@ -27,12 +28,12 @@ Plug 'tpope/vim-obsession'
Plug 'dhruvasagar/vim-prosession'
" Explore filesystem
Plug 'scrooloose/nerdtree'
" Tags
Plug 'universal-ctags/ctags'
" Commenter
Plug 'scrooloose/nerdcommenter'
" Theme
Plug 'sickill/vim-monokai'
" Ghcid for Haskell
Plug 'ndmitchell/ghcid', { 'rtp': 'plugins/nvim' }
" Language Client
Plug 'autozimu/LanguageClient-neovim', {
\ 'branch': 'next',
@ -113,7 +114,6 @@ set gdefault " Use 'g' flag by default with :s/foo/bar/.
set magic " Use 'magic' patterns (extended regular expressions).
set autoread " Autoload file if it changes on disk
set rtp+=/usr/bin/fzf
set rtp+=~/.config/nvim/plugged/LanguageClient-neovim
set completeopt-=preview
@ -137,6 +137,8 @@ nnoremap <Leader>b :CtrlPBuffer<CR>
nnoremap <Leader>f :CtrlPMRUFiles<CR>
" Open NerdTree
nnoremap <Leader>n :NERDTree<CR>
" Open fuzzy file search
nnoremap <Leader>t :Files<CR>
" Manage splits
set splitbelow