Advertisement
Guest User

Untitled

a guest
Jan 30th, 2015
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. ## Managing Tabs
  2.  
  3. * `Ctrl+PgUp`/`PgDown`: Switch between tabs on the stack
  4. * `Ctrl+Tab`: Switch between tabs in order (like most browsers)
  5. * `gt`: alternate vim-like keybinding
  6. * `Ctrl+W`: Close
  7. * `Ctrl+Shift+t` opens last closed tab (like browsers)
  8.  
  9. ## Side Bar
  10.  
  11. * `Ctrl+K, Ctrl+B`: toggle sidebar and brings focus
  12. * `Esc` returns
  13.  
  14. ## Interacting with external stuff
  15.  
  16. * `Ctrl-Enter` opens terminal in directory of the current file
  17.  
  18. ## Search
  19.  
  20. * `Ctrl-P` searches files in the project
  21. * `Ctrl-Shift-P` searches commands
  22. * `Ctrl-Alt-P` searches projects
  23.  
  24. ## Linting
  25.  
  26. Must install some prereqs:
  27. * `sudo npm install -g jshint`
  28.  
  29. ## Folding
  30.  
  31. * `Ctrl-Shift-[` fold current
  32. * `Ctrl-Shift-]` unfold current block
  33. * `Ctrl-K, Ctrl-1` fold everything at top level
  34. * `Ctrl-K, Ctrl-2` fold everything at second level
  35. * `Ctrl-K, Ctrl-0` unfold everything
  36.  
  37.  
  38. ## Misc stuff (TODO)
  39. I recommend using SublimeLinter-pyflakes and SublimeLinter-pep8.
  40.  
  41. I also use SublimeLinter-jshint, SublimeLinter-pyyaml, SublimeLinter-csslint, SublimeLinter-html-tidy, and SublimeLinter-json.
  42.  
  43. Most of these linters have dependencies associated with them, so please read the installation instructions before installing.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement