Difference between revisions of "Lazarus IDE Shortcuts"

From Lazarus wiki
Jump to navigationJump to search
Line 17: Line 17:
 
!COLSPAN="1" STYLE="background:#ffdead;"|'''Function defined by Apple'''
 
!COLSPAN="1" STYLE="background:#ffdead;"|'''Function defined by Apple'''
 
!COLSPAN="1" STYLE="background:#ffdead;"|'''Conflict with lazarus default'''
 
!COLSPAN="1" STYLE="background:#ffdead;"|'''Conflict with lazarus default'''
 +
!COLSPAN="1" STYLE="background:#ffdead;"|'''Resolution'''
 
|---- class="working"
 
|---- class="working"
|F1||misc||help
+
|F1||misc||help||Cmd-?
 
|---- class="working"
 
|---- class="working"
|Ctrl-Shift-F1||misc||help editor
+
|Ctrl-Shift-F1||misc||help editor||
 
|---- class="working"
 
|---- class="working"
|Ctrl-F2||misc||stop program
+
|Ctrl-F2||misc||stop program||
 
|---- class="working"
 
|---- class="working"
|F3||misc||find next
+
|F3||misc||find next||
 
|---- class="working"
 
|---- class="working"
|Shift-F3||misc||find previous
+
|Shift-F3||misc||find previous||
 
|---- class="working"
 
|---- class="working"
|F4||misc||run to cursor
+
|F4||misc||run to cursor||
 
|---- class="working"
 
|---- class="working"
|Ctrl-F4||misc||close file
+
|Ctrl-F4||misc||close file||
 
|---- class="working"
 
|---- class="working"
|F5||misc||add breakpoint
+
|F5||misc||add breakpoint||
 
|---- class="working"
 
|---- class="working"
|Ctrl-F5||misc||add watch
+
|Ctrl-F5||misc||add watch||
 
|---- class="working"
 
|---- class="working"
|Ctrl-F8||misc||jump next error
+
|Ctrl-F8||misc||jump next error||
 
|---- class="working"
 
|---- class="working"
|Ctrl-Shift-F8||misc||jump previous error
+
|Ctrl-Shift-F8||misc||jump previous error||
 
|---- class="working"
 
|---- class="working"
|F7||misc||step into
+
|F7||misc||step into||
 
|---- class="working"
 
|---- class="working"
|Ctrl-F7||misc||evaluate
+
|Ctrl-F7||misc||evaluate||
 
|---- class="working"
 
|---- class="working"
|F8||misc||step over
+
|F8||misc||step over||
 
|---- class="working"
 
|---- class="working"
|F9||misc||run
+
|F9||misc||run||
 
|---- class="working"
 
|---- class="working"
|Ctrl-F9||misc||build
+
|Ctrl-F9||misc||build||
 
|---- class="working"
 
|---- class="working"
|F11||misc||toggle OI
+
|F11||misc||toggle OI||
 
|---- class="working"
 
|---- class="working"
|Shift-F11||misc||add unit to project
+
|Shift-F11||misc||add unit to project||
 
|---- class="working"
 
|---- class="working"
|Ctrl-F11||misc||open project
+
|Ctrl-F11||misc||open project||
 
|---- class="working"
 
|---- class="working"
|Ctrl-Shift-F11||misc||project options
+
|Ctrl-Shift-F11||misc||project options||
 
|---- class="working"
 
|---- class="working"
|F12||misc||toggle unit/form
+
|F12||misc||toggle unit/form||
 
|---- class="working"
 
|---- class="working"
|Ctrl-F12||misc||view units
+
|Ctrl-F12||misc||view units||
 
|---- class="working"
 
|---- class="working"
|Shift-F12||misc||view forms
+
|Shift-F12||misc||view forms||
 
|---- class="working"
 
|---- class="working"
|[Shift]-Up,Down,Right,Left||move cursor||
+
|[Shift]-Up,Down,Right,Left||move cursor||||
 
|---- class="working"
 
|---- class="working"
|Alt-[Shift]-Left/Right||jump to next word||
+
|Alt-[Shift]-Left/Right||jump to next word||||
 
|---- class="working"
 
|---- class="working"
|Alt-Up/Down||jump to start/end of paragraph||find declaration
+
|Alt-Up/Down||jump to start/end of paragraph||find declaration||
 
|---- class="working"
 
|---- class="working"
|Cmd-[Shift]-Left/Right||jump to start/end of line||jump next word
+
|Cmd-[Shift]-Left/Right||jump to start/end of line||jump next word||
 
|---- class="working"
 
|---- class="working"
|Cmd-Up/Down||jump to start/end of file||scroll one up/down
+
|Cmd-Up/Down||jump to start/end of file||scroll one up/down||
 
|---- class="working"
 
|---- class="working"
|Cmd-Shift-Up/Down||select to start/end of file||method jump
+
|Cmd-Shift-Up/Down||select to start/end of file||method jump||
 
|---- class="working"
 
|---- class="working"
|Cmd-?||show context help||
+
|Cmd-?||show context help||||
 
|---- class="working"
 
|---- class="working"
|Delete/Backspace||delete char||
+
|Delete/Backspace||delete char||||
 
|---- class="working"
 
|---- class="working"
|[Shift]-PageUp/Down||jump page up/down||
+
|[Shift]-PageUp/Down||jump page up/down||||
 
|---- class="working"
 
|---- class="working"
|Home/End||jump to start/end of file||jump to start/end of line
+
|Home/End||jump to start/end of file||jump to start/end of line||
 
|---- class="working"
 
|---- class="working"
|Cmd-[Shift]-Tab||switch application||jump prev/next file
+
|Cmd-[Shift]-Tab||switch application||jump prev/next file||
 
|---- class="working"
 
|---- class="working"
|Cmd-Alt-D||show/hide dock||
+
|Cmd-Alt-D||show/hide dock||||
 
|---- class="working"
 
|---- class="working"
|Cmd-Ctrl-D||dictionary||
+
|Cmd-Ctrl-D||dictionary||||
 
|---- class="working"
 
|---- class="working"
|Cmd-*-Space||spotlight, apple reserved||
+
|Cmd-*-Space||spotlight, apple reserved||||
 
|---- class="working"
 
|---- class="working"
|Cmd-Alt-Escape||force quit||
+
|Cmd-Alt-Escape||force quit||||
 
|---- class="working"
 
|---- class="working"
|Cmd-A||select all||
+
|Cmd-A||select all||||
 
|---- class="working"
 
|---- class="working"
|Cmd-C||copy||
+
|Cmd-C||copy||||
 
|---- class="working"
 
|---- class="working"
|Cmd-E||find word at cursor||incremental find, solved
+
|Cmd-E||find word at cursor||incremental find||
 
|---- class="working"
 
|---- class="working"
|Cmd-F||find||
+
|Cmd-F||find||||
 
|---- class="working"
 
|---- class="working"
|Cmd-Alt-F||incremental search||
+
|Cmd-Alt-F||incremental search||||
 
|---- class="working"
 
|---- class="working"
|Cmd-G||find next||goto line
+
|Cmd-G||find next||goto line||
 
|---- class="working"
 
|---- class="working"
|Cmd-Shift-G||find previous||insert guid
+
|Cmd-Shift-G||find previous||insert guid||
 
|---- class="working"
 
|---- class="working"
|Cmd-[Alt]-H||hide app||jump back
+
|Cmd-[Alt]-H||hide app||jump back||
 
|---- class="working"
 
|---- class="working"
|Cmd-M||minimize window||
+
|Cmd-M||minimize window||||
 
|---- class="working"
 
|---- class="working"
|Cmd-Alt-M||minimize app||
+
|Cmd-Alt-M||minimize app||||
 
|---- class="working"
 
|---- class="working"
|Cmd-N||new file||
+
|Cmd-N||new file||||
 
|---- class="working"
 
|---- class="working"
|Cmd-O||open file||
+
|Cmd-O||open file||||
 
|---- class="working"
 
|---- class="working"
|Cmd-Q||quit||goto line
+
|Cmd-Q||quit||goto line||
 
|---- class="working"
 
|---- class="working"
|Cmd-Shift-Q||log out||
+
|Cmd-Shift-Q||log out||||
 
|---- class="working"
 
|---- class="working"
|Cmd-S||save||
+
|Cmd-S||save||||
 
|---- class="working"
 
|---- class="working"
|Cmd-Shift-S||Save As||save all
+
|Cmd-Shift-S||Save As||save all||
 
|---- class="working"
 
|---- class="working"
|Cmd-Alt-S||Save All||
+
|Cmd-Alt-S||Save All||||
 
|---- class="working"
 
|---- class="working"
|Cmd-V||paste||
+
|Cmd-V||paste||||
 
|---- class="working"
 
|---- class="working"
|Cmd-W||close window||word completion
+
|Cmd-W||close window||word completion||
 
|---- class="working"
 
|---- class="working"
|Cmd-Shift-W||close file||
+
|Cmd-Shift-W||close file||||
 
|---- class="working"
 
|---- class="working"
|Cmd-Alt-W||close all files||
+
|Cmd-Alt-W||close all files||||
 
|---- class="working"
 
|---- class="working"
|Cmd-X||cut||
+
|Cmd-X||cut||||
 
|---- class="working"
 
|---- class="working"
|Cmd-Z||undo||
+
|Cmd-Z||undo||||
 
|---- class="working"
 
|---- class="working"
|Control||The control modifier is used by cocoa in text fields. So it is free for designer and source editor functions||
+
|Control||The control modifier is used by cocoa in text fields. So it is free for designer and source editor functions||||
 
|---- class="working"
 
|---- class="working"
|Control-1-9||create special chars on some layouts||bookmark commands
+
|Control-1-9||create special chars on some layouts||bookmark commands||
 
|---- class="working"
 
|---- class="working"
|Cmd-*-1-9||apple functions like capture screen||bookmark commands
+
|Cmd-*-1-9||apple functions like capture screen||bookmark commands||
 
|}
 
|}
  
 
===XCode===
 
===XCode===
 
XCode is Apple's own development environment. Here are the XCode shortcuts: [http://www.1729.us/xcode/Xcode%20Shortcuts%20B_W.png]
 
XCode is Apple's own development environment. Here are the XCode shortcuts: [http://www.1729.us/xcode/Xcode%20Shortcuts%20B_W.png]

Revision as of 16:13, 29 July 2008

Key mapping

All shortcuts can be edited in Environment / Editor Options / Key mapping. See Key Mapping.

Mac OS X

Mac OS X has quite different key policies. For example most F keys are used by the OS, there are no menu Alt shortcuts and there are large guidelines (contrary to linux and windows where only a few keys work the same under all programs).

The apple human interface guidelines for key bindings can be seen here: [1]

Conflicts with default lazarus key map

Here is the list with the conflicts of the default lazarus key mapping:

Keys Function defined by Apple Conflict with lazarus default Resolution
F1 misc help Cmd-?
Ctrl-Shift-F1 misc help editor
Ctrl-F2 misc stop program
F3 misc find next
Shift-F3 misc find previous
F4 misc run to cursor
Ctrl-F4 misc close file
F5 misc add breakpoint
Ctrl-F5 misc add watch
Ctrl-F8 misc jump next error
Ctrl-Shift-F8 misc jump previous error
F7 misc step into
Ctrl-F7 misc evaluate
F8 misc step over
F9 misc run
Ctrl-F9 misc build
F11 misc toggle OI
Shift-F11 misc add unit to project
Ctrl-F11 misc open project
Ctrl-Shift-F11 misc project options
F12 misc toggle unit/form
Ctrl-F12 misc view units
Shift-F12 misc view forms
[Shift]-Up,Down,Right,Left move cursor
Alt-[Shift]-Left/Right jump to next word
Alt-Up/Down jump to start/end of paragraph find declaration
Cmd-[Shift]-Left/Right jump to start/end of line jump next word
Cmd-Up/Down jump to start/end of file scroll one up/down
Cmd-Shift-Up/Down select to start/end of file method jump
Cmd-? show context help
Delete/Backspace delete char
[Shift]-PageUp/Down jump page up/down
Home/End jump to start/end of file jump to start/end of line
Cmd-[Shift]-Tab switch application jump prev/next file
Cmd-Alt-D show/hide dock
Cmd-Ctrl-D dictionary
Cmd-*-Space spotlight, apple reserved
Cmd-Alt-Escape force quit
Cmd-A select all
Cmd-C copy
Cmd-E find word at cursor incremental find
Cmd-F find
Cmd-Alt-F incremental search
Cmd-G find next goto line
Cmd-Shift-G find previous insert guid
Cmd-[Alt]-H hide app jump back
Cmd-M minimize window
Cmd-Alt-M minimize app
Cmd-N new file
Cmd-O open file
Cmd-Q quit goto line
Cmd-Shift-Q log out
Cmd-S save
Cmd-Shift-S Save As save all
Cmd-Alt-S Save All
Cmd-V paste
Cmd-W close window word completion
Cmd-Shift-W close file
Cmd-Alt-W close all files
Cmd-X cut
Cmd-Z undo
Control The control modifier is used by cocoa in text fields. So it is free for designer and source editor functions
Control-1-9 create special chars on some layouts bookmark commands
Cmd-*-1-9 apple functions like capture screen bookmark commands

XCode

XCode is Apple's own development environment. Here are the XCode shortcuts: [2]