polyfill
Tweaks and fixes for Sublime Text.
Details
Installs
- Total 355
- Win 189
- Mac 74
- Linux 92
Feb 4 | Feb 3 | Feb 2 | Feb 1 | Jan 31 | Jan 30 | Jan 29 | Jan 28 | Jan 27 | Jan 26 | Jan 25 | Jan 24 | Jan 23 | Jan 22 | Jan 21 | Jan 20 | Jan 19 | Jan 18 | Jan 17 | Jan 16 | Jan 15 | Jan 14 | Jan 13 | Jan 12 | Jan 11 | Jan 10 | Jan 9 | Jan 8 | Jan 7 | Jan 6 | Jan 5 | Jan 4 | Jan 3 | Jan 2 | Jan 1 | Dec 31 | Dec 30 | Dec 29 | Dec 28 | Dec 27 | Dec 26 | Dec 25 | Dec 24 | Dec 23 | Dec 22 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
WHAT POLYFILL IS
Polyfill is a collection of fixes, commands, and other features for Sublime Text. It is inspired by Vim plugins such as nerdtree and ctrlp.vim.
FEATURES
- Navigate sidebar (tree view) with
j
andk
- Navigate sidebar (tree view) nodes with go to parent node
p
, rootP
, lastJ
, and more - Navigate overlays and pop-ups with
ctrl+j
andctrl+k
- Navigate auto-complete pop-up with
ctrl+n
andctrl+p
- Toggle sidebar with
,d
when using Vintage/Vintageous - Toggle indent guides command, and line numbers, rulers, invisibles, and more
- Open recent project command, Sort user settings command, and more
COMMANDS
Application: Clear Window
Application: Close Window
Application: Enable Color Scheme
Application: Enable Theme
Application: New File
Application: New Window
Application: Open File
Application: Open Folder
Application: Quit
Application: Reset Window
Project: Open Recent
Project: Open
Project: Switch
Resize Groups Almost Equally
Sort User Settings
Toggle Indent Guide
Toggle Invisibles
Toggle Line Numbers
Toggle Preview on Click
Toggle Rulers
Toggle Save on Lost Focus
View: Groups: Move File to New Group
KEY BINDINGS
Tree View
Key | Description |
---|---|
j | down |
k | up |
ctrl+</kbd> | reveal active file |
q | close sidebar |
,d | toggle sidebar in vintage/vintageous |
h | close node / go to parent node |
l | open node |
p | go to parent node |
P | go to root node |
J | go to last child |
The following tree view keymaps are not enabled by default. Set polyfill.experimental_features
to true to enable them. See the configuration section for more details.
Key | Description |
---|---|
a | add file |
A | add folder |
d | duplicate |
f | find in files |
m or f2 | move/rename |
i | open in split (not implemented yet) #1 |
s | open in vsplit (not implemented yet) #1 |
t | open in tab (not implemented yet) #1 |
Overlay
Key | Description |
---|---|
ctrl+j | down |
ctrl+k | up |
ctrl+i | open in split (requires Origami, see Installation) |
ctrl+s | open in vsplit (requires Origami, see Installation) |
ctrl+t | open in tab |
Auto-complete pop-up
Key | Description |
---|---|
ctrl+j or ctrl+n | down / next |
ctrl+k or ctrl+p | up / previous |
CONFIGURATION
Some features are considered experimental and require the “experimental_features” settings to be enabled.
Key | Description | Type | Default |
---|---|---|---|
polyfill.experimental_features |
Enable experimental features. | boolean |
false |
polyfill.keymaps |
Disable the default keymaps. | boolean |
true |
polyfill.vi_tree_view_toggle |
Enable vi tree view toggle. | boolean |
true |
User Settings
Menu > Preferences > Settings - User
{
"polyfill.{Key}": "{Value}"
}
Per-Project Settings
Menu > Project > Edit Project
{
"settings": {
"polyfill.{Key}": "{Value}"
}
}
INSTALLATION
Some features are considered experimental and require the “experimental_features” settings to be enabled. These features are disabled by default. See Configurations for more details.
- Some features require NeoVintageous
~1.0
. - Some features require Origami.
Package Control installation
The preferred method of installation is Package Control.
Manual installation
Close Sublime Text, then download or clone this repository to a directory named polyfill
in the Sublime Text Packages directory for your platform:
- Linux:
git clone https://github.com/gerardroche/sublime-polyfill.git ~/.config/sublime-text-3/Packages/polyfill
- OSX:
git clone https://github.com/gerardroche/sublime-polyfill.git ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/polyfill
- Windows:
git clone https://github.com/gerardroche/sublime-polyfill.git %APPDATA%\Sublime/ Text/ 3/Packages/polyfill
LICENSE
Released under the BSD 3-Clause License.