RE: Particle physics - Exercise 1b (Reconstructed event filtering, remembering C++ and VIM)

You are viewing a single comment's thread from:

Particle physics - Exercise 1b (Reconstructed event filtering, remembering C++ and VIM)

in utopian-io •  7 years ago 

Qucik tip on using Ctrl-Z in the terminal. Ctrl-Z sends the foreground process to the background. To recover vim in the case you mentioned above, type fg in the terminal and hit enter. If you also want to get rid of the .swp files, add set noswapfileto your .vimrc. Though I'd recommend reading :help swap-file prior.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

That explains the message I got when trying to edit the file again. I've sent stuff the background from the command line before but never thought about being able to do it from within a session. This tip will likely save me a lot of time in the future, thanks!