Remove all config related files as now chezmoi will manage config files
This commit is contained in:
@@ -1,59 +0,0 @@
|
||||
{
|
||||
"scalingPriority": "gdk",
|
||||
"theme.bar.floating": true,
|
||||
"bar.autoHide": "never",
|
||||
"bar.layouts": {
|
||||
"*": {
|
||||
"left": [
|
||||
"cpu",
|
||||
"ram",
|
||||
"workspaces",
|
||||
"windowtitle"
|
||||
],
|
||||
"middle": [
|
||||
"media"
|
||||
],
|
||||
"right": [
|
||||
"volume",
|
||||
"network",
|
||||
"bluetooth",
|
||||
"systray",
|
||||
"notifications",
|
||||
"clock",
|
||||
"dashboard"
|
||||
]
|
||||
}
|
||||
},
|
||||
"theme.notification.enableShadow": false,
|
||||
"theme.bar.border.location": "none",
|
||||
"theme.bar.border_radius": "0.75em",
|
||||
"theme.bar.outer_spacing": ".25em",
|
||||
"theme.bar.buttons.radius": "0.75em",
|
||||
"theme.bar.menus.monochrome": false,
|
||||
"theme.bar.menus.opacity": 100,
|
||||
"theme.bar.buttons.y_margins": "0.1em",
|
||||
"theme.bar.buttons.enableBorders": true,
|
||||
"theme.bar.transparent": true,
|
||||
"theme.bar.enableShadow": false,
|
||||
"menus.clock.time.hideSeconds": false,
|
||||
"menus.dashboard.shortcuts.left.shortcut1.icon": "",
|
||||
"menus.dashboard.shortcuts.left.shortcut1.command": "uwsm app -- one.ablaze.floorp.desktop",
|
||||
"menus.dashboard.shortcuts.left.shortcut1.tooltip": "Floorp",
|
||||
"menus.dashboard.shortcuts.enabled": true,
|
||||
"menus.dashboard.stats.enable_gpu": false,
|
||||
"menus.clock.weather.enabled": false,
|
||||
"bar.workspaces.show_icons": false,
|
||||
"bar.workspaces.show_numbered": true,
|
||||
"theme.bar.buttons.windowtitle.enableBorder": false,
|
||||
"bar.windowtitle.custom_title": true,
|
||||
"bar.windowtitle.truncation": true,
|
||||
"bar.notifications.show_total": true,
|
||||
"bar.notifications.hideCountWhenZero": true,
|
||||
"bar.launcher.icon": "",
|
||||
"bar.launcher.autoDetectIcon": false,
|
||||
"menus.dashboard.shortcuts.left.shortcut3.command": "uwsm app -- com.discordapp.Discord",
|
||||
"menus.dashboard.shortcuts.left.shortcut2.icon": "",
|
||||
"menus.dashboard.shortcuts.left.shortcut2.command": "uwsm app --net.cozic.joplin_desktop",
|
||||
"menus.dashboard.shortcuts.left.shortcut2.tooltip": "Joplin",
|
||||
"menus.dashboard.shortcuts.left.shortcut4.command": "uwsm app -- $(wofi --show drun --define=drun-print_desktop_file=true)"
|
||||
}
|
@@ -1 +0,0 @@
|
||||
{}
|
@@ -1,4 +0,0 @@
|
||||
#!/usr/bin/env lua
|
||||
require("options")
|
||||
require("keymaps")
|
||||
require("config.lazy")
|
@@ -1,47 +0,0 @@
|
||||
-- Bootstrap lazy.nvim
|
||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||
if not (vim.uv or vim.loop).fs_stat(lazypath) then
|
||||
local lazyrepo = "https://github.com/folke/lazy.nvim.git"
|
||||
local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
|
||||
if vim.v.shell_error ~= 0 then
|
||||
vim.api.nvim_echo({
|
||||
{ "Failed to clone lazy.nvim:\n", "ErrorMsg" },
|
||||
{ out, "WarningMsg" },
|
||||
{ "\nPress any key to exit..." },
|
||||
}, true, {})
|
||||
vim.fn.getchar()
|
||||
os.exit(1)
|
||||
end
|
||||
end
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
|
||||
-- Make sure to setup `mapleader` and `maplocalleader` before
|
||||
-- loading lazy.nvim so that mappings are correct.
|
||||
-- This is also a good place to setup other settings (vim.opt)
|
||||
vim.g.mapleader = " "
|
||||
vim.g.maplocalleader = "\\"
|
||||
|
||||
-- Setup lazy.nvim
|
||||
require("lazy").setup({
|
||||
spec = {
|
||||
{ "LazyVim/LazyVim", import = "lazyvim.plugins"},
|
||||
-- import your plugins
|
||||
{ import = "plugins" },
|
||||
},
|
||||
-- automatically check for plugin updates
|
||||
checker = {
|
||||
enabled = true,
|
||||
notify = false,
|
||||
},
|
||||
performance = {
|
||||
rtp = {
|
||||
disabled_plugins = {
|
||||
"gzip",
|
||||
"tarPlugin",
|
||||
"tohtml",
|
||||
"tutor",
|
||||
"zipPlugin",
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
@@ -1,31 +0,0 @@
|
||||
-- define comon options
|
||||
local opts = {
|
||||
noremap = true, -- non-recursive
|
||||
silent = true, -- do not show message
|
||||
}
|
||||
|
||||
-----------------
|
||||
-- Normal mode --
|
||||
-----------------
|
||||
|
||||
-- check `:h vim.map.set()` to get better idea of what this does
|
||||
-- Better window navigation
|
||||
vim.keymap.set('n', '<C-h>', '<C-w>h', opts)
|
||||
vim.keymap.set('n', '<C-j>', '<C-w>j', opts)
|
||||
vim.keymap.set('n', '<C-k>', '<C-w>k', opts)
|
||||
vim.keymap.set('n', '<C-l>', '<C-w>l', opts)
|
||||
|
||||
-- Resize with arrows
|
||||
-- delta: 2 lines
|
||||
vim.keymap.set('n', '<C-Up>', ':resize -2<CR>', opts)
|
||||
vim.keymap.set('n', '<C-Down>', ':resize +2<CR>', opts)
|
||||
vim.keymap.set('n', '<C-Left>', ':vertical resize -2<CR>', opts)
|
||||
vim.keymap.set('n', '<C-Right>', ':vertical resize +2<CR>', opts)
|
||||
|
||||
-----------------
|
||||
-- Visual mode --
|
||||
-----------------
|
||||
|
||||
-- start visual mode with same area as previous area and same mode
|
||||
vim.keymap.set('v', '<', '<gv', opts)
|
||||
vim.keymap.set('v', '>', '>gv', opts)
|
@@ -1,25 +0,0 @@
|
||||
-- use `:h <option>` to figure out meaning
|
||||
vim.opt.clipboard = "unnamedplus" -- use system keyboard
|
||||
vim.opt.completeopt = { "menu", "noinsert", "noselect" }
|
||||
vim.opt.mouse = "a" -- supposedly to allow the mouse to be used in nvim
|
||||
|
||||
-- Tab settings
|
||||
vim.opt.tabstop = 4 -- set number of visual spaces per \t (Tab)
|
||||
vim.opt.softtabstop = 4 -- set number of space in tab when editing
|
||||
vim.opt.shiftwidth = 4 -- insert 4 spaces on a tab
|
||||
vim.opt.expandtab = false -- for python apparently, treat tabs as spaces
|
||||
|
||||
-- UI config
|
||||
vim.opt.number = true -- show the absolute number
|
||||
vim.opt.relativenumber = true -- to add numbers to each line on the left side (line numbers?)
|
||||
vim.opt.cursorline = true -- highlights the line where the cursor is
|
||||
vim.opt.splitbelow = true -- sets new splits to be opened below
|
||||
vim.opt.splitright = true -- sets new splits to be opened to the right
|
||||
vim.opt.termguicolors = true -- enables 24-bit RGB color in Terminal UI
|
||||
-- vim.opt.showmode = false -- removes the --INSERT-- like UI at the bottom
|
||||
|
||||
-- Search settings
|
||||
vim.opt.incsearch = true -- search as characters are entered
|
||||
--vim.opt.hlsearch = false -- do not highlight matches
|
||||
vim.opt.ignorecase = true -- ignore cases by default
|
||||
vim.opt.smartcase = true -- when capitalized, be case sensitive
|
@@ -1,17 +0,0 @@
|
||||
return {
|
||||
"folke/tokyonight.nvim",
|
||||
lazy = false,
|
||||
priority = 1000,
|
||||
opts = {
|
||||
style = "night",
|
||||
on_highlights = function(h1)
|
||||
h1.LineNrAbove = {
|
||||
fg = "#6ab8ff",
|
||||
}
|
||||
h1.LineNrBelow = {
|
||||
fg = "#ff6188"
|
||||
}
|
||||
end,
|
||||
on_colors = function() end,
|
||||
},
|
||||
}
|
@@ -1,12 +0,0 @@
|
||||
return {
|
||||
{
|
||||
"nvim-neo-tree/neo-tree.nvim",
|
||||
branch = "v3.x",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
|
||||
"MunifTanjim/nui.nvim",
|
||||
-- {"3rd/image.nvim", opts = {}}, -- Optional image support in preview window: See `# Preview Mode` for more information
|
||||
},
|
||||
},
|
||||
}
|
@@ -1,14 +0,0 @@
|
||||
return {
|
||||
{
|
||||
{
|
||||
"akinsho/bufferline.nvim",
|
||||
version = "*",
|
||||
dependencies = "nvim-tree/nvim-web-devicons",
|
||||
opts = {
|
||||
options = {
|
||||
mode = "tabs",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
@@ -1,18 +0,0 @@
|
||||
local plugin = {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
build = function()
|
||||
require("nvim-treesitter.install").update({ with_sync = true })()
|
||||
end,
|
||||
config = function()
|
||||
local configs = require("nvim-treesitter.configs")
|
||||
|
||||
configs.setup({
|
||||
ensure_installed = { "c", "lua", "vim", "vimdoc", "query", "elixir", "heex", "javascript", "html" },
|
||||
sync_install = false,
|
||||
highlight = { enable = true },
|
||||
indent = { enable = true },
|
||||
})
|
||||
end,
|
||||
}
|
||||
|
||||
return { plugin }
|
Reference in New Issue
Block a user