Adding hdevtools to vimrc and some keybindings to show type and info

master
Dustin Swan 12 years ago
parent aae5af2ad4
commit c5601a494c

17
vimrc

@ -44,8 +44,8 @@ Bundle 'kshenoy/vim-signature'
"Bundle 'SirVer/ultisnips' "Bundle 'SirVer/ultisnips'
Bundle 'fmoralesc/vim-pad' Bundle 'fmoralesc/vim-pad'
Bundle 'lukerandall/haskellmode-vim' Bundle 'lukerandall/haskellmode-vim'
Bundle 'Shougo/neocomplcache' Bundle 'bitc/vim-hdevtools'
Bundle 'ujihisa/neco-ghc' " Bundle 'Shougo/neocomplcache'
filetype plugin indent on " last Vundle requirement filetype plugin indent on " last Vundle requirement
@ -227,8 +227,9 @@ let g:ghc = "/usr/bin/ghc"
let g:haddock_browser = "open" let g:haddock_browser = "open"
let g:haddock_browser_callformat = "%s %s" let g:haddock_browser_callformat = "%s %s"
" NeoComplCache " automatically open and close the popup menu / preview window
" let g:neocomplcache_enable_at_startup = 1 au CursorMovedI,InsertLeave * if pumvisible() == 0|silent! pclose|endif
set completeopt=menu,preview,longest
" Undotree " Undotree
nnoremap <leader>u :UndotreeToggle<cr> nnoremap <leader>u :UndotreeToggle<cr>
@ -238,3 +239,11 @@ map <c-j> <c-w>j<c-w>_
map <c-k> <c-w>k<c-w>_ map <c-k> <c-w>k<c-w>_
map <c-l> <c-w>l<c-w>_ map <c-l> <c-w>l<c-w>_
map <c-h> <c-w>h<c-w>_ map <c-h> <c-w>h<c-w>_
" NeoComplCache
" let g:neocomplcache_enable_at_startup = 1
" hdevtools
nnoremap <leader>ht :HdevtoolsType<cr>
nnoremap <leader>hc :HdevtoolsClear<cr>
nnoremap <leader>hi :HdevtoolsInfo<cr>

Loading…
Cancel
Save