-
In Haiku, common keybindings use Alt as modifier: Alt+C for copying, Alt+S for saving and so on. But ecode uses Ctrl as modifier. I'd like to have (or make) Haiku-friendly keybindings for ecode. And while README says that keybindings are customizable, https://github.com/SpartanJ/ecode/tree/main/docs does not describe how to configure them. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @suhr ! For Haiku you'll probably want to edit the default modifier to [modifier]
mod=alt I should change the default key bindings for Haiku to follow the default modifier but I've never took the time to do it. I think that replacing the default modifier in favor of [modifier]
mod=alt
[editor]
backspace=delete-to-previous-char
tab=indent
return=new-line
escape=reset-cursor
delete=delete-to-next-char
f3=repeat-find
f12=console-toggle
home=move-to-start-of-content
pageup=move-to-previous-pagec
end=move-to-end-of-line
pagedown=move-to-next-page
right=move-to-next-char
left=move-to-previous-char
down=move-to-next-line
up=move-to-previous-line
keypad enter=new-line
menu=open-context-menu
shift+backspace=delete-to-previous-char
shift+tab=unindent
shift+return=new-line
shift+delete=delete-current-line
shift+f3=find-prev
shift+insert=paste
shift+home=select-to-start-of-content
shift+pageup=select-to-previous-page
shift+end=select-to-end-of-line
shift+pagedown=select-to-next-page
shift+right=select-to-next-char
shift+left=select-to-previous-char
shift+down=select-to-next-line
shift+up=select-to-previous-line
shift+keypad enter=new-line
mod+backspace=delete-to-previous-word
mod+tab=next-tab
mod+return=new-line
mod++=font-size-grow
mod+-=font-size-shrink
mod+0=switch-to-last-tab
mod+1=switch-to-tab-1
mod+2=switch-to-tab-2
mod+3=switch-to-tab-3
mod+4=switch-to-tab-4
mod+5=switch-to-tab-5
mod+6=switch-to-tab-6
mod+7=switch-to-tab-7
mod+8=switch-to-tab-8
mod+9=switch-to-tab-9
mod+a=select-all
mod+b=select-single-line
mod+c=copy
mod+d=select-word
mod+f=find-replace
mod+k=open-locatebar
mod+l=go-to-line
mod+m=menu-toggle
mod+o=open-file
mod+p=open-command-palette
mod+s=save-doc
mod+t=create-new
mod+u=cursor-undo
mod+v=paste
mod+w=close-tab
mod+x=cut
mod+y=redo
mod+z=undo
mod+delete=delete-to-next-word
mod+home=move-to-start-of-doc
mod+pageup=move-to-previous-page
mod+end=move-to-end-of-doc
mod+pagedown=move-to-next-page
mod+right=move-to-next-word
mod+left=move-to-previous-word
mod+down=move-scroll-down
mod+up=move-scroll-up
mod+keypad /=toggle-line-comments
mod+keypad -=font-size-shrink
mod+keypad +=font-size-grow
mod+keypad enter=new-line
mod+shift+tab=previous-tab
mod+shift+return=new-line-above
mod+shift+0=font-size-reset
mod+shift+a=select-all-matches
mod+shift+c=project-build-cancel
mod+shift+f=open-global-search
mod+shift+k=open-workspace-symbol-search
mod+shift+o=open-folder
mod+shift+p=open-document-symbol-search
mod+shift+q=close-app
mod+shift+s=save-all
mod+shift+t=create-new-terminal
mod+shift+w=download-file-web
mod+shift+z=redo
mod+shift+home=select-to-start-of-doc
mod+shift+end=select-to-end-of-doc
mod+shift+right=select-to-next-word
mod+shift+left=select-to-previous-word
mod+shift+down=move-lines-down
mod+shift+up=move-lines-up
mod+shift+keypad enter=new-line-above
ctrl+1=toggle-status-locate-bar
ctrl+2=toggle-status-global-search-bar
ctrl+3=toggle-status-terminal
ctrl+4=toggle-status-build-output
ctrl+5=toggle-status-app-output
ctrl+f9=switch-side-panel
ctrl+down=add-cursor-below
ctrl+up=add-cursor-above
shift+ctrl+i=split-top
shift+ctrl+j=split-left
shift+ctrl+k=split-bottom
shift+ctrl+l=split-right
shift+ctrl+o=show-open-documents
shift+ctrl+s=split-swap
mod+ctrl+return=fullscreen-toggle
mod+ctrl+j=switch-to-previous-split
mod+ctrl+l=switch-to-next-split
mod+ctrl+m=switch-to-next-colorscheme
mod+ctrl+n=switch-to-previous-colorscheme
mod+ctrl+s=terminal-rename
mod+shift+ctrl+e=terminal-toggle-exclusive-mode
mod+shift+ctrl+i=terminal-split-top
mod+shift+ctrl+j=terminal-split-left
mod+shift+ctrl+k=terminal-split-bottom
mod+shift+ctrl+l=terminal-split-right
mod+shift+ctrl+s=terminal-split-swap
mod+shift+ctrl+t=reopen-closed-tab
mod+shift+ctrl+down=selection-to-lower
mod+shift+ctrl+up=selection-to-upper
ctrl+right=editor-go-forward
ctrl+left=editor-go-back
mod+shift+pagedown=jump-lines-down
mod+shift+pageup=jump-lines-up
shift+ctrl+n=create-new-window
mod+shift+d=select-all-words
mod+shift+l=lock-toggle
mod+shift+f11=debug-widget-tree-view
mod+r=project-build-and-run
mod+shift+b=project-build-start-cancel
[global_search]
mod+h=global-search-clear-history
mod+a=expand-all
mod+shift+e=collapse-all
mod+g=search-again
mod+l=toggle-lua-pattern
mod+r=search-replace-in-files
mod+w=change-whole-word
mod+e=change-escape-sequence
mod+s=change-case
escape=close-global-searchbar
mod+p=toggle-regex
mod+b=buffer-only-mode
[document_search]
mod+shift+a=select-all-results
mod+shift+g=find-prev
mod+e=change-escape-sequence
mod+s=change-case
mod+shift+r=replace-all
mod+w=change-whole-word
mod+r=replace-selection
escape=close-searchbar
mod+l=toggle-lua-pattern
mod+shift+n=find-and-replace
mod+g=repeat-find
mod+p=toggle-regex |
Beta Was this translation helpful? Give feedback.
Hi @suhr !
There are multiple access to edit the keybindings:
Settings -> Edit -> Key Bindings
orSettings -> Window -> Key Bindings
.Or
Ctrl+P
and typeKeybindings
+Enter
.For Haiku you'll probably want to edit the default modifier to
alt
:I should change the default key bindings for Haiku to follow the default modifier but I've never took the time to do it. I think that replacing the default modifier in favor of
alt
and replacingalt
forctrl
should be good enough, something like: