options.json 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. {
  2. general: {
  3. AppState_frameRate: 30,
  4. "GUIManager_maxInstances": 16384,
  5. imagesPath: "./images",
  6. commandsPath: "./config/commands.json",
  7. highlightersPath: "./src/highlighters/",
  8. highlightStylesPath: "./config/",
  9. sessionFileHistory: 100,
  10. "MainControl_startupTabs": [
  11. { "type": "Buffer", "path": "./testfile.c", },
  12. { "type": "Buffer", "path": "./testfile.h", },
  13. { "type": "FuzzyOpener", "path": "", },
  14. // { "type": "FileOpen", "path": "./", },
  15. ],
  16. "MainControl_openInPlace": 0,
  17. "MainControl_autoSortTabs": 0,
  18. // MainControl_paneTabLimit: 8, // auto-close oldest (not pinned) tab after n tabs open
  19. "MainControl_statusWidgets": [
  20. // { type: "hello_world", size: 15, align: "r", "format": "" },
  21. { type: "clock", size: 8, align: "r", format: "%H:%M:%S" }, // "%H:%M:%S"
  22. // { type: "findstate", size: 20, align: "r", format: "find: %I of %N" },
  23. // { type: "ping", size: 10, },
  24. // { type: "battery", size: 15, },
  25. { type: "linecol", size: 30, align: "l", format: "line %L:%C [%T lines]" },
  26. { type: "bufmode", size: 20, align: "l", format: "mode: %S [%D]" },
  27. // { type: "bufpath", size: 80, align: "l", format: "%P" },
  28. ],
  29. MainControl_tabNameScrollFn: "sinusoidal", // None, Linear, Sinusoidal, Swing, Loop
  30. MainControl_tabNameScrollStartLinger: 2.0,
  31. MainControl_tabNameScrollEndLinger: 2.0,
  32. MainControl_tabNameScrollAnimTime: 3.0,
  33. // Theme Settings
  34. "Theme_path": "default_dark.json",
  35. },
  36. buffer: {
  37. "linesPerScrollWheel": 3,
  38. "cursorBlinkEnable": 1,
  39. "cursorBlinkOffTime": 0.600,
  40. "cursorBlinkOnTime": 0.600,
  41. "highlightCurrentLine": 1,
  42. "outlineCurrentLine": 1,
  43. "outlineCurrentLineYOffset": 0,
  44. "lineNumExtraWidth": 10,
  45. "lineNumBase": 10, // 2-36
  46. "lineNumCharset": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ",
  47. "showLineNums": 1,
  48. "charWidth": 8,
  49. "lineHeight": 17,
  50. "tabWidth": 4,
  51. "font": "Courier New",
  52. "fontSize": 14,
  53. "invertSelection": 1,
  54. "maxUndo": 4096,
  55. "statusBarHeight": 20,
  56. // "MainControl_searchPaths": ["foo", "bar"],
  57. },
  58. gui: {
  59. shaderPath: "./src/shaders/guiUnified.glsl",
  60. "maxInstances": 16384,
  61. "linesPerScrollWheel": 5,
  62. "hideScrollbar": 0,
  63. "hideStatusBar": 0,
  64. "fontList": [
  65. "Arial",
  66. "Courier New"
  67. ],
  68. "fontSize_fw": 14,
  69. },
  70. }