From 267ca34956348d0bdea4949c0a0702b234d349d0 Mon Sep 17 00:00:00 2001 From: Sepehr Aghajani Date: Wed, 22 Jan 2025 20:17:14 +0330 Subject: [PATCH] my edit so far --- init.lua | 10 ++++++++++ lua/custom/plugins/init.lua | 6 +++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index aff7dcd2..d7a2be64 100644 --- a/init.lua +++ b/init.lua @@ -156,6 +156,16 @@ vim.opt.cursorline = true -- Minimal number of screen lines to keep above and below the cursor. vim.opt.scrolloff = 10 +-- my settings +vim.opt.tabstop = 4 +vim.opt.softtabstop = 4 +vim.opt.shiftwidth = 4 +vim.opt.nu = true +vim.opt.relativenumber = true +vim.opt.expandtab = true +vim.opt.smartindent = true +vim.opt.termguicolors = true + -- [[ Basic Keymaps ]] -- See `:help vim.keymap.set()` diff --git a/lua/custom/plugins/init.lua b/lua/custom/plugins/init.lua index be0eb9d8..d12dea96 100644 --- a/lua/custom/plugins/init.lua +++ b/lua/custom/plugins/init.lua @@ -2,4 +2,8 @@ -- I promise not to create any merge conflicts in this directory :) -- -- See the kickstart.nvim README for more information -return {} +return { + { 'CRAG666/code_runner.nvim', config = true }, + { 'mbbill/undotree' }, + vim.keymap.set('n', '', vim.cmd.UndotreeToggle, { desc = 'UndoTree' }), +}