summaryrefslogtreecommitdiff
path: root/artix/home/.config
diff options
context:
space:
mode:
authorNantha Sorubakanthan <nantha@mielota.com>2026-05-27 08:54:57 +0200
committerNantha Sorubakanthan <nantha@mielota.com>2026-05-27 08:54:57 +0200
commit0d82b5747f82d5963d1c937f21f294b526f91245 (patch)
treef9e3f478cdc43854eef3c482e59d990568947077 /artix/home/.config
parent1a7a5090b84d9eb8ff6a4f5dc0c833d4b9e717b0 (diff)
small updateHEADmain
Diffstat (limited to 'artix/home/.config')
-rw-r--r--artix/home/.config/hypr/hyprland.lua3
-rw-r--r--artix/home/.config/nvim/init.lua27
-rw-r--r--artix/home/.config/zsh/.zshrc2
3 files changed, 16 insertions, 16 deletions
diff --git a/artix/home/.config/hypr/hyprland.lua b/artix/home/.config/hypr/hyprland.lua
index b270bde..2db240a 100644
--- a/artix/home/.config/hypr/hyprland.lua
+++ b/artix/home/.config/hypr/hyprland.lua
@@ -115,6 +115,9 @@ hl.bind(mainMod .. " + j", hl.dsp.focus({ direction = "right" }))
hl.bind(mainMod .. " + k", hl.dsp.focus({ direction = "up" }))
hl.bind(mainMod .. " + l", hl.dsp.focus({ direction = "down" }))
+hl.bind("print", hl.dsp.exec_cmd("grim -g \"$(slurp)\" - | wl-copy"))
+hl.bind(mainMod .. " + print", hl.dsp.exec_cmd("grim - | wl-copy"))
+
for i = 1, 10 do
local key = i % 11
hl.bind(mainMod .. " + code:" .. key + 9, hl.dsp.focus({ workspace = i }))
diff --git a/artix/home/.config/nvim/init.lua b/artix/home/.config/nvim/init.lua
index 396cb88..c400bc3 100644
--- a/artix/home/.config/nvim/init.lua
+++ b/artix/home/.config/nvim/init.lua
@@ -2,8 +2,8 @@
-- use terminal colors
vim.o.termguicolors = false
-vim.cmd[[hi Normal guibg=NONE ctermbg=NONE]]
-vim.cmd[[hi EndOfBuffer guibg=NONE ctermbg=NONE]]
+vim.cmd [[hi Normal guibg=NONE ctermbg=NONE]]
+vim.cmd [[hi EndOfBuffer guibg=NONE ctermbg=NONE]]
-- GLOBALS
@@ -16,9 +16,9 @@ vim.o.undofile = true
vim.o.ignorecase = true
vim.o.expandtab = false
-vim.o.shiftwidth = 8
-vim.o.tabstop = 8
-vim.o.softtabstop = 8
+vim.o.shiftwidth = 4
+vim.o.tabstop = 4
+vim.o.softtabstop = 4
vim.o.smartindent = true
vim.o.autoindent = true
@@ -29,10 +29,10 @@ vim.o.guicursor = ""
vim.o.swapfile = false
-vim.o.list = true
vim.o.cursorline = true
-- •⏎.·○◦
+--vim.o.list = true
vim.o.listchars = "tab:🡪 ,trail:·,eol:⏎,space:·,multispace:·,lead:·,leadmultispace:·"
vim.o.completeopt = "fuzzy,menuone,noselect"
@@ -78,7 +78,8 @@ vim.pack.add({
{ src = "https://github.com/saghen/blink.lib" }
})
-require("blink.cmp").setup({})
+require("blink.cmp").setup({ keymap = { preset = "enter" } })
+
require('blink.cmp').build():wait(60000)
require("gitsigns").setup({})
@@ -148,10 +149,6 @@ local neovim_config_path = vim.fn.expand("~/code/dox/artix/home/.config/nvim/ini
if vim.api.nvim_buf_get_name(0) == neovim_config_path then
lua_ls_lib = vim.api.nvim_get_runtime_file("", true)
-else
- for lib in vim.fn.expand("/usr/lib/lua-language-server/meta/3rd/*/library"):gmatch("[^\n]+") do
- table.insert(lua_ls_lib, lib)
- end
end
vim.lsp.config("lua_ls", {
@@ -186,10 +183,10 @@ vim.api.nvim_create_autocmd("FileType", {
callback = function(args)
local project_name = vim.fn.fnamemodify(vim.fn.getcwd(), ":p:h:t")
local workspace_dir = vim.fn.stdpath("data")
- .. package.config:sub(1, 1)
- .. "jdtls-workspace"
- .. package.config:sub(1, 1)
- .. project_name
+ .. package.config:sub(1, 1)
+ .. "jdtls-workspace"
+ .. package.config:sub(1, 1)
+ .. project_name
local config = {
name = "jdtls",
diff --git a/artix/home/.config/zsh/.zshrc b/artix/home/.config/zsh/.zshrc
index 56852cc..d56aa2c 100644
--- a/artix/home/.config/zsh/.zshrc
+++ b/artix/home/.config/zsh/.zshrc
@@ -2,7 +2,7 @@
[ -d $XDG_STATE_HOME/zsh ] || mkdir $XDG_STATE_HOME/zsh
alias grep="grep --color=auto"
-alias ls="ls -a --color=auto --group-directories-first"
+alias ls="ls -lha --color=auto --group-directories-first"
alias mkdir="mkdir -v"
alias ln="ln -v"
alias rm="rm -v"