kakoune: add keys to past and yank from clipboard
This commit is contained in:
@@ -25,6 +25,10 @@ map global -docstring "Options" user 'o' ': enter-user-mode options-mode<ret>'
|
|||||||
map global -docstring "Light mode" options-mode 'l' ': colorscheme one-light<ret>'
|
map global -docstring "Light mode" options-mode 'l' ': colorscheme one-light<ret>'
|
||||||
map global -docstring "Dark mode" options-mode 'd' ': colorscheme one-darker<ret>'
|
map global -docstring "Dark mode" options-mode 'd' ': colorscheme one-darker<ret>'
|
||||||
|
|
||||||
|
map global -docstring "Paste clipboard (append)" user 'p' '<a-!> xsel -bo<ret>'
|
||||||
|
map global -docstring "Paste clipboard (insert)" user 'P' '! xsel -bo<ret>'
|
||||||
|
map global -docstring "Yank to clipboard" user 'y' '<a-|> xsel -bi<ret>'
|
||||||
|
|
||||||
define-command -override file-open %{
|
define-command -override file-open %{
|
||||||
prompt -menu -shell-script-candidates %{ fd -t f } 'File: ' %{ edit -- %val{text} }
|
prompt -menu -shell-script-candidates %{ fd -t f } 'File: ' %{ edit -- %val{text} }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user