From 6d73cdd35bc177420ec302f184ae580eb2e239c2 Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Wed, 6 Jan 2016 13:06:55 +0100 Subject: [PATCH] ensime-vim improvements --- commonshrc | 2 ++ vimrc | 2 ++ 2 files changed, 4 insertions(+) diff --git a/commonshrc b/commonshrc index 5f12d78..e6bf510 100644 --- a/commonshrc +++ b/commonshrc @@ -15,6 +15,8 @@ export MPD_HOST=127.0.0.1 MPD_PORT=6600 export EDITOR="`which nvim || which vim || which vi`" alias vi="$EDITOR" +export BROWSER=xdg-open + # passc passc() { pass show "$1" | (read i; cat; echo -n "$i" | xclip -l 1 -se c) diff --git a/vimrc b/vimrc index 6043222..3bb35e9 100644 --- a/vimrc +++ b/vimrc @@ -132,6 +132,8 @@ au BufNewFile,BufRead *.tptp set ft=tptp au BufReadCmd *.epub call zip#Browse(expand("")) +au FileType scala nnoremap :EnDeclaration + au syntax haskell setl omnifunc=necoghc#omnifunc let g:necoghc_enable_detailed_browse=1 let g:haskell_conceal = 0