Org mode / quality of life stuff
This commit is contained in:
parent
332ff948ed
commit
150e21702e
12 changed files with 238 additions and 3 deletions
8
after/plugin/lf.lua
Normal file
8
after/plugin/lf.lua
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
vim.keymap.set("n", "<leader>e", function ()
|
||||
vim.g.lf_command_override = string.format('LF_OVERRIDE_X=%d LF_OVERRIDE_Y=%d lf',
|
||||
math.floor(vim.go.columns * 0.5),
|
||||
math.ceil(vim.go.lines * 0.25)
|
||||
)
|
||||
vim.cmd("Lf")
|
||||
end)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue