Sublime Forum

Change the background of cursor's line?

#1

Hello.

Is it possible to change background color of line where cursor currently is ?

For example, like this is done here :

As you can see line where cursor currently is has different color than file’s background.

Thank you for any help.

0 Likes

#2

It’s defined in .tmTheme.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>name</key>
    <string>Monokai Soda Mod</string>
    <key>settings</key>
    <array>
        <dict>
            <key>settings</key>
            <dict>
                <key>caret</key>
                <string>#FFFFFF</string>
                <key>gutter</key>
                <string>#000000</string>
                <key>gutterForeground</key>
                <string>#666666</string>
                <key>background</key>
                <string>#000000</string>
                <key>foreground</key>
                <string>#F8F8F2</string>
                <key>lineHighlight</key>   <----------------------
                <string>#222222</string>   <----------------------
...
0 Likes