Skip to content

docs(README): fix key mapping #124

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ mappings. The following keybindings are provided by default:

| Keybinding | Description |
| ---------------------- | ------------------------------------------------------------------- |
| \<Leader>m | Compile the current buffer. |
| \<Leader>b | Compile the Main.elm file in the project. |
| \<Leader>t | Runs the tests of the current buffer or 'tests/TestRunner'. |
| \<Leader>r | Opens an elm repl in a subprocess. |
| \<Leader>e | Shows the detail of the current error or warning. |
| \<Leader>d | Shows the type and docs for the word under the cursor. |
| \<Leader>w | Opens the docs web page for the word under the cursor. |
| \<LocalLeader>m | Compile the current buffer. |
| \<LocalLeader>b | Compile the Main.elm file in the project. |
| \<LocalLeader>t | Runs the tests of the current buffer or 'tests/TestRunner'. |
| \<LocalLeader>r | Opens an elm repl in a subprocess. |
| \<LocalLeader>e | Shows the detail of the current error or warning. |
| \<LocalLeader>d | Shows the type and docs for the word under the cursor. |
| \<LocalLeader>w | Opens the docs web page for the word under the cursor. |

You can disable these mappings if you want to use your own.

Expand Down Expand Up @@ -123,7 +123,7 @@ let g:elm_setup_keybindings = 1

* `:ElmMakeMain` attempts to call `elm-make` with "Main.elm".

* `:ElmTest` calls `elm-test` with the given file. If no file is given it runs it in the root of your project.
* `:ElmTest` calls `elm-test` with the given file. If no file is given it runs it in the root of your project.

* `:ElmRepl` runs `elm-repl`, which will return to vim on exiting.

Expand Down