Org Mode Agenda to new tab, show tabbar if >1 tabs

This commit is contained in:
Lüdecke Sascha
2026-09-17 09:07:34 +02:00
parent 955ceb2f61
commit 8258f31107
5 changed files with 34 additions and 5 deletions

View File

@@ -5,8 +5,9 @@
---------------------------------------------------
-- this is specific for a machine
-- // TODO.2026-09-17 - improve windows and onedrive check
local ORG_BASE_FOLDER = '~/Documents/Eigene (Briefe etc.)/org'
if vim.loop.os_gethostname() != 'slaptop' then
if vim.loop.os_gethostname() ~= 'slaptop' then
ORG_BASE_FOLDER = '~/OneDrive/Desktop/orgfiles'
end
sl_opt = {
@@ -45,7 +46,7 @@ vim.opt.splitbelow = true -- open new vertical split bottom
vim.opt.splitright = true -- open new horizontal splits right
vim.opt.termguicolors = true -- enable 24-bit RGB color in the TUI
vim.opt.showmode = false -- we are experienced, wo don't need the "-- INSERT --" mode hint
vim.opt.showtabline = 0 -- never show top line with tabs, not used anyways
vim.opt.showtabline = 1 -- never show top line with tabs, not used anyways
vim.opt.winborder = 'rounded' -- UI borders are rounded
-- Searching