You are viewing a single comment's thread from:

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

in #utopian-io6 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.

Sort:  

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!

Coin Marketplace

STEEM 0.29
TRX 0.12
JST 0.032
BTC 63122.36
ETH 3072.69
USDT 1.00
SBD 3.86