aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/init.lua
diff options
context:
space:
mode:
authorXander Swan <email>2025-12-03 10:00:41 -0500
committerXander Swan <email>2025-12-03 10:00:41 -0500
commita9bd3263f74bb219ecc451b7c145f229aabd139a (patch)
treef4b62b43b005e18ee0ec485daa8a5efcd0604115 /.config/nvim/init.lua
parentdb2efeacfb28e035f9fc6e3fcaf32ecf1eea7c1d (diff)
poggers
Diffstat (limited to '.config/nvim/init.lua')
-rw-r--r--.config/nvim/init.lua59
1 files changed, 3 insertions, 56 deletions
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 = '<space>'
-map('i', 'jk', '<escape>', {})
-map('n', key .. 'n', [[:NvimTreeToggle<cr>]], {})
-map('n', key .. 'f', [[:Telescope find_files<cr>]], {})
-map('n', key .. 'g', [[:Git<cr>]], {})
-map('n', key .. 'to', [[:TermOpen<cr><cr>]], {})
-map('n', key .. 'c', [[:noh<cr>]], {})
-
--- change pane
-map('n', '<C-h>', '<C-w>h', {})
-map('n', '<C-j>', '<C-w>j', {})
-map('n', '<C-k>', '<C-w>k', {})
-map('n', '<C-l>', '<C-w>l', {})
-
-map('o', 'as', 'a"', {})
-map('o', 'is', 'i"', {})
-map('o', 'it', 'i[', {})
-map('o', 'at', 'a[', {})
-
-map('t', '<escape>', '<C-\\><C-n>', {})
-map('t', 'jk', '<C-\\><C-n>', {})
-
-
+require("set")
+require("remapping")