Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| fa3b06134f | |||
| 5691bd9fdc | |||
| 27c2569984 |
28
capslock.ahk
Executable file
28
capslock.ahk
Executable file
@@ -0,0 +1,28 @@
|
|||||||
|
#Requires AutoHotkey v2.0
|
||||||
|
|
||||||
|
SetCapsLockState "AlwaysOff"
|
||||||
|
|
||||||
|
Capslock::
|
||||||
|
{
|
||||||
|
Send "{LControl Down}"
|
||||||
|
KeyWait("CapsLock")
|
||||||
|
Send "{LControl Up}"
|
||||||
|
if ( A_PriorKey = "CapsLock" )
|
||||||
|
{
|
||||||
|
Send "{Esc}"
|
||||||
|
}
|
||||||
|
SetCapsLockState("Off")
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
::..date::
|
||||||
|
{
|
||||||
|
Send A_YYYY "-" A_MM "-" A_DD
|
||||||
|
Send A_EndChar
|
||||||
|
}
|
||||||
|
|
||||||
|
::..time::
|
||||||
|
{
|
||||||
|
Send A_Hour ":" A_Min
|
||||||
|
Send A_EndChar
|
||||||
|
}
|
||||||
44
espanso/config/default.yml
Normal file
44
espanso/config/default.yml
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
# 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
search_shortcut: off
|
||||||
|
show_notifications: false
|
||||||
22
espanso/match/base.yml
Normal file
22
espanso/match/base.yml
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
# espanso match file
|
||||||
|
|
||||||
|
matches:
|
||||||
|
|
||||||
|
# Print the current date
|
||||||
|
- trigger: "..date"
|
||||||
|
replace: "{{mydate}}"
|
||||||
|
vars:
|
||||||
|
- name: mydate
|
||||||
|
type: date
|
||||||
|
params:
|
||||||
|
format: "%Y-%m-%d"
|
||||||
|
|
||||||
|
# Print the current time
|
||||||
|
- trigger: "..time"
|
||||||
|
replace: "{{mytime}}"
|
||||||
|
vars:
|
||||||
|
- name: mytime
|
||||||
|
type: date
|
||||||
|
params:
|
||||||
|
format: "%H:%M"
|
||||||
|
|
||||||
1
espanso/readme.md
Normal file
1
espanso/readme.md
Normal file
@@ -0,0 +1 @@
|
|||||||
|
https://espanso.org/
|
||||||
8
keyd/default.conf
Normal file
8
keyd/default.conf
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
[ids]
|
||||||
|
*
|
||||||
|
|
||||||
|
[main]
|
||||||
|
capslock = overload(control, esc)
|
||||||
|
|
||||||
|
[shift]
|
||||||
|
capslock = capslock
|
||||||
1
keyd/readme.md
Normal file
1
keyd/readme.md
Normal file
@@ -0,0 +1 @@
|
|||||||
|
https://github.com/rvaiya/keyd
|
||||||
13
vscode_settings.json
Normal file
13
vscode_settings.json
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"dev.containers.defaultExtensions": [
|
||||||
|
"cnshenj.vscode-task-manager",
|
||||||
|
"github.vscode-pull-request-github"
|
||||||
|
],
|
||||||
|
"dotfiles.repository": "https://git.thomasloven.com/thomas/vsc-dotfiles.git",
|
||||||
|
"projectManager.tags": ["Personal", "Work", "cade", "hass"],
|
||||||
|
"diffEditor.ignoreTrimWhitespace": false,
|
||||||
|
"editor.formatOnSave": true,
|
||||||
|
"chat.agent.enabled": false,
|
||||||
|
"telemetry.feedback.enabled": false,
|
||||||
|
"telemetry.editStats.enabled": false
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user