\INCLUDE{site_header.txt} 4coder version \VERSION \SECTION{Built in Bindings} \ITEM \STYLE{code} "default" \END The default 4coder bindings - typically good for Windows and Linux \ITEM \STYLE{code} "mac-default" \END Default 4coder bindings on a Mac keyboard \END \SECTION{4coder Long Command} Long name commands that can be typed in after using the "long command" command for infrequently triggered commands. \LIST \ITEM \STYLE{code} "load project" \END Load a project.4coder file, ditching any previously loaded project \ITEM \STYLE{code} "open all code" \END Open all code files in the current directory, extensions set in config.4coder, default to C/C++ extensions \ITEM \STYLE{code} "open all code recursive" \END Like \STYLE{code} "open all code" \END but recurses through folders \ITEM \STYLE{code} "dos lines" \END Switch the buffer to 'dos' line ending mode CRLF \ITEM \STYLE{code} "nix lines" \END Switch the buffer to 'nix' line ending mode LF \ITEM \STYLE{code} "remap" \END Change to one of the built in command bindings \ITEM \STYLE{code} "new project" \END Setup a new project.4coder and accompanying build scripts \ITEM \STYLE{code} "delete file" \END Delete the file attached to the current buffer and close the buffer \ITEM \STYLE{code} "rename file" \END Rename the file attached to the current buffer and reopen the buffer \ITEM \STYLE{code} "mkdir" \END Make a new directory in 4coder's hot directory \END \END \SECTION{Map: default} \SECTION{mapid-global} The following bindings apply in all situations. \LIST \ITEM \STYLE{code} \END Create a new panel by vertically splitting the active panel. \ITEM \STYLE{code} \END Create a new panel by horizontally splitting the active panel. \ITEM \STYLE{code} \END Closes the currently active panel if it is not the only panel open. \ITEM \STYLE{code} \END Change the currently active panel, moving to the panel with the next highest view_id. \ITEM \STYLE{code} \END Change the currently active panel, moving to the panel with the next lowest view_id. \ITEM \STYLE{code} \END Interactively creates a new file. \ITEM \STYLE{code} \END Interactively opens or creates a new file. \ITEM \STYLE{code} \END Interactively opens a file in the other panel. \ITEM \STYLE{code} \END Interactively kill an open buffer. \ITEM \STYLE{code} \END Interactively switch to an open buffer. \ITEM \STYLE{code} \END Changes 4coder's hot directory to the root directory of the currently loaded project. With no loaded project nothing hapepns. \ITEM \STYLE{code} \END Saves all buffers marked dirty (showing the '*' indicator). \ITEM \STYLE{code} \END Opens the 4coder colors and fonts selector menu. \ITEM \STYLE{code} \END If the special build panel is open, makes the build panel the active panel. \ITEM \STYLE{code} \END If the special build panel is open, closes it. \ITEM \STYLE{code} \END If a buffer containing jump locations has been locked in, goes to the next jump in the buffer, and does not skip sub jump locations. \ITEM \STYLE{code} \END If a buffer containing jump locations has been locked in, goes to the previous jump in the buffer, and does not skip sub jump locations. \ITEM \STYLE{code} \END If a buffer containing jump locations has been locked in, goes to the first jump in the buffer. \ITEM \STYLE{code} \END Looks for a build.bat, build.sh, or makefile in the current and parent directories. Runs the first that it finds and prints the output to *compilation*. Puts the *compilation* buffer in a panel at the footer of the current view. \ITEM \STYLE{code} \END Queries for an output buffer name and system command, runs the system command as a CLI and prints the output to the specified buffer. \ITEM \STYLE{code} \END If the command execute_any_cli has already been used, this will execute a CLI reusing the most recent buffer name and command. \ITEM \STYLE{code} \END Execute a 'long form' command. \ITEM \STYLE{code} \END Sets the current view to show it's scrollbar. \ITEM \STYLE{code} \END Sets the current view to hide it's scrollbar. \ITEM \STYLE{code} \END Toggles the visibility status of the current view's filebar. \ITEM \STYLE{code} \END Toggles the mouse suppression mode, see suppress_mouse and allow_mouse. \ITEM \STYLE{code} \END Attempts to close 4coder. \ITEM \STYLE{code} \END Increase the size of the face used by the current buffer. \ITEM \STYLE{code} \END Decrease the size of the face used by the current buffer. \ITEM \STYLE{code} \END Run an 'fkey command' configured in a project.4coder file. Determines the index of the 'fkey command' by which function key or numeric key was pressed to trigger the command. \ITEM \STYLE{code} \END Run an 'fkey command' configured in a project.4coder file. Determines the index of the 'fkey command' by which function key or numeric key was pressed to trigger the command. \ITEM \STYLE{code} \END Run an 'fkey command' configured in a project.4coder file. Determines the index of the 'fkey command' by which function key or numeric key was pressed to trigger the command. \ITEM \STYLE{code} \END Run an 'fkey command' configured in a project.4coder file. Determines the index of the 'fkey command' by which function key or numeric key was pressed to trigger the command. \ITEM \STYLE{code} \END Run an 'fkey command' configured in a project.4coder file. Determines the index of the 'fkey command' by which function key or numeric key was pressed to trigger the command. \ITEM \STYLE{code} \END Run an 'fkey command' configured in a project.4coder file. Determines the index of the 'fkey command' by which function key or numeric key was pressed to trigger the command. \ITEM \STYLE{code} \END Run an 'fkey command' configured in a project.4coder file. Determines the index of the 'fkey command' by which function key or numeric key was pressed to trigger the command. \ITEM \STYLE{code} \END Run an 'fkey command' configured in a project.4coder file. Determines the index of the 'fkey command' by which function key or numeric key was pressed to trigger the command. \ITEM \STYLE{code} \END Run an 'fkey command' configured in a project.4coder file. Determines the index of the 'fkey command' by which function key or numeric key was pressed to trigger the command. \ITEM \STYLE{code} \END Run an 'fkey command' configured in a project.4coder file. Determines the index of the 'fkey command' by which function key or numeric key was pressed to trigger the command. \ITEM \STYLE{code} \END Run an 'fkey command' configured in a project.4coder file. Determines the index of the 'fkey command' by which function key or numeric key was pressed to trigger the command. \ITEM \STYLE{code} \END Run an 'fkey command' configured in a project.4coder file. Determines the index of the 'fkey command' by which function key or numeric key was pressed to trigger the command. \ITEM \STYLE{code} \END Run an 'fkey command' configured in a project.4coder file. Determines the index of the 'fkey command' by which function key or numeric key was pressed to trigger the command. \ITEM \STYLE{code} \END Run an 'fkey command' configured in a project.4coder file. Determines the index of the 'fkey command' by which function key or numeric key was pressed to trigger the command. \ITEM \STYLE{code} \END Run an 'fkey command' configured in a project.4coder file. Determines the index of the 'fkey command' by which function key or numeric key was pressed to trigger the command. \ITEM \STYLE{code} \END Run an 'fkey command' configured in a project.4coder file. Determines the index of the 'fkey command' by which function key or numeric key was pressed to trigger the command. \END \END \SECTION{mapid-file} The following bindings apply in general text files and most apply in code files, but some are overriden by other commands specific to code files. \LIST \ITEM \STYLE{code} \END Inserts whatever character was used to trigger this command. \ITEM \STYLE{code} \END Sets the cursor position to the mouse position. \ITEM \STYLE{code} \END Sets the mark position to the mouse position. \ITEM \STYLE{code} \END Sets the mark position to the mouse position. \ITEM \STYLE{code} \END Moves the cursor one character to the left. \ITEM \STYLE{code} \END Moves the cursor one character to the right. \ITEM \STYLE{code} \END Deletes the character to the right of the cursor. \ITEM \STYLE{code} \END Deletes the character to the right of the cursor. \ITEM \STYLE{code} \END Deletes the character to the left of the cursor. \ITEM \STYLE{code} \END Deletes the character to the left of the cursor. \ITEM \STYLE{code} \END Moves the cursor up one line. \ITEM \STYLE{code} \END Moves the cursor down one line. \ITEM \STYLE{code} \END Seeks the cursor to the end of the visual line. \ITEM \STYLE{code} \END Seeks the cursor to the beginning of the visual line. \ITEM \STYLE{code} \END Sets the cursor to the beginning of the file. \ITEM \STYLE{code} \END Sets the cursor to the end of the file. \ITEM \STYLE{code} \END Scrolls the view up one view height and moves the cursor up one view height. \ITEM \STYLE{code} \END Scrolls the view down one view height and moves the cursor down one view height. \ITEM \STYLE{code} \END Seek right for the next boundary between whitespace and non-whitespace. \ITEM \STYLE{code} \END Seek left for the next boundary between whitespace and non-whitespace. \ITEM \STYLE{code} \END Seeks the cursor up to the next blank line and places it at the end of the line. \ITEM \STYLE{code} \END Seeks the cursor down to the next blank line and places it at the end of the line. \ITEM \STYLE{code} \END Swaps the line under the cursor with the line above it, and moves the cursor up with it. \ITEM \STYLE{code} \END Swaps the line under the cursor with the line below it, and moves the cursor down with it. \ITEM \STYLE{code} \END Delete characters between the cursor position and the first alphanumeric boundary to the left. \ITEM \STYLE{code} \END Delete characters between the cursor position and the first alphanumeric boundary to the right. \ITEM \STYLE{code} \END Delete a single, whole token on or to the left of the cursor and post it to the clipboard. \ITEM \STYLE{code} \END Delete a single, whole token on or to the right of the cursor and post it to the clipboard. \ITEM \STYLE{code} \END Sets the mark to the current position of the cursor. \ITEM \STYLE{code} \END Queries the user for two strings, and replaces all occurences of the first string in the range between the cursor and the mark with the second string. \ITEM \STYLE{code} \END Copy the text in the range from the cursor to the mark onto the clipboard. \ITEM \STYLE{code} \END Deletes the text in the range between the cursor and the mark. \ITEM \STYLE{code} \END Delete the line the on which the cursor sits. \ITEM \STYLE{code} \END Centers the view vertically on the line on which the cursor sits. \ITEM \STYLE{code} \END Sets the left size of the view near the x position of the cursor. \ITEM \STYLE{code} \END Begins an incremental search down through the current buffer for a user specified string. \ITEM \STYLE{code} \END Queries the user for a string and lists all exact case-sensitive matches found in all open buffers. \ITEM \STYLE{code} \END Queries the user for a string and lists all case-insensitive substring matches found in all open buffers. \ITEM \STYLE{code} \END Queries the user for a number, and jumps the cursor to the corresponding line. \ITEM \STYLE{code} \END Reads the string in the selected range and lists all exact case-sensitive mathces in all open buffers. \ITEM \STYLE{code} \END Kills the current buffer. \ITEM \STYLE{code} \END Toggles the current buffer's line wrapping status. \ITEM \STYLE{code} \END Create a copy of the line on which the cursor sits. \ITEM \STYLE{code} \END Swaps the position of the cursor and the mark. \ITEM \STYLE{code} \END Reopen the current buffer from the hard drive. \ITEM \STYLE{code} \END Queries the user for two strings, and incrementally replaces every occurence of the first string with the second string. \ITEM \STYLE{code} \END Queries the user for a string, and incrementally replace every occurence of the word or token found at the cursor with the specified string. \ITEM \STYLE{code} \END Queries the user for a string, and incrementally replace every occurence of the string found in the selected range with the specified string. \ITEM \STYLE{code} \END Begins an incremental search up through the current buffer for a user specified string. \ITEM \STYLE{code} \END Saves the current buffer. \ITEM \STYLE{code} \END Queries the user for a name and saves the contents of the current buffer, altering the buffer's name too. \ITEM \STYLE{code} \END Begins an incremental search down through the current buffer for the word or token under the cursor. \ITEM \STYLE{code} \END Reads a token or word under the cursor and lists all exact case-sensitive mathces in all open buffers. \ITEM \STYLE{code} \END Paste from the top of clipboard and run auto-indent on the newly pasted text. \ITEM \STYLE{code} \END Toggles the current buffer's virtual whitespace status. \ITEM \STYLE{code} \END Paste the next item on the clipboard and run auto-indent on the newly pasted text. \ITEM \STYLE{code} \END Cut the text in the range from the cursor to the mark onto the clipboard. \ITEM \STYLE{code} \END Advances forewards through the undo history. \ITEM \STYLE{code} \END Advances backwards through the undo history. \ITEM \STYLE{code} \END Set the other non-active panel to view the buffer that the active panel views, and switch to that panel. \ITEM \STYLE{code} \END Set the other non-active panel to view the buffer that the active panel views, and switch to that panel. \ITEM \STYLE{code} \END Toggles the current buffer's whitespace visibility status. \ITEM \STYLE{code} \END Removes trailing whitespace from all lines in the current buffer. \ITEM \STYLE{code} \END If the buffer in the active view is writable, inserts a character, otherwise performs goto_jump_at_cursor. \ITEM \STYLE{code} \END If the buffer in the active view is writable, inserts a character, otherwise performs goto_jump_at_cursor_same_panel. \ITEM \STYLE{code} \END Inserts whatever character was used to trigger this command. \END \END \SECTION{default-code-map} The following commands only apply in files where the lexer (syntax highlighting) is turned on. \LIST \ITEM \STYLE{code} \END Seek right for boundary between alphanumeric characters or camel case word and non-alphanumeric characters. \ITEM \STYLE{code} \END Seek left for boundary between alphanumeric characters or camel case word and non-alphanumeric characters. \ITEM \STYLE{code} \END Inserts a character and auto-indents the line on which the cursor sits. \ITEM \STYLE{code} \END Inserts a character and auto-indents the line on which the cursor sits. \ITEM \STYLE{code} <}> \END Inserts a character and auto-indents the line on which the cursor sits. \ITEM \STYLE{code} <)> \END Inserts a character and auto-indents the line on which the cursor sits. \ITEM \STYLE{code} <]> \END Inserts a character and auto-indents the line on which the cursor sits. \ITEM \STYLE{code} <;> \END Inserts a character and auto-indents the line on which the cursor sits. \ITEM \STYLE{code} <#> \END Inserts a character and auto-indents the line on which the cursor sits. \ITEM \STYLE{code} \END Iteratively tries completing the word to the left of the cursor with other words in open buffers that have the same prefix string. \ITEM \STYLE{code} \END Auto-indents the range between the cursor and the mark. \ITEM \STYLE{code} \END Auto-indents the line on which the cursor sits. \ITEM \STYLE{code} \END At the cursor, insert a '// HACK' comment, includes user name if it was specified in config.4coder. \ITEM \STYLE{code} \END At the cursor, insert a block comment. \ITEM \STYLE{code} \END At the cursor, insert a '// TODO' comment, includes user name if it was specified in config.4coder. \ITEM \STYLE{code} \END At the cursor, insert a '// NOTE' comment, includes user name if it was specified in config.4coder. \ITEM \STYLE{code} \END Queries user for string, lists all locations of strings that appear to define a type whose name matches the input string. \ITEM \STYLE{code} \END Reads a token or word under the cursor and lists all locations of strings that appear to define a type whose name matches it. \ITEM \STYLE{code} \END At the cursor, insert a '{' and '}' separated by a blank line. \ITEM \STYLE{code} \END At the cursor, insert a '{' and '};' separated by a blank line. \ITEM \STYLE{code} \END At the cursor, insert a '{' and '}break;' separated by a blank line. \ITEM \STYLE{code} \END Finds the scope enclosed by '{' '}' surrounding the cursor and puts the cursor and mark on the '{' and '}'. \ITEM \STYLE{code} \END Finds the first scope started by '{' before the cursor and puts the cursor and mark on the '{' and '}'. \ITEM \STYLE{code} \END Finds the first scope started by '{' after the cursor and puts the cursor and mark on the '{' and '}'. \ITEM \STYLE{code} \END Wraps the code contained in the range between cursor and mark with a new curly brace scope. \ITEM \STYLE{code} \END Deletes the braces surrounding the currently selected scope. Leaves the contents within the scope. \ITEM \STYLE{code} \END If a scope is currently selected, and a statement or block statement is present below the current scope, the statement is moved into the scope. \ITEM \STYLE{code} \END Surround the range between the cursor and mark with an '#if 0' and an '#endif' \ITEM \STYLE{code} \END Reads a filename from surrounding '"' characters and attempts to open the corresponding file. \ITEM \STYLE{code} \END If the current file is a *.cpp or *.h, attempts to open the corresponding *.h or *.cpp file in the other view. \ITEM \STYLE{code} \END At the cursor, insert a ' = {0};'. \ITEM \STYLE{code} \END Creates a jump list of lines of the current buffer that appear to define or declare functions. \END \END \SECTION{default-lister-ui-map} These commands apply in 'lister mode' such as when you open a file. \LIST \ITEM \STYLE{code} \END A list mode command that inserts a new character to the text field. \ITEM \STYLE{code} \END A list mode command that quits the list without executing any actions. \ITEM \STYLE{code} \END A list mode command that activates the list's action on the highlighted item. \ITEM \STYLE{code} \END A list mode command that activates the list's action on the highlighted item. \ITEM \STYLE{code} \END A list mode command that backspaces one character from the text field. \ITEM \STYLE{code} \END A list mode command that moves the highlighted item one up in the list. \ITEM \STYLE{code} \END A list mode command that moves the highlighted item one up in the list. \ITEM \STYLE{code} \END A list mode command that moves the highlighted item one down in the list. \ITEM \STYLE{code} \END A list mode command that moves the highlighted item one down in the list.