nvim: Update neovim config for ghcid and fzf
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
parent
82e327b213
commit
1f1a8c3695
1 changed files with 5 additions and 3 deletions
|
@ -16,6 +16,7 @@ Plug 'vim-scripts/paredit.vim', { 'for': [ 'scheme', 'lisp', 'commonlisp' ] }
|
||||||
Plug 'easymotion/vim-easymotion'
|
Plug 'easymotion/vim-easymotion'
|
||||||
" Fuzzy file search
|
" Fuzzy file search
|
||||||
Plug 'ctrlpvim/ctrlp.vim'
|
Plug 'ctrlpvim/ctrlp.vim'
|
||||||
|
Plug '~/.fzf'
|
||||||
Plug 'junegunn/fzf.vim'
|
Plug 'junegunn/fzf.vim'
|
||||||
" Remove extraneous whitespace when edit mode is exited
|
" Remove extraneous whitespace when edit mode is exited
|
||||||
Plug 'thirtythreeforty/lessspace.vim'
|
Plug 'thirtythreeforty/lessspace.vim'
|
||||||
|
@ -27,12 +28,12 @@ Plug 'tpope/vim-obsession'
|
||||||
Plug 'dhruvasagar/vim-prosession'
|
Plug 'dhruvasagar/vim-prosession'
|
||||||
" Explore filesystem
|
" Explore filesystem
|
||||||
Plug 'scrooloose/nerdtree'
|
Plug 'scrooloose/nerdtree'
|
||||||
" Tags
|
|
||||||
Plug 'universal-ctags/ctags'
|
|
||||||
" Commenter
|
" Commenter
|
||||||
Plug 'scrooloose/nerdcommenter'
|
Plug 'scrooloose/nerdcommenter'
|
||||||
" Theme
|
" Theme
|
||||||
Plug 'sickill/vim-monokai'
|
Plug 'sickill/vim-monokai'
|
||||||
|
" Ghcid for Haskell
|
||||||
|
Plug 'ndmitchell/ghcid', { 'rtp': 'plugins/nvim' }
|
||||||
" Language Client
|
" Language Client
|
||||||
Plug 'autozimu/LanguageClient-neovim', {
|
Plug 'autozimu/LanguageClient-neovim', {
|
||||||
\ 'branch': 'next',
|
\ '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 magic " Use 'magic' patterns (extended regular expressions).
|
||||||
set autoread " Autoload file if it changes on disk
|
set autoread " Autoload file if it changes on disk
|
||||||
|
|
||||||
set rtp+=/usr/bin/fzf
|
|
||||||
set rtp+=~/.config/nvim/plugged/LanguageClient-neovim
|
set rtp+=~/.config/nvim/plugged/LanguageClient-neovim
|
||||||
|
|
||||||
set completeopt-=preview
|
set completeopt-=preview
|
||||||
|
@ -137,6 +137,8 @@ nnoremap <Leader>b :CtrlPBuffer<CR>
|
||||||
nnoremap <Leader>f :CtrlPMRUFiles<CR>
|
nnoremap <Leader>f :CtrlPMRUFiles<CR>
|
||||||
" Open NerdTree
|
" Open NerdTree
|
||||||
nnoremap <Leader>n :NERDTree<CR>
|
nnoremap <Leader>n :NERDTree<CR>
|
||||||
|
" Open fuzzy file search
|
||||||
|
nnoremap <Leader>t :Files<CR>
|
||||||
|
|
||||||
" Manage splits
|
" Manage splits
|
||||||
set splitbelow
|
set splitbelow
|
||||||
|
|
Loading…
Reference in a new issue