From eeb401dc76fb2678a334197885244fa94eab84a1 Mon Sep 17 00:00:00 2001 From: Felix Wittwer Date: Tue, 18 May 2021 14:08:19 +0200 Subject: [PATCH] Add haskell plugin to vim --- entropy/.vimrc | 6 ++++++ tycho/.vimrc | 1 + 2 files changed, 7 insertions(+) diff --git a/entropy/.vimrc b/entropy/.vimrc index 3dc4890..eb99025 100644 --- a/entropy/.vimrc +++ b/entropy/.vimrc @@ -22,6 +22,7 @@ Plug 'https://github.com/scrooloose/nerdcommenter.git' Plug 'rust-lang/rust.vim', { 'for': 'rust' } Plug 'cespare/vim-toml', { 'for': 'toml' } Plug 'keith/swift.vim', { 'for': 'swift' } +Plug 'neovimhaskell/haskell-vim', { 'for': 'haskell' } Plug 'vim-syntastic/syntastic' Plug 'vim-airline/vim-airline' @@ -43,6 +44,10 @@ Plug 'dense-analysis/ale' " Initialize plugin system call plug#end() +" open fzf files in new tab instead of new buffer +command! -bang -nargs=? -complete=dir Files + \ call fzf#vim#files(, {'sink': 'tabedit', 'options': ['--info=inline', '--preview', '~/.vim/plugged/fzf.vim/bin/preview.sh {}']}, 0) + set laststatus=2 let g:airline#extensions#tabline#enabled = 1 let g:airline_powerline_fonts = 1 @@ -70,6 +75,7 @@ au BufRead,BufNewFile *.ohuao setfiletype json " nnoremap \| map :tabp map :tabn +map f :Files " fix auto-completion set wildmenu " show a completion menu diff --git a/tycho/.vimrc b/tycho/.vimrc index 7789711..8ed848d 100644 --- a/tycho/.vimrc +++ b/tycho/.vimrc @@ -22,6 +22,7 @@ Plug 'https://github.com/scrooloose/nerdcommenter.git' Plug 'rust-lang/rust.vim', { 'for': 'rust' } Plug 'cespare/vim-toml', { 'for': 'toml' } Plug 'keith/swift.vim', { 'for': 'swift' } +" Plug 'neovimhaskell/haskell-vim', { 'for': 'haskell' } Plug 'vim-syntastic/syntastic' Plug 'vim-airline/vim-airline'