summaryrefslogtreecommitdiff
path: root/plugins/fancy-ctrl-z/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/fancy-ctrl-z/README.md')
-rw-r--r--plugins/fancy-ctrl-z/README.md12
1 files changed, 11 insertions, 1 deletions
diff --git a/plugins/fancy-ctrl-z/README.md b/plugins/fancy-ctrl-z/README.md
index 82a4fd75e..7766c51eb 100644
--- a/plugins/fancy-ctrl-z/README.md
+++ b/plugins/fancy-ctrl-z/README.md
@@ -1,4 +1,14 @@
-# Use Ctrl-Z to switch back to Vim
+# fancy-ctrl-z
+
+Allows pressing Ctrl-Z again to switch back to a background job.
+
+To use it, add `fancy-ctrl-z` to the plugins array in your zshrc file:
+
+```zsh
+plugins=(... fancy-ctrl-z)
+```
+
+## Motivation
I frequently need to execute random commands in my shell. To achieve it I pause
Vim by pressing Ctrl-z, type command and press fg<Enter> to switch back to Vim.