conf2/zsh/.oh-my-zsh/plugins/fancy-ctrl-z/README.md

15 lines
521 B
Markdown
Raw Normal View History

2019-01-12 15:47:23 +00:00
# Use Ctrl-Z to switch back to Vim
2019-10-24 19:09:05 +00:00
I frequently need to execute random commands in my shell. To achieve it I pause
2019-01-12 15:47:23 +00:00
Vim by pressing Ctrl-z, type command and press fg<Enter> to switch back to Vim.
2019-10-24 19:09:05 +00:00
The fg part really hurts me. I just wanted to hit Ctrl-z once again to get back
2019-01-12 15:47:23 +00:00
to Vim. I could not find a solution, so I developed one on my own that
2019-10-24 19:09:05 +00:00
works wonderfully with ZSH.
2019-01-12 15:47:23 +00:00
Source: http://sheerun.net/2014/03/21/how-to-boost-your-vim-productivity/
Credits:
- original idea by @sheerun
- added to OMZ by @mbologna