diff options
| author | Miguel <m.i@gmx.at> | 2019-06-07 00:59:56 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2019-06-07 00:59:56 +0200 |
| commit | 5d5111a9ea6a9b4cc80d12f624724ff5f16eea15 (patch) | |
| tree | fb4cc22f2586f188587068f58d013b597e342f08 /vim | |
| parent | dedbb5b35d4aa2f066482abc227214b712378b0e (diff) | |
better vimrc haskelling and other stuff
Diffstat (limited to 'vim')
| -rw-r--r-- | vim/vimrc | 25 |
1 files changed, 24 insertions, 1 deletions
@@ -101,6 +101,8 @@ Plugin 'honza/vim-snippets' Plugin 'ndmitchell/ghcid', { 'rtp': 'plugins/nvim' } " added at work Plugin 'neomake/neomake' Plugin 'parsonsmatt/intero-neovim' +Plugin 'mileszs/ack.vim' +Plugin 'neovimhaskell/haskell-vim' call vundle#end() filetype plugin indent on @@ -306,6 +308,7 @@ nnoremap <leader>W :match<cr> nnoremap <leader>cn :cnext<cr> nnoremap <leader>cp :cprevious<cr> nnoremap <leader>cc :cc<cr> +nnoremap <leader>cq :copen<cr> " buffer navigaion nnoremap <leader>bn :MBEbn<cr> @@ -316,8 +319,10 @@ nnoremap <leader>bd :MBEbd<cr> nnoremap <leader>ln :NERDTreeToggle<cr> nnoremap <leader>lt :TagbarToggle<cr> nnoremap <leader>lm :MBEToggle<cr> -nnoremap <leader>lq :copen<cr> "nnoremap <leader>lg :ConqueGdb<cr> + +" silver search +noremap <leader>a :Ack!<Space> " }}} " {{{ FILETYPES @@ -472,3 +477,21 @@ let g:intero_load_targets= ["twg"] let g:ghcid_keep_open = 1 " show trailing whitespace per default: match ErrorMsg /\v +$/ + +" let g:ackprg = 'ag --nogroup --nocolor --column' +let g:ackprg = 'ag --vimgrep' +let g:ackhighlight = 1 +" let g:ack_autoclose = 1 +" let g:ack_autofold_results = 1 +cnoreabbrev Ack Ack! + +let g:haskell_enable_quantification = 1 " to enable highlighting of `forall` +let g:haskell_enable_recursivedo = 1 " to enable highlighting of `mdo` and `rec` +let g:haskell_enable_arrowsyntax = 1 " to enable highlighting of `proc` +let g:haskell_enable_pattern_synonyms = 1 " to enable highlighting of `pattern` +let g:haskell_enable_typeroles = 1 " to enable highlighting of type roles +let g:haskell_enable_static_pointers = 1 " to enable highlighting of `static` +let g:haskell_backpack = 1 " to enable highlighting of backpack keywords +" let g:haskell_classic_highlighting = 1 + + |
