Giter Site home page Giter Site logo

config-sublime's Introduction

config-sublime

  • Useful when setting up your text editor, or re-setting it up!
  • Feel free to fork or simply copy for yourself.

Plugins

The plugins file you have to install with the Sublime package manager by going to https://packagecontrol.io/installation. Then you press CTRL+SHIFT+P and type Inst and you should see Install Package.

Install Package Control

Go to View > Show Console menu or CTRL+(tilde) and enter the following, then restart. Once installed typeCTRL + SHIFT + P` and type Install and you should see Package Control.

import urllib.request,os,hashlib; h = '2915d1851351e5ee549c20394736b442' + '8bc59f460fa1548d1514676163dafc88'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)

User Settings

You can copy my user settings if you like them. Anything prefixed with an _ underscore means its not being used, that's because you can't comment in JSON so it's there incase you want to use it.

Hotkeys

All Commands below are for in Windows and Linux, as they will be the same. Apple commands will be different, sorry I don't use Apple.

Method Key Combo
UI
Overlay Command Palette CTRL + SHIFT + P
Fuzzy File Search CTRL + p
Show Workspaces CTRL + ALT + P
View File Scope CTRL + R
Go to Definition F12
Next Tab Forward CTRL + TAB
Next Tab Backwards CTRL + SHIFT + TAB
Toggle Sidebar CTRL + (K + B) - Hold CTRL the entire time
Code
Find Matching Bracket CTRL + M
Find in File CTRL + F
Replace in File CTRL + H
Find or Replace in Folder CTRL + SHIFT + F
Go to Line CTRL + G
Delete Line CTRL + E
Duplicate Line CTRL + D
Move Line Up CTRL + SHIFT + UP
Move Line Down CTRL + SHIFT + DOWN
Moving By Words CTRL + LEFT or RIGHT
Select Words SHIFT + LEFT or RIGHT
Remove Word CTRL + DELETE
Fold Scope CTRL + [
Unfold Scope CTRL + ]
Fold Entire Scope CTRL + SHIFT + [
Unfold Entire Scope CTRL + SHIFT + ]
Basics
Indent TAB or CTRL + ]
Unindent SHIFT + TAB or CTRL + [
Select All CTRL + A

Custom Snippets

Stole this off @seneca in #orlandodevs on Slack

{ "keys": ["leftSHIFT+super+i"], "command": "insert_snippet", "args": {"contents": "import ipdb; ipdb.set_trace()"}}`

config-sublime's People

Contributors

codezues avatar jream avatar

Watchers

James Cloos avatar Bruce Koehler avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.