[nvim] fix tpipeline statusbar

This commit is contained in:
Afonso Franco 2024-06-01 19:56:18 +01:00
parent 46ae6deeba
commit 997adca013
Signed by: afonso
SSH key fingerprint: SHA256:PQTRDHPH3yALEGtHXnXBp3Orfcn21pK20t0tS1kHg54
2 changed files with 4 additions and 3 deletions

View file

@ -31,8 +31,9 @@ vim.keymap.set("n", "<C-n>", "<cmd>cnext<CR>zz")
vim.keymap.set("n", "<A-h>", "<cmd>bp<CR>") vim.keymap.set("n", "<A-h>", "<cmd>bp<CR>")
vim.keymap.set("n", "<A-l>", "<cmd>bn<CR>") vim.keymap.set("n", "<A-l>", "<cmd>bn<CR>")
--Undo dir --Undo dir
vim.opt.undodir = os.getenv("HOME") .. "/.vim/undodir"
vim.opt.undofile = true vim.opt.undofile = true
--Backup dir
vim.opt.backup = true
--Org mode hide links --Org mode hide links
vim.opt.conceallevel = 2 vim.opt.conceallevel = 2
vim.opt.concealcursor = 'nc' vim.opt.concealcursor = 'nc'

View file

@ -2,8 +2,8 @@ return {
{ {
"vimpostor/vim-tpipeline", "vimpostor/vim-tpipeline",
config = function() config = function()
vim.g.tpipeline_restore = 1 vim.g.tpipeline_restore = 0
vim.g.tpipeline_autoembed = 1 vim.g.tpipeline_autoembed = 0
vim.o.laststatus = 0 vim.o.laststatus = 0
vim.g.tpipeline_statusline = '%=%l:%c' vim.g.tpipeline_statusline = '%=%l:%c'
end end