diff --git a/espanso/espanso/config/default.yml b/espanso/espanso/config/default.yml new file mode 100644 index 0000000..9f39dfc --- /dev/null +++ b/espanso/espanso/config/default.yml @@ -0,0 +1,40 @@ +# espanso configuration file + +# For a complete introduction, visit the official docs at: https://espanso.org/docs/ + +# You can use this file to define the global configuration options for espanso. +# These are the parameters that will be used by default on every application, +# but you can also override them on a per-application basis. + +# To make customization easier, this file contains some of the commonly used +# parameters. Feel free to uncomment and tune them to fit your needs! + +# --- Toggle key + +# Customize the key used to disable and enable espanso (when double tapped) +# Available options: CTRL, SHIFT, ALT, CMD, OFF +# You can also specify the key variant, such as LEFT_CTRL, RIGHT_SHIFT, etc... +# toggle_key: ALT +# You can also disable the toggle key completely with +# toggle_key: OFF + +# --- Injection Backend + +# Espanso supports multiple ways of injecting text into applications. Each of +# them has its quirks, therefore you may want to change it if you are having problems. +# By default, espanso uses the "Auto" backend which should work well in most cases, +# but you may want to try the "Clipboard" or "Inject" backend in case of issues. +# backend: Clipboard + +# --- Auto-restart + +# Enable/disable the config auto-reload after a file change is detected. +# auto_restart: false + +# --- Clipboard threshold + +# Because injecting long texts char-by-char is a slow operation, espanso automatically +# uses the clipboard if the text is longer than 'clipboard_threshold' characters. +# clipboard_threshold: 100 + +# For a list of all the available options, visit the official docs at: https://espanso.org/docs/ diff --git a/espanso/espanso/match/base.yml b/espanso/espanso/match/base.yml new file mode 100644 index 0000000..f671b22 --- /dev/null +++ b/espanso/espanso/match/base.yml @@ -0,0 +1,62 @@ +# espanso match file + +# For a complete introduction, visit the official docs at: https://espanso.org/docs/ + +# You can use this file to define the base matches (aka snippets) +# that will be available in every application when using espanso. + +# Matches are substitution rules: when you type the "trigger" string +# it gets replaced by the "replace" string. +matches: + # Simple text replacement + - trigger: ":espanso" + replace: "Hi there!" + + # NOTE: espanso uses YAML to define matches, so pay attention to the indentation! + + # But matches can also be dynamic: + + # Print the current date + - trigger: ":date" + replace: "{{mydate}}" + vars: + - name: mydate + type: date + params: + format: "%m/%d/%Y" + + # Email + - trigger: ":@hhe" + replace: "mhoush@houshhomeenergy.com" + - trigger: ":@service" + replace: "service@houshhomeenergy.com" + - trigger: ":@me" + replace: "michael@mhoush.com" + + # House Call Pro + - trigger: ":cc" + replace: "Client Concern" + - trigger: ":diag" + replace: "Diagnostic" + - trigger: ":wd" + replace: "Work Description" + - trigger: ":wp" # I often mistype for this. + replace: "Work Description" + + # Iso-seconds + - trigger: ":isosec" + replace: "{{output}}" + vars: + - name: output + type: shell + params: + cmd: "isosec" + + # Youtube + - trigger: ":yt" + replace: "https://www.youtube.com/channel/UCb58SeURd5bObfTiL0KoliA" + + # Discord + - trigger: ":discord" + replace: "https://discord.gg/W3p5GJfjry" + diff --git a/macOS/.config/iterm/com.googlecode.iterm2.plist b/macOS/.config/iterm/com.googlecode.iterm2.plist new file mode 100644 index 0000000..5d6165e --- /dev/null +++ b/macOS/.config/iterm/com.googlecode.iterm2.plist @@ -0,0 +1,768 @@ + + + + + AllowClipboardAccess + + AppleAntiAliasingThreshold + 1 + ApplePressAndHoldEnabled + + AppleScrollAnimationEnabled + 0 + AppleSmoothFixedFontsSizeThreshold + 1 + AppleWindowTabbingMode + manual + Default Bookmark Guid + A30A702C-1CC2-4C2A-A29F-505BC017C0A6 + DoubleClickPerformsSmartSelection + + EnableProxyIcon + + HapticFeedbackForEsc + + HotkeyMigratedFromSingleToMulti + + IRMemory + 4 + New Bookmarks + + + ASCII Anti Aliased + + Ambiguous Double Width + + Ansi 0 Color + + Blue Component + 0.25882352941176473 + Color Space + sRGB + Green Component + 0.21176470588235294 + Red Component + 0.027450980392156862 + + Ansi 1 Color + + Blue Component + 0.18431372549019609 + Color Space + sRGB + Green Component + 0.19607843137254902 + Red Component + 0.86274509803921573 + + Ansi 10 Color + + Blue Component + 0.45882352941176469 + Color Space + sRGB + Green Component + 0.43137254901960786 + Red Component + 0.34509803921568627 + + Ansi 11 Color + + Blue Component + 0.51372549019607838 + Color Space + sRGB + Green Component + 0.4823529411764706 + Red Component + 0.396078431372549 + + Ansi 12 Color + + Blue Component + 0.58823529411764708 + Color Space + sRGB + Green Component + 0.58039215686274515 + Red Component + 0.51372549019607838 + + Ansi 13 Color + + Blue Component + 0.7686274509803922 + Color Space + sRGB + Green Component + 0.44313725490196076 + Red Component + 0.42352941176470588 + + Ansi 14 Color + + Blue Component + 0.63137254901960782 + Color Space + sRGB + Green Component + 0.63137254901960782 + Red Component + 0.57647058823529407 + + Ansi 15 Color + + Blue Component + 0.8901960784313725 + Color Space + sRGB + Green Component + 0.96470588235294119 + Red Component + 0.99215686274509807 + + Ansi 2 Color + + Blue Component + 0.0 + Color Space + sRGB + Green Component + 0.59999999999999998 + Red Component + 0.52156862745098043 + + Ansi 3 Color + + Blue Component + 0.0 + Color Space + sRGB + Green Component + 0.53725490196078429 + Red Component + 0.70980392156862748 + + Ansi 4 Color + + Blue Component + 0.82352941176470584 + Color Space + sRGB + Green Component + 0.54509803921568623 + Red Component + 0.14901960784313725 + + Ansi 5 Color + + Blue Component + 0.50980392156862742 + Color Space + sRGB + Green Component + 0.21176470588235294 + Red Component + 0.82745098039215681 + + Ansi 6 Color + + Blue Component + 0.59607843137254901 + Color Space + sRGB + Green Component + 0.63137254901960782 + Red Component + 0.16470588235294117 + + Ansi 7 Color + + Blue Component + 0.83529411764705885 + Color Space + sRGB + Green Component + 0.90980392156862744 + Red Component + 0.93333333333333335 + + Ansi 8 Color + + Blue Component + 0.21176470588235294 + Color Space + sRGB + Green Component + 0.16862745098039217 + Red Component + 0.0 + + Ansi 9 Color + + Blue Component + 0.086274509803921567 + Color Space + sRGB + Green Component + 0.29411764705882354 + Red Component + 0.79607843137254897 + + BM Growl + + Background Color + + Blue Component + 0.21176470588235294 + Color Space + sRGB + Green Component + 0.16862745098039217 + Red Component + 0.0 + + Background Image Location + + Badge Color + + Alpha Component + 0.5 + Blue Component + 0.0 + Color Space + sRGB + Green Component + 0.14910027384757996 + Red Component + 1 + + Blinking Cursor + + Blur + + Bold Color + + Blue Component + 0.63137254901960782 + Color Space + sRGB + Green Component + 0.63137254901960782 + Red Component + 0.57647058823529407 + + Bound Hosts + + Character Encoding + 4 + Close Sessions On End + + Columns + 180 + Command + + Cursor Color + + Blue Component + 0.58823529411764708 + Color Space + sRGB + Green Component + 0.58039215686274515 + Red Component + 0.51372549019607838 + + Cursor Guide Color + + Alpha Component + 0.25 + Blue Component + 1 + Color Space + sRGB + Green Component + 0.92681378126144409 + Red Component + 0.70214027166366577 + + Cursor Text Color + + Blue Component + 0.25882352941176473 + Color Space + sRGB + Green Component + 0.21176470588235294 + Red Component + 0.027450980392156862 + + Custom Command + No + Custom Directory + No + Default Bookmark + No + Description + Default + Disable Window Resizing + + Flashing Bell + + Foreground Color + + Blue Component + 0.58823529411764708 + Color Space + sRGB + Green Component + 0.58039215686274515 + Red Component + 0.51372549019607838 + + Guid + A30A702C-1CC2-4C2A-A29F-505BC017C0A6 + Horizontal Spacing + 1 + Idle Code + 0 + Jobs to Ignore + + rlogin + ssh + slogin + telnet + + Keyboard Map + + 0x2d-0x40000 + + Action + 11 + Text + 0x1f + + 0x32-0x40000 + + Action + 11 + Text + 0x00 + + 0x33-0x40000 + + Action + 11 + Text + 0x1b + + 0x34-0x40000 + + Action + 11 + Text + 0x1c + + 0x35-0x40000 + + Action + 11 + Text + 0x1d + + 0x36-0x40000 + + Action + 11 + Text + 0x1e + + 0x37-0x40000 + + Action + 11 + Text + 0x1f + + 0x38-0x40000 + + Action + 11 + Text + 0x7f + + 0xf700-0x220000 + + Action + 10 + Text + [1;2A + + 0xf700-0x240000 + + Action + 10 + Text + [1;5A + + 0xf700-0x260000 + + Action + 10 + Text + [1;6A + + 0xf700-0x280000 + + Action + 11 + Text + 0x1b 0x1b 0x5b 0x41 + + 0xf701-0x220000 + + Action + 10 + Text + [1;2B + + 0xf701-0x240000 + + Action + 10 + Text + [1;5B + + 0xf701-0x260000 + + Action + 10 + Text + [1;6B + + 0xf701-0x280000 + + Action + 11 + Text + 0x1b 0x1b 0x5b 0x42 + + 0xf702-0x220000 + + Action + 10 + Text + [1;2D + + 0xf702-0x240000 + + Action + 10 + Text + [1;5D + + 0xf702-0x260000 + + Action + 10 + Text + [1;6D + + 0xf702-0x280000 + + Action + 11 + Text + 0x1b 0x1b 0x5b 0x44 + + 0xf703-0x220000 + + Action + 10 + Text + [1;2C + + 0xf703-0x240000 + + Action + 10 + Text + [1;5C + + 0xf703-0x260000 + + Action + 10 + Text + [1;6C + + 0xf703-0x280000 + + Action + 11 + Text + 0x1b 0x1b 0x5b 0x43 + + 0xf704-0x20000 + + Action + 10 + Text + [1;2P + + 0xf705-0x20000 + + Action + 10 + Text + [1;2Q + + 0xf706-0x20000 + + Action + 10 + Text + [1;2R + + 0xf707-0x20000 + + Action + 10 + Text + [1;2S + + 0xf708-0x20000 + + Action + 10 + Text + [15;2~ + + 0xf709-0x20000 + + Action + 10 + Text + [17;2~ + + 0xf70a-0x20000 + + Action + 10 + Text + [18;2~ + + 0xf70b-0x20000 + + Action + 10 + Text + [19;2~ + + 0xf70c-0x20000 + + Action + 10 + Text + [20;2~ + + 0xf70d-0x20000 + + Action + 10 + Text + [21;2~ + + 0xf70e-0x20000 + + Action + 10 + Text + [23;2~ + + 0xf70f-0x20000 + + Action + 10 + Text + [24;2~ + + 0xf729-0x20000 + + Action + 10 + Text + [1;2H + + 0xf729-0x40000 + + Action + 10 + Text + [1;5H + + 0xf72b-0x20000 + + Action + 10 + Text + [1;2F + + 0xf72b-0x40000 + + Action + 10 + Text + [1;5F + + + Link Color + + Alpha Component + 1 + Blue Component + 0.73422712087631226 + Color Space + sRGB + Green Component + 0.35915297269821167 + Red Component + 0.0 + + Mouse Reporting + + Name + mhoush + Non Ascii Font + icomoon 12 + Non-ASCII Anti Aliased + + Normal Font + InconsolataNerdFontCompleteM-Regular 20 + Option Key Sends + 0 + Prompt Before Closing 2 + + Right Option Key Sends + 0 + Rows + 60 + Screen + -1 + Scrollback Lines + 1000 + Selected Text Color + + Blue Component + 0.63137254901960782 + Color Space + sRGB + Green Component + 0.63137254901960782 + Red Component + 0.57647058823529407 + + Selection Color + + Blue Component + 0.25882352941176473 + Color Space + sRGB + Green Component + 0.21176470588235294 + Red Component + 0.027450980392156862 + + Send Code When Idle + + Shortcut + + Show Status Bar + + Silence Bell + + Sync Title + + Tags + + Terminal Type + xterm-256color + Transparency + 0.0 + Unlimited Scrollback + + Use Bold Font + + Use Bright Bold + + Use Italic Font + + Use Non-ASCII Font + + Vertical Spacing + 1 + Visual Bell + + Window Type + 0 + Working Directory + /Users/michael + + + OnlyWhenMoreTabs + + OpenArrangementAtStartup + + OpenNoWindowsAtStartup + + PointerActions + + Button,1,1,, + + Action + kContextMenuPointerAction + + Button,2,1,, + + Action + kPasteFromClipboardPointerAction + + Gesture,ThreeFingerSwipeDown,, + + Action + kPrevWindowPointerAction + + Gesture,ThreeFingerSwipeLeft,, + + Action + kPrevTabPointerAction + + Gesture,ThreeFingerSwipeRight,, + + Action + kNextTabPointerAction + + Gesture,ThreeFingerSwipeUp,, + + Action + kNextWindowPointerAction + + + PromptOnQuit + + QuitWhenAllWindowsClosed + + SoundForEsc + + SwitchPaneModifier + 1 + TabStyleWithAutomaticOption + 5 + VisualIndicatorForEsc + + kCPKSelectionViewPreferredModeKey + 5 + kCPKSelectionViewShowHSBTextFieldsKey + + + diff --git a/nvim/lua/config/lsp.lua b/nvim/lua/config/lsp.lua index 45aaa9f..2eb3b19 100644 --- a/nvim/lua/config/lsp.lua +++ b/nvim/lua/config/lsp.lua @@ -145,3 +145,6 @@ for _, lsp in ipairs(servers) do }) end +-- Test source-kit +require'lspconfig'.sourcekit.setup{} +