communicationvef.blogg.se

Hammerspoon app
Hammerspoon app











  1. Hammerspoon app install#
  2. Hammerspoon app update#
  3. Hammerspoon app code#
  4. Hammerspoon app plus#

I get good mileage out of my shortcuts in ~/.bash_profile.ĭon’t know what this is? Try this brief article or read about it on Wikipedia.įor prototyping new ideas, I love Project Jupyter. I use the default Terminal app and use the built-in shell. You can write your own commands too! More about Hammerspoon here.ĭon’t know what this is? Try this tutorial or read about it on Wikipedia. I recommend opening Hammerspoon, clicking on Preferences (light switch icon), and checking “Launch Hammerspoon at startup”.

  • I,J,K,L: move windows up, left, down, right.
  • ⇩ (down arrow): resize height to halfscreen.
  • ⇦ or ⇨ (left or right arrow): resize to halfscreen on left or right side.
  • Hammerspoon app plus#

    Custom shortcuts to resize and move windows.įirst, download the Hammerspoon app here.Īfter you launch and start the program, press ⌘-O (Cmd-O) and copy-paste this config file.Īll of the commands use a “mash” (Ctrl-Option-⌘) plus one letter: Perfect for quick notes and ideas.Ĭode is here.

    hammerspoon app

    You get a scratchpad stuck on the top toolbar. If I ever go back to Mac, I would use all of these again. Advice is gratis 😉Īs of 2020, I am running Linux.

    Hammerspoon app code#

    interpreter-path: The Python interpreter path of the Hammerspoon source code repository.Įxample: " use what works for me, I adapt quickly, and I’d prefer not to pay for it.repository-path: The Hammerspoon source code repository path.With that done, the setting takes two options:

    Hammerspoon app install#

    pip install -user -r requirements.txt in the Hammerspoon repo) Install the required Python dependencies (e.g.To the Hammerspoon source code repository with its python dependency. To generate the extra documentation (HTML/Markdown), you need to have access When generating documentation for the Spoon, the editor's current active file must be a a. The Spoon template will get created in the Hammerspoon: Spoons: Path configuration Hammerspoon: Reload Hammerspoon configuration command can be executed via a button in the Editor Toolbar.

    Hammerspoon app update#

    Hammerspoon: Update completion documentation Hammerspoon: Generate Spoon Documentation Toggle connection that allows incoming data to be executed as vscode commands Hammerspoon: Reload Hammerspoon configuration Typing in one of the following Command Name: Command Name (see Key Bindings for Visual Studio Code for more information).Īll commands are available by opening the Command Palette Command+Shift+P and Available Commandsīy default, the extension does not provide any shortcut. You can see some debugging information inside the Output window: Hammerspoon Network. Via the command: Hammerspoon: Toggle server connection or via the button in lower the You can write arguments inside curly brackets and delimit them by a comma: ')įor the extension to accept incoming data, you need to start the server Hs.timer.doAfter(1, function() socket:disconnect() end) calling socket:disconnect() immediately will fail to register the message You can execute vscode commands from Hammerspoon by sending data via the socket module. This method will fail under some circumstances (multi nested method calls,Ĭomplex scripts, "classes" etc.) but it gets the job done for the most basic ones. Parses Hammerspoon documentation in search of the object information. The way it works is by creating a symbol table of the script.

    hammerspoon app

    This extension is a cheap and dirty attempt to create an IntelliSense environment for Hammerspoon.

  • Hammerspoon console output to Visual Studio Code output window.
  • Execute vscode commands from Hammerspoon via socket connection.
  • Reload Hammerspoon configuration command.
  • Signature help for functions arguments.
  • Hover information for types and documentation.
  • Visual Studio Code Hammerspoon extension for autocomplete and more.













    Hammerspoon app