diff options
-rw-r--r-- | ftplugin/ocaml.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ftplugin/ocaml.vim b/ftplugin/ocaml.vim index 559b37e..dc6974f 100644 --- a/ftplugin/ocaml.vim +++ b/ftplugin/ocaml.vim @@ -10,3 +10,4 @@ setlocal shiftwidth=2 nnoremap <buffer> Zr \ :execute '!eval $(opam env) && dune exec ' . fnameescape(expand('%:p:h:h:t'))<CR> nnoremap <buffer> Zb :!eval $(opam env) && dune build<CR> +nnoremap <buffer> <leader>z :!eval $(opam env) && dune test<CR> |