advantage2 keys switch
This commit is contained in:
parent
4b93f89834
commit
5c7b6bd183
@ -1,4 +1,4 @@
|
|||||||
{
|
{ :devices {:adv2 [{:vendor_id 10730 :product_id 258}]}
|
||||||
:profiles {:Default {:default true
|
:profiles {:Default {:default true
|
||||||
:alone 200
|
:alone 200
|
||||||
:delay 500
|
:delay 500
|
||||||
@ -10,11 +10,17 @@
|
|||||||
|
|
||||||
:templates {:open "open -a '%s'"}
|
:templates {:open "open -a '%s'"}
|
||||||
|
|
||||||
:main [{:des "Caps->English, LShift->Russian"
|
:main [{:des "Backslash<->open_bracket on advantage2"
|
||||||
|
:rules [:adv2 [:##open_bracket :backslash :ru]
|
||||||
|
[:##backslash :open_bracket :ru]]}
|
||||||
|
|
||||||
|
{:des "Caps->English, LShift->Russian"
|
||||||
:rules [[:##left_shift :left_shift nil {:alone {:input :ru}}]
|
:rules [[:##left_shift :left_shift nil {:alone {:input :ru}}]
|
||||||
[:##caps_lock ["hyper" 1] nil {:alone {:input :en}
|
[:##caps_lock ["hyper" 1] nil {:alone {:input :en}
|
||||||
:held :caps_lock
|
:held :caps_lock
|
||||||
:afterup ["hyper" 0]}]]}
|
:afterup ["hyper" 0]}]]}
|
||||||
|
|
||||||
|
|
||||||
{:des "Caps+T to start Kitty, Caps+B->Bing, Caps+G->Bard, Caps+O->Poe, Caps+P->ChatGPT4, Caps+␣->AllGPT"
|
{:des "Caps+T to start Kitty, Caps+B->Bing, Caps+G->Bard, Caps+O->Poe, Caps+P->ChatGPT4, Caps+␣->AllGPT"
|
||||||
:rules [:hyper [:t [:open "/Applications/kitty.app"]]
|
:rules [:hyper [:t [:open "/Applications/kitty.app"]]
|
||||||
[:b [:open "/Users/anton/Applications/Brave Browser Apps.localized/Bing AI.app"]]
|
[:b [:open "/Users/anton/Applications/Brave Browser Apps.localized/Bing AI.app"]]
|
||||||
@ -28,6 +34,7 @@
|
|||||||
{:des "RShift->comma"
|
{:des "RShift->comma"
|
||||||
:rules [[:##right_shift :right_shift :ru {:alone :!R6}]
|
:rules [[:##right_shift :right_shift :ru {:alone :!R6}]
|
||||||
[:##right_shift :right_shift :en {:alone :comma}]]}]
|
[:##right_shift :right_shift :en {:alone :comma}]]}]
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -26,6 +26,7 @@ require("lazy").setup({
|
|||||||
{ "lukas-reineke/indent-blankline.nvim" },
|
{ "lukas-reineke/indent-blankline.nvim" },
|
||||||
{ "mbbill/undotree" },
|
{ "mbbill/undotree" },
|
||||||
{ "phaazon/hop.nvim" },
|
{ "phaazon/hop.nvim" },
|
||||||
|
{ "edluffy/hologram.nvim" },
|
||||||
{ "echasnovski/mini.nvim", version = "*" },
|
{ "echasnovski/mini.nvim", version = "*" },
|
||||||
{
|
{
|
||||||
"williamboman/mason.nvim",
|
"williamboman/mason.nvim",
|
||||||
@ -67,6 +68,10 @@ require("mini.bracketed").setup()
|
|||||||
require("mini.surround").setup()
|
require("mini.surround").setup()
|
||||||
require("mini.completion").setup()
|
require("mini.completion").setup()
|
||||||
|
|
||||||
|
require('hologram').setup{
|
||||||
|
auto_display = true -- WIP automatic markdown image display, may be prone to breaking
|
||||||
|
}
|
||||||
|
|
||||||
require("mason").setup({
|
require("mason").setup({
|
||||||
ui = {
|
ui = {
|
||||||
icons = {
|
icons = {
|
||||||
|
@ -24,7 +24,7 @@ end
|
|||||||
|
|
||||||
|
|
||||||
alias b "bat -p --pager=never"
|
alias b "bat -p --pager=never"
|
||||||
|
alias l "ls -la"
|
||||||
abbr lsn littlesnitch
|
abbr lsn littlesnitch
|
||||||
|
|
||||||
function ss
|
function ss
|
||||||
|
@ -258,6 +258,55 @@
|
|||||||
"basic.to_if_held_down_threshold_milliseconds" : 800
|
"basic.to_if_held_down_threshold_milliseconds" : 800
|
||||||
},
|
},
|
||||||
"rules" : [ {
|
"rules" : [ {
|
||||||
|
"description" : "Backslash<->open_bracket on advantage2",
|
||||||
|
"manipulators" : [ {
|
||||||
|
"from" : {
|
||||||
|
"key_code" : "open_bracket",
|
||||||
|
"modifiers" : {
|
||||||
|
"optional" : [ "any" ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"to" : [ {
|
||||||
|
"key_code" : "backslash"
|
||||||
|
} ],
|
||||||
|
"conditions" : [ {
|
||||||
|
"input_sources" : [ {
|
||||||
|
"language" : "ru"
|
||||||
|
} ],
|
||||||
|
"type" : "input_source_if"
|
||||||
|
}, {
|
||||||
|
"identifiers" : [ {
|
||||||
|
"vendor_id" : 10730,
|
||||||
|
"product_id" : 258
|
||||||
|
} ],
|
||||||
|
"type" : "device_if"
|
||||||
|
} ],
|
||||||
|
"type" : "basic"
|
||||||
|
}, {
|
||||||
|
"from" : {
|
||||||
|
"key_code" : "backslash",
|
||||||
|
"modifiers" : {
|
||||||
|
"optional" : [ "any" ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"to" : [ {
|
||||||
|
"key_code" : "open_bracket"
|
||||||
|
} ],
|
||||||
|
"conditions" : [ {
|
||||||
|
"input_sources" : [ {
|
||||||
|
"language" : "ru"
|
||||||
|
} ],
|
||||||
|
"type" : "input_source_if"
|
||||||
|
}, {
|
||||||
|
"identifiers" : [ {
|
||||||
|
"vendor_id" : 10730,
|
||||||
|
"product_id" : 258
|
||||||
|
} ],
|
||||||
|
"type" : "device_if"
|
||||||
|
} ],
|
||||||
|
"type" : "basic"
|
||||||
|
} ]
|
||||||
|
}, {
|
||||||
"description" : "Caps->English, LShift->Russian",
|
"description" : "Caps->English, LShift->Russian",
|
||||||
"manipulators" : [ {
|
"manipulators" : [ {
|
||||||
"to_if_alone" : [ {
|
"to_if_alone" : [ {
|
||||||
|
Loading…
Reference in New Issue
Block a user