Initial commit

This commit is contained in:
Natty 2023-12-19 01:55:54 +01:00
commit 838acd23d4
Signed by: natty
GPG Key ID: BF6CB659ADEE60EC
5 changed files with 50 additions and 0 deletions

0
README.md Normal file
View File

19
init.lua Normal file
View File

@ -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

11
mappings.lua Normal file
View File

@ -0,0 +1,11 @@
return {
n = {
["<C-h>"] = {"db", desc = "Ctrl+Backspace to delete a word backwards"},
["<C-Del>"] = {"dw", desc = "Ctrl+Delete to delete a word forwards"}
},
i = {
[""] = {"<C-O>db", desc = "Ctrl+Backspace to delete a word backwards"},
["<C-Del>"] = {"<C-O>dw", desc = "Ctrl+Delete to delete a word forwards"}
}
}

12
options.lua Normal file
View File

@ -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

8
plugins.lua Normal file
View File

@ -0,0 +1,8 @@
return {
"catppuccin/nvim",
name = "catppuccin",
config = function()
require("catppuccin").setup {
}
end,
}