Improved org-mode export, which-key display, fixed lunaperche colorscheme
This commit is contained in:
4
colors/lunaperche-sl.vim
Normal file
4
colors/lunaperche-sl.vim
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
runtime colors/lunaperche.vim
|
||||||
|
|
||||||
|
" fix VertSplit for lunaperche
|
||||||
|
hi VertSplit guifg=#aaaaaa
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
-- define your colorscheme here
|
-- define your colorscheme here
|
||||||
local colorscheme = 'lunaperche'
|
local colorscheme = 'lunaperche-sl'
|
||||||
|
|
||||||
local is_ok, _ = pcall(vim.cmd, "colorscheme " .. colorscheme)
|
local is_ok, _ = pcall(vim.cmd, "colorscheme " .. colorscheme)
|
||||||
if not is_ok then
|
if not is_ok then
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ require("lazy").setup({
|
|||||||
action = function(exporter)
|
action = function(exporter)
|
||||||
local current_file = vim.api.nvim_buf_get_name(0)
|
local current_file = vim.api.nvim_buf_get_name(0)
|
||||||
local target = vim.fn.fnamemodify(current_file, ':p:r') .. '.html'
|
local target = vim.fn.fnamemodify(current_file, ':p:r') .. '.html'
|
||||||
local command = { 'pandoc', '--filter', 'pandoc-plot', current_file, '--standalone', '--output', target }
|
local command = { 'pandoc', '--filter', 'pandoc-plot', current_file, '--standalone', '--toc', '--number-sections', '--output', target }
|
||||||
local on_success = function(output)
|
local on_success = function(output)
|
||||||
print('Success!')
|
print('Success!')
|
||||||
vim.api.nvim_echo({ { table.concat(output, '\n') } }, true, {})
|
vim.api.nvim_echo({ { table.concat(output, '\n') } }, true, {})
|
||||||
@@ -142,8 +142,11 @@ require("lazy").setup({
|
|||||||
-- your configuration comes here
|
-- your configuration comes here
|
||||||
-- or leave it empty to use the default settings
|
-- or leave it empty to use the default settings
|
||||||
-- refer to the configuration section below
|
-- refer to the configuration section below
|
||||||
preset = 'helix',
|
-- preset = 'helix',
|
||||||
expand = 4,
|
-- preset = 'classic',
|
||||||
|
-- preset = 'modern',
|
||||||
|
preset = false,
|
||||||
|
expand = 3,
|
||||||
keys = {
|
keys = {
|
||||||
scroll_down = "<c-d>", -- binding to scroll down inside the popup
|
scroll_down = "<c-d>", -- binding to scroll down inside the popup
|
||||||
scroll_up = "<c-u>", -- binding to scroll up inside the popup
|
scroll_up = "<c-u>", -- binding to scroll up inside the popup
|
||||||
@@ -154,6 +157,23 @@ require("lazy").setup({
|
|||||||
g = true,
|
g = true,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
win = {
|
||||||
|
-- no_overlap = false,
|
||||||
|
height = { min = 4 },
|
||||||
|
-- height = { min = 4, max = math.huge },
|
||||||
|
width = { min = 25, max = 120 },
|
||||||
|
-- title = true,
|
||||||
|
-- title_pos = "center",
|
||||||
|
-- border = "rounded",
|
||||||
|
col = -1,
|
||||||
|
row = -1,
|
||||||
|
padding = { 1, 3 },
|
||||||
|
},
|
||||||
|
layout = {
|
||||||
|
spacing = 2,
|
||||||
|
-- width = { min = math.huge },
|
||||||
|
width = { min = 20 },
|
||||||
|
},
|
||||||
},
|
},
|
||||||
keys = {
|
keys = {
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user