add undotree

move vim options to seperate file
This commit is contained in:
Jeff committed 2026-11-09 21:27:16 +01:00
1 parent d51d04fbd6
commit e6c1f7d501
5 files changed
+37 -30

No files matched your search

+1
View File
@@ -0,0 +1 @@
vim.keymap.set("n", "<leader>u", vim.cmd.UndotreeToggle)
+1
View File
@@ -1,3 +1,4 @@
require("jeff")
require("config.lazy")
vim.lsp.enable("lua")
+1 -30
View File
@@ -1,31 +1,2 @@
require("jeff.settings")
require("jeff.remap")
vim.opt.guicursor = "n-c-v-sm:block-blinkon0,i-ci-r-cr-o:block-blinkon200-blinkoff150-blinkwait10"
vim.opt.nu = true
vim.opt.relativenumber = true
vim.opt.cursorline = true
vim.opt.cursorlineopt = "both"
vim.opt.tabstop = 4
vim.opt.softtabstop = 4
vim.opt.shiftwidth = 4
vim.opt.expandtab = false
vim.opt.smartindent = true
vim.opt.wrap = false
vim.opt.smoothscroll = true
vim.opt.hlsearch = false
vim.opt.incsearch = true
vim.opt.termguicolors = true
vim.opt.showmode = false
vim.opt.scrolloff = 8
-- vim.opt.scrolloffpad = 8
vim.opt.signcolumn = "yes"
vim.opt.colorcolumn = "80,120"
+29
View File
@@ -0,0 +1,29 @@
vim.opt.guicursor = "n-c-v-sm:block-blinkon0,i-ci-r-cr-o:block-blinkon200-blinkoff150-blinkwait10"
vim.opt.nu = true
vim.opt.relativenumber = true
vim.opt.cursorline = true
vim.opt.cursorlineopt = "both"
vim.opt.tabstop = 4
vim.opt.softtabstop = 4
vim.opt.shiftwidth = 4
vim.opt.expandtab = false
vim.opt.smartindent = true
vim.opt.wrap = false
vim.opt.smoothscroll = true
vim.opt.hlsearch = false
vim.opt.incsearch = true
vim.opt.termguicolors = true
vim.opt.showmode = false
vim.opt.scrolloff = 8
-- vim.opt.scrolloffpad = 8
vim.opt.signcolumn = "yes"
vim.opt.colorcolumn = "80,120"
+5
View File
@@ -15,6 +15,11 @@ return {
build = ':TSUpdate'
},
-- undotree
{
"mbbill/undotree",
},
-- render-latex
{
"techwizrd/render-latex.nvim",