diff --git a/init.lua b/init.lua index d963633..eacc2a8 100644 --- a/init.lua +++ b/init.lua @@ -23,13 +23,6 @@ require('packer').startup(function() use 'folke/todo-comments.nvim' use 'dstein64/vim-startuptime' end) -set.termguicolors = true -set.mouse = 'a' -set.clipboard = 'unnamedplus' -set.pumheight = 5 -set.number = true -set.tabstop = 4 -set.shiftwidth = 4 require("colorscheme") require("config") require("plugins") diff --git a/lua/config.lua b/lua/config.lua index 93bd597..f25778a 100644 --- a/lua/config.lua +++ b/lua/config.lua @@ -1,2 +1,14 @@ -- plugin-independent configuration, such as autocmds -vim.cmd("autocmd InsertLeave * write") +local set = vim.opt + +-- Set some stuff up like clipboard and mouse +set.termguicolors = true -- Needed for literally any modern colorscheme +set.mouse = 'a' -- Mouse support +set.clipboard = 'unnamedplus' -- Use X11 clipboard +set.pumheight = 5 -- Uhh whatever the fuck this does +set.number = true -- Show line numbers +set.tabstop = 4 -- Set up tabs +set.shiftwidth = 4 -- See above + +-- Autocmds +vim.cmd("autocmd InsertLeave * write") -- Autowrite when leaving insert mode diff --git a/plugin/packer_compiled.lua b/plugin/packer_compiled.lua index 4058ab6..951f0e4 100644 --- a/plugin/packer_compiled.lua +++ b/plugin/packer_compiled.lua @@ -109,11 +109,6 @@ _G.packer_plugins = { path = "/home/ruthenic/.local/share/nvim/site/pack/packer/start/nvim-cursorline", url = "https://github.com/yamatsum/nvim-cursorline" }, - ["nvim-gps"] = { - loaded = true, - path = "/home/ruthenic/.local/share/nvim/site/pack/packer/start/nvim-gps", - url = "https://github.com/SmiteshP/nvim-gps" - }, ["nvim-lspconfig"] = { loaded = true, path = "/home/ruthenic/.local/share/nvim/site/pack/packer/start/nvim-lspconfig",