Type object
File match **/.config/micro/settings.json
Schema URL https://catalog.lintel.tools/schemas/schemastore/micro-settings-json/latest.json
Source https://raw.githubusercontent.com/zyedidia/micro/master/data/micro.json

Validate with Lintel

npx @lintel/lintel check
Type: object

A micro editor config schema

Properties

autoindent boolean

Whether to use the same indentation as a previous line https://github.com/micro-editor/micro/blob/master/runtime/help/options.md#options

Default: true
autosave integer
Default: 0
min=0
autosu boolean
Default: false
backup boolean
Default: true
backupdir string
Default: ""
basename boolean
Default: false
clipboard string
Default: "external"
Values: "external" "terminal" "internal"
colorcolumn integer
Default: 0
min=0
colorscheme string
Default: "default"
Values: "atom-dark" "bubblegum" "cmc-16" "cmc-tc" "darcula" "default" "dracula-tc" "dukedark-tc" "dukelight-tc" "dukeubuntu-tc" "geany" "gotham" "gruvbox" "gruvbox-tc" "material-tc" "monokai-dark" "monokai" "one-dark" "railscast" "simple" "solarized" "solarized-tc" "sunny-day" "twilight" "zenburn"
cursorline boolean

Whether to highlight a line with a cursor with a different color https://github.com/micro-editor/micro/blob/master/runtime/help/options.md#options

Default: true
diffgutter boolean
Default: false
divchars string
Default: "|-"
divreverse boolean

Whether to use inversed color scheme colors for splits https://github.com/micro-editor/micro/blob/master/runtime/help/options.md#options

Default: true
encoding string
Default: "utf-8"
eofnewline boolean
Default: true
fastdirty boolean

Whether to use a fast algorithm to determine whether a file is changed https://github.com/micro-editor/micro/blob/master/runtime/help/options.md#options

Default: false
fileformat string
Default: "unix"
Values: "unix" "dos"
filetype string
Default: "unknown"
hlsearch boolean

Whether to highlight all instances of a searched text after a successful search https://github.com/micro-editor/micro/blob/master/runtime/help/options.md#options

Default: false
incsearch boolean

Whether to enable an incremental search in Find prompt https://github.com/micro-editor/micro/blob/master/runtime/help/options.md#options

Default: true
ignorecase boolean
Default: true
indentchar string
Default: " "
maxLength=1
infobar boolean

Whether to enable a line at the bottom where messages are printed https://github.com/micro-editor/micro/blob/master/runtime/help/options.md#options

Default: true
keepautoindent boolean
Default: false
keymenu boolean

Whether to display nano-style key menu at the bottom https://github.com/micro-editor/micro/blob/master/runtime/help/options.md#options

Default: false
matchbrace boolean
Default: true
matchbracestyle string
Default: "underline"
Values: "underline" "highlight"
mkparents boolean
Default: false
mouse boolean
Default: true
paste boolean

Whether to treat characters sent from the terminal in a single chunk as a paste event https://github.com/micro-editor/micro/blob/master/runtime/help/options.md#options

Default: false
parsecursor boolean

Whether to extract a line number and a column to open files with from file names https://github.com/micro-editor/micro/blob/master/runtime/help/options.md#options

Default: false
permbackup boolean
Default: false
pluginchannels string
Default: "https://raw.githubusercontent.com/micro-editor/plugin-channel/master/channel.json"
pluginrepos string[]
Default:
[]
uniqueItems=true
readonly boolean
Default: false
rmtrailingws boolean
Default: false
ruler boolean
Default: true
relativeruler boolean
Default: false
savecursor boolean
Default: false
savehistory boolean

Whether to save command history between closing and re-opening editor https://github.com/micro-editor/micro/blob/master/runtime/help/options.md#options

Default: true
saveundo boolean
Default: false
scrollbar boolean
Default: false
scrollmargin integer

A margin at which a view starts scrolling when a cursor approaches an edge of a view https://github.com/micro-editor/micro/blob/master/runtime/help/options.md#options

Default: 3
scrollspeed integer
Default: 2
smartpaste boolean

Whether to add a leading whitespace while pasting multiple lines https://github.com/micro-editor/micro/blob/master/runtime/help/options.md#options

Default: true
softwrap boolean
Default: false
splitbottom boolean

Whether to create a new horizontal split below the current one https://github.com/micro-editor/micro/blob/master/runtime/help/options.md#options

Default: true
splitright boolean

Whether to create a new vertical split right of the current one https://github.com/micro-editor/micro/blob/master/runtime/help/options.md#options

Default: true
statusformatl string

Format string of left-justified part of the statusline https://github.com/micro-editor/micro/blob/master/runtime/help/options.md#options

Default: "$(filename) $(modified)($(line),$(col)) $(status.paste)| ft:$(opt:filetype) | $(opt:fileformat) | $(opt:encoding)"
statusformatr string

Format string of right-justified part of the statusline https://github.com/micro-editor/micro/blob/master/runtime/help/options.md#options

Default: "$(bind:ToggleKeyMenu): bindings, $(bind:ToggleHelp): help"
statusline boolean
Default: true
sucmd string
Default: "sudo"
Examples: "sudo", "doas"
syntax boolean
Default: true
tabmovement boolean

Whether to navigate spaces at the beginning of lines as if they are tabs https://github.com/micro-editor/micro/blob/master/runtime/help/options.md#options

Default: false
tabhighlight boolean
Default: false
tabreverse boolean
Default: true
tabstospaces boolean
Default: false
useprimary boolean

Whether to use primary clipboard to copy selections in the background https://github.com/micro-editor/micro/blob/master/runtime/help/options.md#options

Default: true
wordwrap boolean
Default: false
xterm boolean

Whether to assume that the current terminal is xterm https://github.com/micro-editor/micro/blob/master/runtime/help/options.md#options

Default: false