From 991b90da98ad3f1da30dcb58c6f835bef9124097 Mon Sep 17 00:00:00 2001 From: Matthew Wozniak Date: Wed, 28 Jun 2023 10:10:19 -0400 Subject: new config --- lua/wozniak/config.lua | 18 ++++++++++++++++++ lua/wozniak/init.lua | 3 +++ lua/wozniak/remap.lua | 0 lua/wozniak/remaps.lua | 2 ++ 4 files changed, 23 insertions(+) create mode 100644 lua/wozniak/config.lua create mode 100644 lua/wozniak/init.lua create mode 100644 lua/wozniak/remap.lua create mode 100644 lua/wozniak/remaps.lua (limited to 'lua') diff --git a/lua/wozniak/config.lua b/lua/wozniak/config.lua new file mode 100644 index 0000000..2b76930 --- /dev/null +++ b/lua/wozniak/config.lua @@ -0,0 +1,18 @@ +vim.opt.nu = true + +vim.opt.tabstop = 4 +vim.opt.softtabstop = 4 +vim.opt.shiftwidth = 4 +vim.opt.expandtab = false +vim.opt.wrap = false + +vim.opt.hlsearch = false +vim.opt.incsearch = true + +vim.opt.termguicolors = true + +vim.opt.scrolloff = 8 + +vim.opt.updatetime = 50 + +vim.g.mapleader = ' ' diff --git a/lua/wozniak/init.lua b/lua/wozniak/init.lua new file mode 100644 index 0000000..1bfb2d7 --- /dev/null +++ b/lua/wozniak/init.lua @@ -0,0 +1,3 @@ +require('wozniak.remaps') +require('wozniak.config') +require('wozniak.remap') diff --git a/lua/wozniak/remap.lua b/lua/wozniak/remap.lua new file mode 100644 index 0000000..e69de29 diff --git a/lua/wozniak/remaps.lua b/lua/wozniak/remaps.lua new file mode 100644 index 0000000..610cc58 --- /dev/null +++ b/lua/wozniak/remaps.lua @@ -0,0 +1,2 @@ +vim.g.mapleader = ' ' +vim.keymap.set('n', 'pv', vim.cmd.Ex) -- cgit v1.2.3-54-g00ecf