Skip to content

Instantly share code, notes, and snippets.

@shreyasbharath
Last active March 28, 2018 02:11
Show Gist options
  • Save shreyasbharath/6407f958b5d9ad050c3c3d511b249a81 to your computer and use it in GitHub Desktop.
Save shreyasbharath/6407f958b5d9ad050c3c3d511b249a81 to your computer and use it in GitHub Desktop.
Cmder config
# name: Ctrl-D exits
# type: bool
# Ctrl-D exits the process when it is pressed on an empty line.
ctrld_exits = 1
# name: Ctrl-C raises exception
# type: bool
# When Ctrl-C is pressed Clink will pass it thourgh to the parent by raising the
# appropriate exception.
passthrough_ctrlc = 1
# name: Esc clears line
# type: bool
# Clink clears the current line when Esc is pressed (unless Readline's Vi mode
# is enabled).
esc_clears_line = 1
# If a line is a duplicate of an existing history entry Clink will erase the duplicate when this is set 2.
# A value of 1 will not add duplicates to the history and a value of 0 will always add lines.
history_dupe_mode = 2
# The '!' character in an entered line can be interpreted to introduce words from the history.
# This can be enabled and disable by setting this value to 1 or 0.
# Values or 2, 3 or 4 will skip any ! character quoted in single, double, or both quotes respectively.
history_expand_mode = 2
# When set to a positive integer this is the number of lines of history that will persist when Clink saves the command history to disk.
# Use 0 for infinite lines and <0 to disable history persistence.
history_file_lines = 0
# Use this setting to control when the history is written to disk and when it is read back.
# A value of 1 will read the history before editing of a new line commences, 2 will write the history, and 3 will do both.
# The default (0) is to write the history when the process exits.",
history_io = 2
# name: Match display colour
# type: int
# Colour to use when displaying matches. A value less than 0 will be the
# opposite brightness of the default colour.
match_colour = -1
# name: Executable match style
# type: enum
# Changes how Clink will match executables when there is no path separator on
# the line. 0 = PATH only, 1 = PATH and CWD, 2 = PATH, CWD, and directories. In
# all cases both executables and directories are matched when there is a path
# separator present.
exec_match_style = -1
# name: Prompt colour
# type: int
# Surrounds the prompt in ANSI escape codes to set the prompt's colour. Disabled
# when the value is less than 0.
prompt_colour = -1
# name: Auto-answer terminate prompt
# type: enum
# Automatically answers cmd.exe's 'Terminate batch job (Y/N)?' prompts. 0 =
# disabled, 1 = answer 'Y', 2 = answer 'N'.
terminate_autoanswer = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment