home: remove neovim
This commit is contained in:
parent
44d07fadb1
commit
e08a6f7d23
10 changed files with 2 additions and 99 deletions
|
@ -12,6 +12,7 @@ name | description
|
||||||
`default` | used for commonly shared modules, for multiple home-manager configs
|
`default` | used for commonly shared modules, for multiple home-manager configs
|
||||||
`git` | version control system
|
`git` | version control system
|
||||||
`gtk` | themes
|
`gtk` | themes
|
||||||
|
`helix` | modal text editor
|
||||||
`ironbar` | wayland specific bar, written in Rust
|
`ironbar` | wayland specific bar, written in Rust
|
||||||
`lazygit` | terminal based git command system
|
`lazygit` | terminal based git command system
|
||||||
`mako` | a lightweight wayland notification daemon
|
`mako` | a lightweight wayland notification daemon
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
imports = [
|
imports = [
|
||||||
./editors/helix
|
./helix
|
||||||
./editors/neovim
|
|
||||||
./neofetch
|
./neofetch
|
||||||
./nushell
|
./nushell
|
||||||
./starship
|
./starship
|
||||||
|
|
|
@ -1,63 +0,0 @@
|
||||||
vim.opt.shiftwidth = 2
|
|
||||||
vim.opt.tabstop = 2
|
|
||||||
vim.opt.relativenumber = true
|
|
||||||
|
|
||||||
-- general
|
|
||||||
lvim.log.level = "info"
|
|
||||||
lvim.format_on_save.enabled = true
|
|
||||||
lvim.format_on_save.pattern = { "*.lua", "*.nix", "*.rs", "*.go" }
|
|
||||||
|
|
||||||
-- keymappings <https://www.lunarvim.org/docs/configuration/keybindings>
|
|
||||||
lvim.leader = "space"
|
|
||||||
|
|
||||||
-- add your own keymapping
|
|
||||||
lvim.keys.normal_mode["<C-s>"] = ":w<cr>"
|
|
||||||
|
|
||||||
-- -- Change theme settings
|
|
||||||
lvim.colorscheme = "tokyonight"
|
|
||||||
lvim.transparent_window = true
|
|
||||||
|
|
||||||
lvim.builtin.alpha.active = true
|
|
||||||
lvim.builtin.alpha.mode = "dashboard"
|
|
||||||
lvim.builtin.terminal.active = true
|
|
||||||
lvim.builtin.nvimtree.setup.view.side = "left"
|
|
||||||
lvim.builtin.nvimtree.setup.renderer.icons.show.git = true
|
|
||||||
lvim.builtin.treesitter.auto_install = true
|
|
||||||
|
|
||||||
|
|
||||||
-- plugins
|
|
||||||
|
|
||||||
lvim.plugins = {
|
|
||||||
{
|
|
||||||
"andweeb/presence.nvim",
|
|
||||||
config = function() require("user.presence").config() end
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"folke/tokyonight.nvim", lazy = false, priority = 1000, opts = {}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"windwp/nvim-spectre",
|
|
||||||
event = "BufRead",
|
|
||||||
config = function() require("spectre").setup() end
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ggandor/leap.nvim",
|
|
||||||
name = "leap",
|
|
||||||
config = function()
|
|
||||||
require("leap").add_default_mappings()
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
||||||
local formatters = require "lvim.lsp.null-ls.formatters"
|
|
||||||
formatters.setup {
|
|
||||||
{
|
|
||||||
name = "alejandra",
|
|
||||||
command = "alejandra",
|
|
||||||
args = { "--quiet" },
|
|
||||||
filetypes = { "nix" }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
local function open_nvim_tree() require("nvim-tree.api").tree.open() end
|
|
||||||
vim.api.nvim_create_autocmd({ "VimEnter" }, { callback = open_nvim_tree })
|
|
|
@ -1,5 +0,0 @@
|
||||||
{pkgs, ...}: {
|
|
||||||
home.packages = [pkgs.lunarvim];
|
|
||||||
xdg.configFile."lvim/config.lua".source = ./config.lua;
|
|
||||||
xdg.configFile."lvim/lua/user/presence.lua".source = ./lua/presence.lua;
|
|
||||||
}
|
|
|
@ -1,27 +0,0 @@
|
||||||
local M = {}
|
|
||||||
|
|
||||||
M.config = function()
|
|
||||||
local status_ok, presence = pcall(require, "presence")
|
|
||||||
if not status_ok then return end
|
|
||||||
|
|
||||||
presence:setup {
|
|
||||||
auto_update = true,
|
|
||||||
neovim_image_text = "LunarVim",
|
|
||||||
main_image = "file",
|
|
||||||
client_id = "793271441293967371",
|
|
||||||
buttons = true,
|
|
||||||
show_time = true,
|
|
||||||
log_level = nil,
|
|
||||||
debounce_timeout = 10,
|
|
||||||
enable_line_number = true, -- Displays the current line number instead of the current project
|
|
||||||
editing_text = "Editing %s", -- string rendered when an editable file is loaded in the buffer
|
|
||||||
file_explorer_text = "Browsing %s", -- Format string rendered when browsing a file explorer
|
|
||||||
git_commit_text = "Committing changes", -- string rendered when commiting changes in git
|
|
||||||
plugin_manager_text = "Managing plugins", -- Format string rendered when managing plugins
|
|
||||||
reading_text = "Reading %s", -- string rendered when a read-only file is loaded in the buffer
|
|
||||||
workspace_text = "Working on %s", -- Workspace format string (either string or function(git_project_name: string|nil, buffer: string): string)
|
|
||||||
line_number_text = "Line %s out of %s" -- Line number string (for when enable_line_number is set to true)
|
|
||||||
}
|
|
||||||
end
|
|
||||||
|
|
||||||
return M
|
|
|
@ -9,7 +9,6 @@ alias la = eza -alughH --git --icons
|
||||||
alias calc = eva
|
alias calc = eva
|
||||||
alias c = clear
|
alias c = clear
|
||||||
alias f = yazi
|
alias f = yazi
|
||||||
alias v = lvim
|
|
||||||
alias cat = bat
|
alias cat = bat
|
||||||
alias rm = rm -i
|
alias rm = rm -i
|
||||||
alias cp = cp -i
|
alias cp = cp -i
|
||||||
|
@ -36,7 +35,6 @@ alias shorten = rpaste -s "https://i.flake.sh/" -e 1day -u
|
||||||
alias send = croc --relay "100.104.42.96:9009" send
|
alias send = croc --relay "100.104.42.96:9009" send
|
||||||
alias tail = tspin
|
alias tail = tspin
|
||||||
alias grep = rg
|
alias grep = rg
|
||||||
alias code = codium "."
|
|
||||||
nitch
|
nitch
|
||||||
|
|
||||||
$env.config = {
|
$env.config = {
|
||||||
|
|
Loading…
Reference in a new issue