mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-06 04:06:06 -05:00
Merge branch 'support-copy-paste-keybindings-by-default'
This commit is contained in:
commit
27017cf0b3
3 changed files with 7 additions and 4 deletions
2
config.c
2
config.c
|
|
@ -2583,7 +2583,9 @@ add_default_key_bindings(struct config *conf)
|
|||
{BIND_ACTION_SCROLLBACK_UP_PAGE, m_shift, {{XKB_KEY_Prior}}},
|
||||
{BIND_ACTION_SCROLLBACK_DOWN_PAGE, m_shift, {{XKB_KEY_Next}}},
|
||||
{BIND_ACTION_CLIPBOARD_COPY, m_ctrl_shift, {{XKB_KEY_c}}},
|
||||
{BIND_ACTION_CLIPBOARD_COPY, m_none, {{XKB_KEY_XF86Copy}}},
|
||||
{BIND_ACTION_CLIPBOARD_PASTE, m_ctrl_shift, {{XKB_KEY_v}}},
|
||||
{BIND_ACTION_CLIPBOARD_PASTE, m_none, {{XKB_KEY_XF86Paste}}},
|
||||
{BIND_ACTION_PRIMARY_PASTE, m_shift, {{XKB_KEY_Insert}}},
|
||||
{BIND_ACTION_SEARCH_START, m_ctrl_shift, {{XKB_KEY_r}}},
|
||||
{BIND_ACTION_FONT_SIZE_UP, m_ctrl, {{XKB_KEY_plus}}},
|
||||
|
|
|
|||
|
|
@ -682,10 +682,11 @@ e.g. *search-start=none*.
|
|||
Scroll down/forward a single line in history. Default: _not bound_.
|
||||
|
||||
*clipboard-copy*
|
||||
Copies the current selection into the _clipboard_. Default: _Control+Shift+c_.
|
||||
Copies the current selection into the _clipboard_. Default: _Control+Shift+c_
|
||||
_XF86Copy_.
|
||||
|
||||
*clipboard-paste*
|
||||
Pastes from the _clipboard_. Default: _Control+Shift+v_.
|
||||
Pastes from the _clipboard_. Default: _Control+Shift+v_ _XF86Paste_.
|
||||
|
||||
*primary-paste*
|
||||
Pastes from the _primary selection_. Default: _Shift+Insert_ (also
|
||||
|
|
|
|||
4
foot.ini
4
foot.ini
|
|
@ -125,8 +125,8 @@
|
|||
# scrollback-down-page=Shift+Page_Down
|
||||
# scrollback-down-half-page=none
|
||||
# scrollback-down-line=none
|
||||
# clipboard-copy=Control+Shift+c
|
||||
# clipboard-paste=Control+Shift+v
|
||||
# clipboard-copy=Control+Shift+c XF86Copy
|
||||
# clipboard-paste=Control+Shift+v XF86Paste
|
||||
# primary-paste=Shift+Insert
|
||||
# search-start=Control+Shift+r
|
||||
# font-increase=Control+plus Control+equal Control+KP_Add
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue