feat: Sync complete config - Fish, Ghostty, Neovim Scratch
- Add missing Fish configs (direnv, ssh function) - Add Tokyo Night theme for Ghostty - Complete Neovim scratch config sync - Rewrite install.sh for new structure - Add comprehensive README.md
This commit is contained in:
@@ -1,64 +1,15 @@
|
||||
-- Grundeinstellungen
|
||||
-- ============================================================================
|
||||
-- Neovim Config - Built from Scratch
|
||||
-- Optimiert für TypeScript/Playwright QA und Go Development
|
||||
-- ============================================================================
|
||||
|
||||
-- Leader key muss VOR lazy.nvim gesetzt werden
|
||||
vim.g.mapleader = ' '
|
||||
vim.g.maplocalleader = ' '
|
||||
vim.opt.number = true
|
||||
vim.opt.relativenumber = false
|
||||
vim.opt.mouse = 'a'
|
||||
vim.opt.showmode = false
|
||||
vim.opt.clipboard = 'unnamedplus'
|
||||
vim.opt.breakindent = true
|
||||
vim.opt.undofile = true
|
||||
vim.opt.ignorecase = true
|
||||
vim.opt.smartcase = true
|
||||
vim.opt.signcolumn = 'yes'
|
||||
vim.opt.updatetime = 250
|
||||
vim.opt.timeoutlen = 300
|
||||
vim.opt.splitright = true
|
||||
vim.opt.splitbelow = true
|
||||
vim.opt.list = true
|
||||
vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '␣' }
|
||||
vim.opt.inccommand = 'split'
|
||||
vim.opt.cursorline = true
|
||||
vim.opt.scrolloff = 10
|
||||
vim.opt.hlsearch = true
|
||||
|
||||
-- Lade lazy.nvim
|
||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||
if not vim.loop.fs_stat(lazypath) then
|
||||
vim.fn.system({
|
||||
"git",
|
||||
"clone",
|
||||
"--filter=blob:none",
|
||||
"https://github.com/folke/lazy.nvim.git",
|
||||
"--branch=stable", -- neueste stabile Version
|
||||
lazypath,
|
||||
})
|
||||
end
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
-- Core Einstellungen laden
|
||||
require('core.options')
|
||||
require('core.keymaps')
|
||||
require('core.lazy')
|
||||
|
||||
-- Lade Plugins
|
||||
require("lazy").setup({
|
||||
-- Grundlegende Plugins
|
||||
{ import = "custom.plugins" },
|
||||
|
||||
-- Colorscheme
|
||||
{
|
||||
"folke/tokyonight.nvim",
|
||||
lazy = false,
|
||||
priority = 1000,
|
||||
config = function()
|
||||
require("tokyonight").setup({
|
||||
style = "storm",
|
||||
transparent = false,
|
||||
terminal_colors = true,
|
||||
})
|
||||
vim.cmd.colorscheme "tokyonight"
|
||||
end,
|
||||
},
|
||||
})
|
||||
|
||||
-- Lade benutzerdefinierte Einstellungen
|
||||
require("custom.config")
|
||||
|
||||
-- Lade Spracheinstellungen
|
||||
require("custom.lsp")
|
||||
-- Nach Plugin-Load: LSP und weitere Configs werden automatisch geladen
|
||||
|
||||
Reference in New Issue
Block a user