Removing Black Bar Line Numbers in Minimalist Text Editors
When using a minimalist text editor, you may have noticed a black bar on the side of the editing area, often accompanied by line numbers. While some users find this feature helpful, others might prefer a clean, minimalist interface without any distractions. This article will guide you through the process of removing black bar line numbers in some popular minimalist text editors.
1. Visual Studio Code
Visual Studio Code (VS Code) is a popular and highly customizable text editor. By default, it displays a black bar with line numbers on the left side of the editing area. To remove it, follow these steps:
- Open Visual Studio Code.
- Go to
File > Preferences > Settings(or press Ctrl + , on Windows/Linux or Cmd + , on macOS). - In the search bar, type
line numbers. - Uncheck the box for
Editor: Line Numbers.
// Confirm that "Editor: Line Numbers" is set to false
"editor.lineNumbers": false
2. Sublime Text
Sublime Text is another well-known text editor that includes line numbers. To hide line numbers in Sublime Text, perform the following steps:
- Launch Sublime Text.
- Navigate to
View > Show Line Numbers(or use the shortcut Ctrl + Shift + L on Windows/Linux or Cmd + Shift + L on macOS).
A toggle will appear next to the menu item, allowing you to quickly show or hide line numbers in the current view or across the entire application. Note that these settings are not persistent across restarts. To make the change permanent, refer to the Persistent Settings section.
3. Atom
Atom is a highly customizable open source text editor developed by GitHub. To remove the black bar and line numbers in Atom, follow these steps:
- Open Atom.
- Go to
Edit > Preferences(or press Ctrl + , on Windows/Linux or Cmd + , on macOS). - In the left-hand menu, click on
Editor. - Uncheck the box for
Show Line Numbers.
// Confirm that "showLineNumbers": false is set in your config.cson or stylish-ui.less
"editor":
"showLineNumbers": false
Persistent Settings in Sublime Text
To make the line numbers setting persistent in Sublime Text, follow these steps:
- In Sublime Text, choose
Preferences > Settings. - In the opened settings file, locate the following lines:
{
"line_numbers": true,
And change them to:
{
"line_numbers": false,
Save the file and restart Sublime Text to apply the change.
Summary
By following the instructions provided in this article, you can remove the black line numbers bar in popular minimalist text editors: Visual Studio Code, Sublime Text, and Atom.