Repository: ice9js/ace-jump-sublime
Branch: master
Commit: 99cae467f418
Files: 10
Total size: 27.3 KB
Directory structure:
gitextract_akq0_2fc/
├── .gitignore
├── AceJump.sublime-settings
├── AceJump.tmLanguage
├── Default (Linux).sublime-keymap
├── Default (OSX).sublime-keymap
├── Default (Windows).sublime-keymap
├── LICENSE
├── Main.sublime-menu
├── README.md
└── ace_jump.py
================================================
FILE CONTENTS
================================================
================================================
FILE: .gitignore
================================================
# Sublime Text files
ace-jump.sublime-project
ace-jump.sublime-workspace
# To do
*.TODO
================================================
FILE: AceJump.sublime-settings
================================================
{
// Characters to be used as labels in order they'll appear
"labels": "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",
// Syntax highlighting scope for the labels
"labels_scope": "invalid",
// Toggles case sensitive search in word and character modes.
"search_case_sensitivity": true,
// Saves all the files aceJump tried to parse.
// This setting will reset any linter warnings you might see during jump
// By saving all effected files
"save_files_after_jump": false,
// If turned on, character mode will jump after a character
// it it's the last character on a line.
"jump_behind_last_characters": false,
// View settings that should be respected when switching the syntax
// highlighting mode. In case a plugin you use adds a new
// setting to a view, you probably want to add it to this list.
"view_settings": [
"auto_indent",
"tab_size",
"translate_tabs_to_spaces",
"use_tab_stops",
"trim_automatic_white_space",
"detect_indentation",
"draw_white_space",
"trim_trailing_white_space_on_save",
"always_show_minimap_viewport",
"color_scheme",
"font_face",
"font_options",
"gutter",
"rulers",
"draw_minimap_border",
"highlight_line",
"line_padding_top",
"line_padding_bottom",
"scroll_past_end",
"line_numbers",
"word_wrap",
"wrap_width",
"indent_subsequent_lines",
"draw_centered",
"match_brackets",
"match_brackets_content",
"match_brackets_square",
"match_brackets_braces",
"match_brackets_angle",
]
}
================================================
FILE: AceJump.tmLanguage
================================================
nameAceJumphiddenpatternsmatch(.*)nametext.ace_jumpscopeNamecomment
================================================
FILE: Default (Linux).sublime-keymap
================================================
[
{
"keys": ["ctrl+shift+;"],
"command": "ace_jump_word"
},
{
"keys": ["ctrl+shift+'"],
"command": "ace_jump_char"
},
{
"keys": ["ctrl+shift+."],
"command": "ace_jump_line"
},
{
"keys": ["ctrl+shift+,"],
"command": "ace_jump_within_line"
},
{
"keys": ["alt+;"],
"command": "ace_jump_select"
},
{
"keys": ["alt+'"],
"command": "ace_jump_add_cursor"
},
{
"keys": ["alt+."],
"command": "ace_jump_after"
}
]
================================================
FILE: Default (OSX).sublime-keymap
================================================
[
{
"keys": ["super+shift+;"],
"command": "ace_jump_word"
},
{
"keys": ["super+shift+'"],
"command": "ace_jump_char"
},
{
"keys": ["super+shift+."],
"command": "ace_jump_line"
},
{
"keys": ["super+shift+,"],
"command": "ace_jump_within_line"
},
{
"keys": ["ctrl+;"],
"command": "ace_jump_select"
},
{
"keys": ["ctrl+'"],
"command": "ace_jump_add_cursor"
},
{
"keys": ["ctrl+."],
"command": "ace_jump_after"
}
]
================================================
FILE: Default (Windows).sublime-keymap
================================================
[
{
"keys": ["ctrl+shift+;"],
"command": "ace_jump_word"
},
{
"keys": ["ctrl+shift+'"],
"command": "ace_jump_char"
},
{
"keys": ["ctrl+shift+."],
"command": "ace_jump_line"
},
{
"keys": ["ctrl+shift+,"],
"command": "ace_jump_within_line"
},
{
"keys": ["alt+;"],
"command": "ace_jump_select"
},
{
"keys": ["alt+'"],
"command": "ace_jump_add_cursor"
},
{
"keys": ["alt+."],
"command": "ace_jump_after"
}
]
================================================
FILE: LICENSE
================================================
The MIT License (MIT)
Copyright (c) 2015 Kuba Birecki
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
================================================
FILE: Main.sublime-menu
================================================
[
{
"id": "preferences",
"children": [
{
"id": "package-settings",
"children": [
{
"caption": "AceJump",
"children": [
{
"caption": "README",
"command": "open_file",
"args": {
"file": "${packages}/AceJump/README.md"
}
},
{
"caption": "-"
},
{
"caption": "Settings - Default",
"command": "open_file",
"args": {
"file": "${packages}/AceJump/AceJump.sublime-settings"
}
},
{
"caption": "Settings - User",
"command": "open_file",
"args": {
"file": "${packages}/User/AceJump.sublime-settings"
}
},
{
"caption": "-"
},
{
"caption": "Key Bindings - Default",
"command": "open_file",
"args": {
"file": "${packages}/AceJump/Default (OSX).sublime-keymap",
"platform": "OSX"
}
},
{
"caption": "Key Bindings - Default",
"command": "open_file",
"args": {
"file": "${packages}/AceJump/Default (Linux).sublime-keymap",
"platform": "Linux"
}
},
{
"caption": "Key Bindings - Default",
"command": "open_file",
"args": {
"file": "${packages}/AceJump/Default (Windows).sublime-keymap",
"platform": "Windows"
}
},
{
"caption": "Key Bindings - User",
"command": "open_file",
"args": {
"file": "${packages}/User/Default (OSX).sublime-keymap",
"platform": "OSX"
}
},
{
"caption": "Key Bindings - User",
"command": "open_file",
"args": {
"file": "${packages}/User/Default (Linux).sublime-keymap",
"platform": "Linux"
}
},
{
"caption": "Key Bindings - User",
"command": "open_file",
"args": {
"file": "${packages}/User/Default (Windows).sublime-keymap",
"platform": "Windows"
}
},
{
"caption": "-"
}
]
}
]
}
]
}
]
================================================
FILE: README.md
================================================
# AceJump
A plugin for Sublime Text 3 heavily inspired by AceJump for emacs.
AceJump allows you to move the cursor to any character to any place currently on screen.
To clarify, you can jump between characters in all visible portions of currently open documents in any panes.
Like it's emacs counterpart, AceJump for sublime features word (on the image below), character and line modes which make jumping even easier.

After selecting a mode, you type in a character (except in line mode, where you don't have to type in anything) and appropriate labels are displayed. Then all you need to do is press the key from the label and voila!
## Installation
### PackageControl
You can install AceJump from [PackageControl](http://wbond.net/sublime_packages/package_control) by following the steps below:
- Open up the command palette and select ```Package Control: Install Package```
- Wait for the packages index to load and select ```AceJump```
### Manual installation
You can install AceJump manually using git by running the following command within sublime packages directory (Preferences > Browse Packages):
```
$ git clone git@github.com:ice9js/ace-jump-sublime.git AceJump/
```
Or you can just copy the contents of this repository into ```Packages/AceJump```.
## Usage
### Word mode
Goes to a word starting with the given character. This mode works only with alphanumeric characters. If you're interested in jumping to a special character, use character mode instead.
- ```Ctrl/Super + Shift + ;```
- ```