feat: random push
This commit is contained in:
parent
f7cb914dd1
commit
94c8aa2189
|
@ -5,7 +5,7 @@
|
||||||
output (uinput-sink "My KMonad output"
|
output (uinput-sink "My KMonad output"
|
||||||
;; To understand the importance of the following line, see the section on
|
;; To understand the importance of the following line, see the section on
|
||||||
;; Compose-key sequences at the near-bottom of this file.
|
;; Compose-key sequences at the near-bottom of this file.
|
||||||
"/run/current-system/sw/bin/sleep 1 && /run/current-system/sw/bin/setxkbmap" -option compose:ralt")
|
"/run/current-system/sw/bin/sleep 1 && /run/current-system/sw/bin/setxkbmap -option compose:ralt")
|
||||||
cmp-seq ralt ;; Set the compose key to `RightAlt'
|
cmp-seq ralt ;; Set the compose key to `RightAlt'
|
||||||
cmp-seq-delay 5 ;; 5ms delay between each compose-key sequence press
|
cmp-seq-delay 5 ;; 5ms delay between each compose-key sequence press
|
||||||
|
|
||||||
|
@ -73,6 +73,7 @@
|
||||||
(defalias
|
(defalias
|
||||||
mth (layer-toggle math)
|
mth (layer-toggle math)
|
||||||
Mth (layer-toggle capital-math)
|
Mth (layer-toggle capital-math)
|
||||||
|
mov (layer-toggle movement)
|
||||||
mathExtra (layer-toggle math-extra)
|
mathExtra (layer-toggle math-extra)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -81,7 +82,6 @@
|
||||||
shr #(@topBar \ \_ \_ \( @shrugFace \) \_ / @topBar) ;; ¯\_(ツ)_/¯
|
shr #(@topBar \ \_ \_ \( @shrugFace \) \_ / @topBar) ;; ¯\_(ツ)_/¯
|
||||||
|
|
||||||
ml (tap-hold-next-release 200 @gl @mathExtra)
|
ml (tap-hold-next-release 200 @gl @mathExtra)
|
||||||
mll l
|
|
||||||
)
|
)
|
||||||
|
|
||||||
(defsrc
|
(defsrc
|
||||||
|
@ -99,7 +99,16 @@
|
||||||
tab q w e r t y u i o p [ ] \
|
tab q w e r t y u i o p [ ] \
|
||||||
@mth a s d f g h j k l ; ' ret
|
@mth a s d f g h j k l ; ' ret
|
||||||
lsft z x c v b n m , . / rsft
|
lsft z x c v b n m , . / rsft
|
||||||
lctl lsgt lmet lalt spc ralt rctl
|
@mov lsgt lmet lalt spc ralt rctl
|
||||||
|
)
|
||||||
|
|
||||||
|
(deflayer movement
|
||||||
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||||
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||||
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||||
|
_ _ _ _ _ _ lft down up rght _ _ _
|
||||||
|
_ _ _ _ _ _ _ _ _ _ _ _
|
||||||
|
_ _ _ _ _ _ _
|
||||||
)
|
)
|
||||||
|
|
||||||
(deflayer math
|
(deflayer math
|
||||||
|
@ -128,4 +137,3 @@
|
||||||
_ _ @Gx _ _ _ _ _ _ _ _ _
|
_ _ @Gx _ _ _ _ _ _ _ _ _
|
||||||
_ _ _ _ _ _ _
|
_ _ _ _ _ _ _
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ function M.setup()
|
||||||
|
|
||||||
if arpeggio ~= nil then
|
if arpeggio ~= nil then
|
||||||
-- Create chords
|
-- Create chords
|
||||||
arpeggio.chord("n", "jl", ":w<cr>") -- Double space to sace
|
arpeggio.chord("n", "ji", ":w<cr>") -- Saving
|
||||||
arpeggio.chord("i", "jk", "<Esc>") -- Remap Esc to jk
|
arpeggio.chord("i", "jk", "<Esc>") -- Remap Esc to jk
|
||||||
arpeggio.chord("i", "<Leader>k", "<C-k><cr>") -- Rebind digraph insertion to leader+k
|
arpeggio.chord("i", "<Leader>k", "<C-k><cr>") -- Rebind digraph insertion to leader+k
|
||||||
arpeggio.chord("inv", "<Leader>a", "<C-6><cr>") -- Rebind switching to the last pane using leader+a
|
arpeggio.chord("inv", "<Leader>a", "<C-6><cr>") -- Rebind switching to the last pane using leader+a
|
||||||
|
|
|
@ -11,7 +11,7 @@ function M.chord(mode, lhs, rhs, opts)
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
local options = helpers.mergeTables(opts, {noremap = true})
|
local options = helpers.mergeTables(opts, {noremap = true})
|
||||||
local settings = ""
|
local settings = options.settings or ""
|
||||||
|
|
||||||
if options.silent then settings = settings .. "s" end
|
if options.silent then settings = settings .. "s" end
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ function M.setup()
|
||||||
for key, value in pairs(idrisChords) do
|
for key, value in pairs(idrisChords) do
|
||||||
arpeggio.chord("n", "i" .. key,
|
arpeggio.chord("n", "i" .. key,
|
||||||
":lua require('idris2.code_action')." ..
|
":lua require('idris2.code_action')." ..
|
||||||
value .. "()<CR>")
|
value .. "()<CR>", {settings = "b"})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
},
|
},
|
||||||
|
|
|
@ -28,11 +28,11 @@ function M.setup()
|
||||||
|
|
||||||
vim.g.marker_define_jump_mappings = 0 -- disable automatic binding of marker jumping (conflicts with tmux-vim-navigator)
|
vim.g.marker_define_jump_mappings = 0 -- disable automatic binding of marker jumping (conflicts with tmux-vim-navigator)
|
||||||
|
|
||||||
arpeggio.chord("inv", "sj", '<Plug>MarkersJumpF')
|
arpeggio.chord("nv", "sj", '<Plug>MarkersJumpF')
|
||||||
arpeggio.chord("inv", "sk", '<Plug>MarkersJumpB')
|
arpeggio.chord("nv", "sk", '<Plug>MarkersJumpB')
|
||||||
arpeggio.chord("inv", "mi", '<Plug>MarkersMark')
|
arpeggio.chord("nv", "mi", '<Plug>MarkersMark')
|
||||||
arpeggio.chord("inv", "ml", '<Plug>MarkersCloseAllAndJumpToLast')
|
arpeggio.chord("nv", "ml", '<Plug>MarkersCloseAllAndJumpToLast')
|
||||||
arpeggio.chord("inv", "mo", '<Plug>MarkersJumpOutside')
|
arpeggio.chord("nv", "mo", '<Plug>MarkersJumpOutside')
|
||||||
|
|
||||||
for key, brackets in pairs(extraBrackets) do
|
for key, brackets in pairs(extraBrackets) do
|
||||||
A.augroup('custom-brackets' .. key, function()
|
A.augroup('custom-brackets' .. key, function()
|
||||||
|
|
Loading…
Reference in a new issue