From a9bd3263f74bb219ecc451b7c145f229aabd139a Mon Sep 17 00:00:00 2001 From: Xander Swan Date: Wed, 3 Dec 2025 10:00:41 -0500 Subject: poggers --- .config/nvim/init.lua | 59 +++------------------------------------------------ 1 file changed, 3 insertions(+), 56 deletions(-) (limited to '.config/nvim/init.lua') diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index 2702afb..8fb9f57 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -1,62 +1,9 @@ - local packer_path = vim.fn.stdpath('config') .. '/site' vim.o.packpath = vim.o.packpath .. ',' .. packer_path require("plugins") require("plugin_conf") +require("autocomplete") require("lsp") - --- OPTIONS -local opt = vim.opt - -opt.number = true -opt.relativenumber = false -opt.cursorline = true -opt.scrolloff = 4 -opt.signcolumn = "yes" - -opt.encoding = 'utf8' -opt.fileencoding = 'utf8' -opt.syntax = "ON" -opt.termguicolors = true -vim.api.nvim_command('colorscheme monokai-pro-spectrum') - -opt.ignorecase = true -opt.smartcase = true -opt.incsearch = true - -opt.expandtab = true -opt.shiftwidth = 2 -opt.softtabstop = 2 -opt.tabstop = 2 - -opt.splitright = true -opt.splitbelow = true - --- KEYS - -local map = vim.api.nvim_set_keymap - -local key = '' -map('i', 'jk', '', {}) -map('n', key .. 'n', [[:NvimTreeToggle]], {}) -map('n', key .. 'f', [[:Telescope find_files]], {}) -map('n', key .. 'g', [[:Git]], {}) -map('n', key .. 'to', [[:TermOpen]], {}) -map('n', key .. 'c', [[:noh]], {}) - --- change pane -map('n', '', 'h', {}) -map('n', '', 'j', {}) -map('n', '', 'k', {}) -map('n', '', 'l', {}) - -map('o', 'as', 'a"', {}) -map('o', 'is', 'i"', {}) -map('o', 'it', 'i[', {}) -map('o', 'at', 'a[', {}) - -map('t', '', '', {}) -map('t', 'jk', '', {}) - - +require("set") +require("remapping") -- cgit v1.3-2-g0d8e