phi/cfg/config_linux.go

67 lines
1017 B
Go

// +build linux
package cfg
var DEFUALT_TOML_CONFIG = `[editor]
tab_size = 4
hungry_backspace = true
tabs_are_spaces = true
match_braces = false
maintain_indentation = true
highlight_line = true
font_face = "Courier"
font_size = 20
show_line_numbers = true
[render]
aliased = true
accelerated = true
throttle_cpu_usage = true
always_render = true
syntax_highlighting = true
[file_associations]
[file_associations.toml]
extensions = [".toml"]
[file_associations.c]
extensions = [".c", ".h", ".cc"]
[file_associations.go]
extensions = [".go"]
[file_associations.md]
extensions = [".md"]
[theme]
background = 0x002649
foreground = 0xf2f4f6
cursor = 0xf2f4f6
cursor_invert = 0x000000
[cursor]
flash_rate = 400
reset_delay = 400
draw = true
flash = true
[commands]
[commands.exit]
shortcut = "ctrl+q"
[commands.show_palette]
shortcut = "ctrl+p"
[commands.save]
shortcut = "ctrl+s"
[commands.paste]
shortcut = "ctrl+v"
[commands.close_buffer]
shortcut = "ctrl+w"
[commands.delete_line]
shortcut = "ctrl+d"
`