I am programming some kernel stuff, and wanted to open a list of files from the kernel which contain a certain word. I did some " find . -name ‘.[ch] | grep ‘expression’ **" to see that I get a reasonable amount. The by mistake I did " **find . -name '.[ch]’ | xargs subl " – which opened all 66 thousnd files from the kernel.
Now every time I open sublime, I get all these files open, and if I right-click and say “close all other tabs” the computer simply gets stuck.
Is there a way to empty that list of open files when sublime is not running? (edit a file or something?)
Thanks.