This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;(function ($) { | |
$.fn.serializeObject = function () { | |
var obj = {}, | |
arr = this.serializeArray(); | |
$.each(arr, function () { | |
if (typeof obj[this.name] !== "undefined") { | |
if (!obj[this.name].push) { | |
obj[this.name] = [obj[this.name]]; | |
} |
Sublime Text Home/End keys default functionality jumps to the beginning and end of the file.
Fix Home and End keys to move the cursor to the beginning and end of lines.
Preferences > Key Bindings - User
Adding the following to the array:
{ "keys": ["home"], "command": "move_to", "args": {"to": "bol"} },
{ "keys": ["end"], "command": "move_to", "args": {"to": "eol"} },