kde: add kdevelop sublime keymap, reorganize into subdirs

This commit is contained in:
Levi Neely 2026-07-15 12:19:58 +02:00
parent c7c98b22c8
commit 1c4bf1c2a6
2 changed files with 179 additions and 0 deletions

View File

@ -0,0 +1,179 @@
[Shortcuts]
# KDevelop Sublime Text Keymap
# Comprehensive shortcut schema mapping KDevelop actions to Sublime Text conventions.
# Follows the same approach as the Kate Sublime keymap.
# === File Operations ===
file_new=Ctrl+N
file_open=Ctrl+O
file_open_recent=none
file_save_all=Ctrl+Shift+S
file_close=Ctrl+W
file_close_all=none
file_closeother=none
file_revert_all=none
# === Quick Open / Goto (Sublime: Ctrl+P, Ctrl+Shift+P, Ctrl+G, Ctrl+R) ===
quick_open=Ctrl+P
quick_open_file=Ctrl+Alt+P
quick_open_line=Ctrl+G
quick_open_outline=Ctrl+R
quick_open_function=Ctrl+Shift+R
quick_open_class=Ctrl+Alt+C
quick_open_actions=none
quick_open_already_open=none
quick_open_documentation=none
quick_open_next_function=Ctrl+Alt+PgDown
quick_open_prev_function=Ctrl+Alt+PgUp
open_kcommand_bar=Ctrl+Shift+P
# === Code Navigation (Sublime-style with IDE extensions) ===
quick_open_jump_declaration=F12
quick_open_jump_definition=Ctrl+F12
switch_definition_declaration=Ctrl+Shift+C
switch_header_source=Alt+O
next_context=Alt+Right
previous_context=Alt+Left
next_use=Ctrl+Alt+Right
previous_use=Ctrl+Alt+Left
next_error=F4
prev_error=Shift+F4
locate_document=Ctrl+K, Ctrl+O
# === Find / Replace ===
edit_grep=Ctrl+Shift+F
find_uses=Ctrl+Shift+G
# === Code Intelligence ===
code_rename_declaration=F2
code_move_definition=Ctrl+Alt+M
document_declaration=Ctrl+Shift+I
outline_line=Ctrl+Alt+N
# === Build / Run (Sublime Build: Ctrl+B / Ctrl+Shift+B) ===
project_build=Ctrl+B
project_buildall=Ctrl+Shift+B
project_clean=none
project_install=none
project_configure=none
project_fetch=none
project_prune=none
project_new=none
project_open=none
project_open_config=none
project_open_for_file=none
project_open_recent=none
project_close=none
run_execute=Ctrl+Shift+X
run_debug=Ctrl+Shift+D
run_all_tests=Ctrl+Shift+T
run_default_target=none
run_scratch=none
run_stop_all=Ctrl+Break; Ctrl+Shift+Esc
stop_running_tests=none
configure_launches=none
# === Debugging ===
debug_continue=F5
debug_pause=Shift+F5
debug_stepover=F10
debug_stepinto=F11
debug_stepout=Shift+F11
debug_stepoverinst=none
debug_stepintoinst=none
debug_toggle_breakpoint=F9
debug_runtocursor=Ctrl+F10
debug_jumptocursor=none
debug_showcurrentline=none
debug_attach=none
debug_core=none
# === Source Formatting ===
edit_reformat_source=Ctrl+Alt+L
edit_reformat_line=none
tools_astyle=none
source_browse_mode=none
# === Views / Panels (Sublime: Ctrl+K,Ctrl+B for sidebar) ===
hide_all_docks=Ctrl+K, Ctrl+B
show_left_dock=Ctrl+K, Ctrl+L
show_right_dock=Ctrl+K, Ctrl+R
show_bottom_dock=Ctrl+K, Ctrl+J
focus_editor=Escape
select_next_dock=Meta+Ctrl+N
select_previous_dock=Meta+Ctrl+P
add_toolview=none
# === Split Views (Sublime: Alt+Shift+1/2/8) ===
split_vertical=Alt+Shift+2
split_horizontal=Alt+Shift+8
view_next_split=Ctrl+1
view_previous_split=Ctrl+2
view_next_window=Alt+Shift+Right
view_previous_window=Alt+Shift+Left
# === Tab / Document Switching ===
last_used_views_forward=Ctrl+Tab
last_used_views_backward=Ctrl+Shift+Tab
# === VCS / Git ===
vcsannotate_current_document=none
commit_current_project=none
commit_or_finish_review=Ctrl+Return
# === Sessions ===
new_session=none
delete_session=none
rename_session=none
session_{980a2399-bac6-4535-829a-cfc5b46cdd9a}=none
# === Fullscreen / Window ===
fullscreen=Ctrl+Shift+F11
toggle_concentration_mode=Ctrl+K, Ctrl+F
# === Static Analysis ===
clangtidy_file=none
clangtidy_project=none
clazy_file=none
clazy_project=none
cppcheck_file=none
cppcheck_project=none
# === Profiling ===
heaptrack_attach=none
heaptrack_launch=none
# === Flatpak Runtime ===
runtime_flatpak_export=none
runtime_flatpak_rebuild=none
runtime_flatpak_remote=none
switch_runtimes=none
# === Snippets ===
tools_create_snippet=none
# === Color Scheme ===
colorscheme_menu=none
# === Settings ===
options_configure=Ctrl+,
options_configure_keybinding=Ctrl+K, Ctrl+S
options_configure_notifications=none
options_configure_toolbars=none
options_show_statusbar=none
loaded_plugins=none
switch_application_language=none
# === Help ===
help_contents=F1
help_about_app=none
help_about_kde=none
help_donate=none
help_report_bug=none
help_whats_this=none
# === Quit ===
quit=Ctrl+Q
# === New From Template ===
new_from_template=none