mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-12-13 14:42:58 +01:00
add paste keybind to wezterm config
This commit is contained in:
parent
610ca2209a
commit
e4a6891101
1 changed files with 18 additions and 19 deletions
|
@ -7,24 +7,24 @@
|
|||
`{:key ,key :mods ,mods :action ((. wt :action ,act) ,args)}
|
||||
`{:key ,key :mods ,mods :action (. wt :action ,act)}))
|
||||
|
||||
(var keys
|
||||
[;; splitting
|
||||
(kmap :h :LEADER :SplitVertical {})
|
||||
(kmap :v :LEADER :SplitHorizontal {})
|
||||
;; tabs
|
||||
(kmap :t :CTRL|SHIFT :SpawnTab :CurrentPaneDomain)
|
||||
(kmap :t :CTRL :ActivateTabRelative 1)
|
||||
;; font size
|
||||
(kmap "+" :CTRL :IncreaseFontSize)
|
||||
(kmap "-" :CTRL :DecreaseFontSize)
|
||||
;; moving panes
|
||||
(kmap :r :LEADER :RotatePanes :Clockwise)
|
||||
(kmap :m :LEADER :PaneSelect {:mode :SwapWithActive})
|
||||
;; scrolling
|
||||
(kmap :PageUp :ALT :ScrollByPage -1)
|
||||
(kmap :PageDown :ALT :ScrollByPage 1)
|
||||
;; copying
|
||||
(kmap :C :CTRL|SHIFT :CopyTo :ClipboardAndPrimarySelection)])
|
||||
(var keys [;; splitting
|
||||
(kmap :h :LEADER :SplitVertical {})
|
||||
(kmap :v :LEADER :SplitHorizontal {})
|
||||
;; tabs
|
||||
(kmap :t :CTRL|SHIFT :SpawnTab :CurrentPaneDomain)
|
||||
(kmap :t :CTRL :ActivateTabRelative 1)
|
||||
;; font size
|
||||
(kmap "+" :CTRL :IncreaseFontSize)
|
||||
(kmap "-" :CTRL :DecreaseFontSize)
|
||||
;; moving panes
|
||||
(kmap :r :LEADER :RotatePanes :Clockwise)
|
||||
(kmap :m :LEADER :PaneSelect {:mode :SwapWithActive})
|
||||
;; scrolling
|
||||
(kmap :PageUp :ALT :ScrollByPage -1)
|
||||
(kmap :PageDown :ALT :ScrollByPage 1)
|
||||
;; copying
|
||||
(kmap :C :CTRL|SHIFT :CopyTo :ClipboardAndPrimarySelection)
|
||||
(kmap :V :CTRL|SHIFT :PasteFrom :Clipboard)])
|
||||
|
||||
(local directions [[:h :Left] [:j :Down] [:k :Up] [:l :Right]])
|
||||
|
||||
|
@ -43,4 +43,3 @@
|
|||
:disable_default_key_bindings true
|
||||
:leader {:key :a :mods :CTRL :timeout_milliseconds 2000}
|
||||
: keys}
|
||||
|
||||
|
|
Loading…
Reference in a new issue