commit 838acd23d476c5adc71ab60a86171c416058cb97 Author: Natty Date: Tue Dec 19 01:55:54 2023 +0100 Initial commit diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/init.lua b/init.lua new file mode 100644 index 0000000..5f6f173 --- /dev/null +++ b/init.lua @@ -0,0 +1,19 @@ +local config = { + updater = { + remote = "origin", + channel = "stable", + version = "latest", + branch = "nightly", + commit = nil, + pin_plugins = nil, + skip_prompts = false, + show_changelog = true, + auto_quit = false, + remotes = {} + }, + colorscheme = "catppuccin", + polish = function() + end +} + +return config diff --git a/mappings.lua b/mappings.lua new file mode 100644 index 0000000..85ed9b7 --- /dev/null +++ b/mappings.lua @@ -0,0 +1,11 @@ +return { + n = { + [""] = {"db", desc = "Ctrl+Backspace to delete a word backwards"}, + [""] = {"dw", desc = "Ctrl+Delete to delete a word forwards"} + }, + i = { + [""] = {"db", desc = "Ctrl+Backspace to delete a word backwards"}, + [""] = {"dw", desc = "Ctrl+Delete to delete a word forwards"} + } +} + diff --git a/options.lua b/options.lua new file mode 100644 index 0000000..17615af --- /dev/null +++ b/options.lua @@ -0,0 +1,12 @@ +local options = function(local_vim) + local_vim.opt.relativenumber = true + local_vim.opt.whichwrap = "b,s,h,l,<,>,[,]" + local_vim.opt.shiftwidth = 4 + local_vim.expandtab = {} + local_vim.smartindent = {} + local_vim.autoindent = {} + + return local_vim +end + +return options diff --git a/plugins.lua b/plugins.lua new file mode 100644 index 0000000..ac9fbbc --- /dev/null +++ b/plugins.lua @@ -0,0 +1,8 @@ +return { + "catppuccin/nvim", + name = "catppuccin", + config = function() + require("catppuccin").setup { + } + end, +}