aboutsummaryrefslogtreecommitdiff
path: root/.oh-my-zsh/plugins/fancy-ctrl-z
diff options
context:
space:
mode:
Diffstat (limited to '.oh-my-zsh/plugins/fancy-ctrl-z')
-rw-r--r--.oh-my-zsh/plugins/fancy-ctrl-z/README.md14
-rw-r--r--.oh-my-zsh/plugins/fancy-ctrl-z/fancy-ctrl-z.plugin.zsh12
2 files changed, 0 insertions, 26 deletions
diff --git a/.oh-my-zsh/plugins/fancy-ctrl-z/README.md b/.oh-my-zsh/plugins/fancy-ctrl-z/README.md
deleted file mode 100644
index a7670fa..0000000
--- a/.oh-my-zsh/plugins/fancy-ctrl-z/README.md
+++ /dev/null
@@ -1,14 +0,0 @@
-# Use Ctrl-Z to switch back to Vim
-
-I frequently need to execute random command in my shell. To achieve it I pause
-Vim by pressing Ctrl-z, type command and press fg<Enter> to switch back to Vim.
-The fg part really hurt sme. I just wanted to hit Ctrl-z once again to get back
-to Vim. I could not find a solution, so I developed one on my own that
-works wonderfully with ZSH
-
-Source: http://sheerun.net/2014/03/21/how-to-boost-your-vim-productivity/
-
-Credits:
-- original idea by @sheerun
-- added to OMZ by @mbologna
-
diff --git a/.oh-my-zsh/plugins/fancy-ctrl-z/fancy-ctrl-z.plugin.zsh b/.oh-my-zsh/plugins/fancy-ctrl-z/fancy-ctrl-z.plugin.zsh
deleted file mode 100644
index 8ab2979..0000000
--- a/.oh-my-zsh/plugins/fancy-ctrl-z/fancy-ctrl-z.plugin.zsh
+++ /dev/null
@@ -1,12 +0,0 @@
-fancy-ctrl-z () {
- if [[ $#BUFFER -eq 0 ]]; then
- BUFFER="fg"
- zle accept-line
- else
- zle push-input
- zle clear-screen
- fi
-}
-zle -N fancy-ctrl-z
-bindkey '^Z' fancy-ctrl-z
-