AutoYADM commit: 2025-01-25 16:15:03
This commit is contained in:
parent
3e59212010
commit
c559a15a8d
2 changed files with 24 additions and 0 deletions
|
@ -17,6 +17,25 @@ return {
|
||||||
org_hide_emphasis_markers = true,
|
org_hide_emphasis_markers = true,
|
||||||
org_blank_before_new_entry = { heading = false, plain_list_item = false },
|
org_blank_before_new_entry = { heading = false, plain_list_item = false },
|
||||||
win_split_mode = "auto",
|
win_split_mode = "auto",
|
||||||
|
ui = {
|
||||||
|
menu = {
|
||||||
|
handler = function(data)
|
||||||
|
local Menu = require("org-modern.menu")
|
||||||
|
Menu:new({
|
||||||
|
window = {
|
||||||
|
margin = { 1, 0, 1, 0 },
|
||||||
|
padding = { 0, 1, 0, 1 },
|
||||||
|
title_pos = "center",
|
||||||
|
border = "single",
|
||||||
|
zindex = 1000,
|
||||||
|
},
|
||||||
|
icons = {
|
||||||
|
separator = "➜",
|
||||||
|
},
|
||||||
|
}):open(data)
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
},
|
||||||
mappings = {
|
mappings = {
|
||||||
-- disable_all = true,
|
-- disable_all = true,
|
||||||
org_return_uses_meta_return = false,
|
org_return_uses_meta_return = false,
|
||||||
|
|
|
@ -3,5 +3,10 @@
|
||||||
"description": "Pretty Lua table.",
|
"description": "Pretty Lua table.",
|
||||||
"prefix": "tbl",
|
"prefix": "tbl",
|
||||||
"body": ["{", "\t$0", "},"]
|
"body": ["{", "\t$0", "},"]
|
||||||
|
},
|
||||||
|
"table_key_pair": {
|
||||||
|
"description": "Pretty table key pair.",
|
||||||
|
"prefix": "kp",
|
||||||
|
"body": ["${1:key} = {", "\t${2:value}", "},"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue