In RubyMine folders can be excluded from search, navigation etc. by marking it as excluded. You might sometimes wish to exclude single files, too. An example could be
.byebug_history which is located in the project root directory.
Single files can be excluded by pattern in the Settings:
Ctrl+Alt+S, go to Project structure
.byebug_history. Use semicolons as separators.