Sublime Forum

Plugin for highlight white spaces

#1

I came across this plugin that will enable me to toggle whitespace.
sublime.wbond.net/packages/High … hitespaces

But I am completely clueless about the installation procedure.

[quote]Go to your Packages subdirectory under ST2’s data directory:

Windows: %APPDATA%\Sublime Text 2
OS X: ~/Library/Application Support/Sublime Text 2/Packages
Linux: ~/.config/sublime-text-2
Portable Installation: Sublime Text 2/Data
Then clone this repository:

git clone git://github.com/disq/HighlightWhitespaces.git[/quote]

What is git clone? I have some vague idea that git is like a source code mgmt/version control tool but that’s the extent of my knowledge. I even installed GIT hub for windows on my PC but am still in the dark.

Any suggestions?

0 Likes

#2

All packages you can find on sublime.wbond.net are installable using Package Control from within Sublime Text itself. See also sublime.wbond.net/docs/usage

If you already have PC installed, just open the command palette,select “Package Control: Install Package”, wait for a moment and then enter the package’s name you want to download.

You are right in that git is a version control system (VCS). The command you are referring to is supposed to be run in the command line, but afaik Github for Windows does not insert a path to git in your %PATH%. git-scm.com/downloads should do that instead and also provide a nice CLI, if you prefer that. If you like using GUIs, then Github for Windows is perfectly fine.

I highly recommend reading a guide about git if you are more interested in this, it will definitely improve your life (as it did mine).

try.github.io/
git-scm.com/book/en/Getting-Started-Git-Basics
help.github.com/articles/set-up-git
atlassian.com/de/git/tutorial/git-basics
and more …

0 Likes

#3

[quote=“FichteFoll”]All packages you can find on sublime.wbond.net are installable using Package Control from within Sublime Text itself. See also sublime.wbond.net/docs/usage

If you already have PC installed, just open the command palette,select “Package Control: Install Package”, wait for a moment and then enter the package’s name you want to download.

You are right in that git is a version control system (VCS). The command you are referring to is supposed to be run in the command line, but afaik Github for Windows does not insert a path to git in your %PATH%. git-scm.com/downloads should do that instead and also provide a nice CLI, if you prefer that. If you like using GUIs, then Github for Windows is perfectly fine.

I highly recommend reading a guide about git if you are more interested in this, it will definitely improve your life (as it did mine).

try.github.io/
git-scm.com/book/en/Getting-Started-Git-Basics
help.github.com/articles/set-up-git
atlassian.com/de/git/tutorial/git-basics
and more …[/quote]

Thank you. I did find that plugin as a package and was able to install it from Package Control. The keyboard shortcut Ctrl-Alt-W doesn’t work tho. I tried to do a keymapping like I had done with a couple of the macros I had created but I couldn’t figure out how to do one for a plug-in.

Thanks again for the links to github. if nothing else I will look at the 15 minute guide. I wanted to modify my environment variable to set a path for git but couldn’t figure out where the executable was. Anyway it is of secondary importance now.

0 Likes

#4

FWIW, the git binaries from “Github for Windows” on my machine reside in:

c:\Users\<user>\AppData\Local\GitHub\PortableGit_054f2e797ebafd44a30203088cd3d58663c627ef\bin\
0 Likes