alper
alper

Reputation: 3410

How could I set a mark with keybinding `Ctrl+space` on Sublime Text`?

On emacs by default Ctrl+space sets a mark and later when I press up/down arrow the selection expands.

I am using emacs keybindings on Sublime Text via Emacs Pro Essentials. But on Sublime Text, I need to do Ctrl+space+space in order to set a mark. First space puts a dot next the line and the seconds space actually selects it.

[Q] How could I set a mark with keybinding Ctrl+space on Sublime Text`?

Upvotes: 0

Views: 238

Answers (1)

izoughe
izoughe

Reputation: 66

You can change this by adding "sbp_active_mark_mode": true to your Emacs Pro Essentials settings file.

{
  "sbp_active_mark_mode": true,

  [some-setting]: [value],

  [another-setting]: [value]
}

The file's default Windows location is C:\Users\<user>\AppData\Roaming\Sublime Text 3\Packages\<profile name>\sublemacpro.sublime-settings.
You can also find it through the menu bar: Preferences -> Package Settings -> Emacs Pro Essentials -> Settings - <profile name>.

The region between the point and mark is only selected if the mark is active, and this setting causes newly created marks to be active by default.

Upvotes: 2

Related Questions