3 ms·
I don't use it that often (I just open up another terminal), but you can also use ^Z to put vi in the background. It would be more useful if I didn't always fo
by gnubison 6y ago
I don't use it that often (I just open up another terminal), but you can also use ^Z to put vi in the background. It would be more useful if I didn't always forget and open up a new vi which would refuse to write to the file :)
- sojournerc 6y agoI honestly do both. When I'm running something I want the output from (some to yank), I'll run in a buffer. If doing file manipulation, CLI, etc. etc. I'll ctrl-z out. I do the opposite of you pretty often too, always trying to `fg` a non-existent vim
- gnubison 6y agoHmmm. I hadn't thought about being able to yank output from a command... That's a really good point. (Honestly I would probably use 'xsel -bi' and ':r !xsel -bo', but that's pretty ugly.)