ensime-vim improvements

This commit is contained in:
Gabriel Ebner 2016-01-06 13:06:55 +01:00
parent bcaef3e96c
commit 6d73cdd35b
2 changed files with 4 additions and 0 deletions

View File

@ -15,6 +15,8 @@ export MPD_HOST=127.0.0.1 MPD_PORT=6600
export EDITOR="`which nvim || which vim || which vi`" export EDITOR="`which nvim || which vim || which vi`"
alias vi="$EDITOR" alias vi="$EDITOR"
export BROWSER=xdg-open
# passc # passc
passc() { passc() {
pass show "$1" | (read i; cat; echo -n "$i" | xclip -l 1 -se c) pass show "$1" | (read i; cat; echo -n "$i" | xclip -l 1 -se c)

2
vimrc
View File

@ -132,6 +132,8 @@ au BufNewFile,BufRead *.tptp set ft=tptp
au BufReadCmd *.epub call zip#Browse(expand("<amatch>")) au BufReadCmd *.epub call zip#Browse(expand("<amatch>"))
au FileType scala nnoremap <c-]> :EnDeclaration<cr>
au syntax haskell setl omnifunc=necoghc#omnifunc au syntax haskell setl omnifunc=necoghc#omnifunc
let g:necoghc_enable_detailed_browse=1 let g:necoghc_enable_detailed_browse=1
let g:haskell_conceal = 0 let g:haskell_conceal = 0