Updated Troubleshooting (markdown)

Marc Cornellà 2015-03-30 01:10:40 +02:00
parent 6024f72323
commit b4b3d78b3b

@ -14,14 +14,14 @@ Two main things could go wrong:
You can see the exact sequence a keyboard shortcut sents by pressing `CTRL`+`V` and then the keyboard shortcut.
For example: `CTRL`+`V`, `CTRL`+`L` will output `^L` (`^` represents the Control key).
2. The command executed (`clear-screen` in the example) has an error. In that case, post both the key binding and the definition of the command if exists, like so:
2. The command executed (`clear-screen` in the example) has an error. In that case, post both the key binding and the definition of the command (if exists) like so:
- **key binding:** `bindkey '^[[1;6D'`
will print `"^[[1;6D" insert-cycledleft`
- **command definition:** `which insert-cycledleft`
will print `insert-cycledleft () { ... }`
Notice that sometimes the command is a builtin [zle widget](http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html) and so the `which` command won't work. Just post the key binding and we'll figure it out.
Notice that sometimes the command is a builtin [zle widget](http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html) and so the `which` command won't work. If that's the case, just post the key binding and we'll figure it out.
### Completion problems