summaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc8
1 files changed, 8 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index 720420e..9b6a52b 100644
--- a/.vimrc
+++ b/.vimrc
@@ -76,6 +76,10 @@ map <C-Tab> gt
map <C-S-Tab> gT
imap <S-Tab> <C-X><C-O>
+" Haskell GHCi stuff
+autocmd FileType haskell nmap <Leader>gl :GhciFile<CR>
+autocmd FileType haskell nmap <Leader>gr :GhciReload<CR>
+
" =======================================================
" PLUGINS AND LANGUAGES
" =======================================================
@@ -103,6 +107,10 @@ let python_highlight_space_errors = 1
" default to latex for .tex files
let g:tex_flavor = "latex"
+" haskell stuff
+au BufEnter *.hs compiler ghc
+let g:haddock_browser = "firefox"
+
" =======================================================
" FINAL
" =======================================================