aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lua/config
diff options
context:
space:
mode:
authordacctal <dacctalyt@gmail.com>2026-04-19 15:58:03 +0000
committerdacctal <dacctalyt@gmail.com>2026-04-19 15:58:03 +0000
commit2e6e6d04b2c24a0666b015ef4f73718e2fe7c861 (patch)
tree51ee086d8e075d0d01ce01a1855058f95ecdf74d /.config/nvim/lua/config
parentd19b491454c9f793d2e311dd09f70a88240dda29 (diff)
added vis and nvim-12+ configs
Diffstat (limited to '.config/nvim/lua/config')
-rwxr-xr-x.config/nvim/lua/config/keymaps.lua13
-rw-r--r--.config/nvim/lua/config/lazy.lua35
-rwxr-xr-x.config/nvim/lua/config/options.lua40
3 files changed, 0 insertions, 88 deletions
diff --git a/.config/nvim/lua/config/keymaps.lua b/.config/nvim/lua/config/keymaps.lua
deleted file mode 100755
index e2987bc..0000000
--- a/.config/nvim/lua/config/keymaps.lua
+++ /dev/null
@@ -1,13 +0,0 @@
-localopts = { noremap = true, silent = true }
-
-vim.g.mapleader = " "
-vim.g.maplocalleader = " "
-
-vim.keymap.set({"n", "v"}, "y", '"+y', { noremap = true, silent = true })
-
-vim.keymap.set("v", "J", ":m '>+1<CR>gv=gv", { desc = "moves lines down in visual selection" })
-vim.keymap.set("v", "K", ":m '<-2<CR>gv=gv", { desc = "moves lines up in visual selection" })
-
-vim.keymap.set("n", "<leader>al", "<CMD>term<CR>", { desc = "Open terminal" })
-
-vim.keymap.set("n", "<leader>f", vim.lsp.buf.format)
diff --git a/.config/nvim/lua/config/lazy.lua b/.config/nvim/lua/config/lazy.lua
deleted file mode 100644
index c381a4b..0000000
--- a/.config/nvim/lua/config/lazy.lua
+++ /dev/null
@@ -1,35 +0,0 @@
--- Bootstrap lazy.nvim
-local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
-if not (vim.uv or vim.loop).fs_stat(lazypath) then
- local lazyrepo = "https://github.com/folke/lazy.nvim.git"
- local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
- if vim.v.shell_error ~= 0 then
- vim.api.nvim_echo({
- { "Failed to clone lazy.nvim:\n", "ErrorMsg" },
- { out, "WarningMsg" },
- { "\nPress any key to exit..." },
- }, true, {})
- vim.fn.getchar()
- os.exit(1)
- end
-end
-vim.opt.rtp:prepend(lazypath)
-
--- Make sure to setup `mapleader` and `maplocalleader` before
--- loading lazy.nvim so that mappings are correct.
--- This is also a good place to setup other settings (vim.opt)
-vim.g.mapleader = " "
-vim.g.maplocalleader = "\\"
-
--- Setup lazy.nvim
-require("lazy").setup({
- spec = {
- -- import your plugins
- { import = "plugins" },
- },
- -- Configure any other settings here. See the documentation for more details.
- -- colorscheme that will be used when installing plugins.
- install = { colorscheme = { "habamax" } },
- -- automatically check for plugin updates
- checker = { enabled = true },
-})
diff --git a/.config/nvim/lua/config/options.lua b/.config/nvim/lua/config/options.lua
deleted file mode 100755
index dac7c76..0000000
--- a/.config/nvim/lua/config/options.lua
+++ /dev/null
@@ -1,40 +0,0 @@
-vim.cmd("let g:netrw_banner = 0")
-vim.cmd("set termguicolors")
-
-vim.opt.guicursor = ""
-vim.opt.nu = true
-vim.opt.relativenumber = false
-
-vim.opt.tabstop = 2
-vim.opt.softtabstop = 2
-vim.opt.shiftwidth = 2
-vim.opt.expandtab = true
-vim.opt.autoindent = true
-vim.opt.smartindent = true
-vim.opt.wrap = true
-
-vim.opt.swapfile = false
-vim.opt.backup = false
-vim.opt.undofile = true
-
-vim.opt.incsearch = true
-vim.opt.inccommand = "split"
-vim.opt.ignorecase = true
-vim.opt.smartcase = true
-
-vim.opt.termguicolors = true
-vim.opt.background = "dark"
-vim.opt.scrolloff = 8
-vim.opt.signcolumn = "yes"
-
-vim.opt.backspace = { "start", "eol", "indent" }
-
-vim.opt.splitright = true
-vim.opt.splitbelow = true
-
-vim.opt.hlsearch = true
-
-vim.opt.mouse = "a"
-vim.g.editorconfig = true
-
-vim.g.markdown_folding = 1