Skip to content

demoManito/hammerspoon-extend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hammerspoon-extend

hammerspoon extend apply (http://www.hammerspoon.org/go/#helloworld)

configuration instruction

  1. install hammerspoon
    brew install hammerspoon

  2. See to .hammerspoon file
    cd ~/.hammerspoon

  3. create file
    touch init.lua

  4. init.lua import content

    -- copy
    -- 首字母和下划线首字母转驼峰
    require "hammerspoon-extend.copy.letters_capital"
    -- 下划线转驼峰
    require "hammerspoon-extend.copy.hump_strikethrough"
    -- 中划线转驼峰
    require "hammerspoon-extend.copy.hump"
    -- 剪切历史
    require "hammerspoon-extend.copy.histroy"
    -- 复制 PR
    require "hammerspoon-extend.copy.pick_branch"
    -- screen
    -- 寻找鼠标
    require "hammerspoon-extend.screen.mouse"
   
    hs.hotkey.bind({"cmd", "alt", "ctrl"}, "W", function()
        hs.alert.show("Hello World!")
    end)
  1. clone hammerspoon-extend folder
    git clone git@github.com:demoManito/hammerspoon-extend.git

  2. refresh hammerspoon config
    image

how to use

search project Search in the project: hs.hotkey.bind, the binding of key, example: image

extra

Increase content in a separate folder

About

hammerspoon extend apply

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages