1
0
Fork 0

idk, something has changed

This commit is contained in:
Arthur Khachaturov 2024-07-20 01:39:49 +03:00
parent ffe452fe24
commit ed190866f5
No known key found for this signature in database
GPG key ID: CAC2B7EB6DF45D55
28 changed files with 94 additions and 2179 deletions

View file

@ -1,7 +1,6 @@
set -x
# setxkbmap -layout us,ru -option grp:win_space_toggle
xset r rate 300 40
xwallpaper --zoom ${HOME}/.local/share/wallpaper/wallpaper.png
launch() {

View file

@ -1 +0,0 @@
return {}

View file

@ -1 +0,0 @@
return {}

View file

@ -1 +0,0 @@
return {}

View file

@ -43,13 +43,14 @@ local on_attach = function(_, bufnr)
end
local servers = {
ansiblels = require("config.lsp.ansiblels"),
ansiblels = {},
clangd = require("config.lsp.clangd"),
pyright = require("config.lsp.pyright"),
pyright = {},
lua_ls = require("config.lsp.lua_ls"),
gopls = require("config.lsp.gopls"),
rust_analyzer = require("config.lsp.rust_analyzer"),
cmake = require("config.lsp.cmake"),
gopls = {},
rust_analyzer = {},
cmake = {},
bashls = {}
}
local capabilities = vim.lsp.protocol.make_client_capabilities()

View file

@ -1 +0,0 @@
return {}

View file

@ -1 +0,0 @@
return {}

View file

@ -1 +0,0 @@
return {}

View file

@ -4,6 +4,7 @@ local map = vim.keymap.set
map('n', '<C-q>', '<NOP>')
map({ 'n', 'v' }, 'H', '<NOP>')
map({ 'n', 'v' }, 'L', '<NOP>')
map({ 'n', 'v' }, '<C-Space>', '<NOP>')
-- Movement between buffers
map({ 'n', 'v' }, '<A-u>', ':bp<CR>', { silent = true })
@ -19,7 +20,7 @@ map('n', '<leader>1', function() require('utils.close_buffer').close_buffer(true
map('n', '<leader>Q', ':%bd | quit<CR>')
map('n', '<leader>!', ':%bd! | quit!<CR>')
map('n', '<leader>w', ':write<CR>')
map('n', '<leader>W', function() vim.cmd.write(vim.fn.input("File: ")) end)
-- map('n', '<leader>W', function() vim.cmd.write(vim.fn.input("File: ")) end)
map('n', '<leader>e', ':e<CR>')
-- Duplicate leader feats to gradually move to

View file

@ -10,12 +10,6 @@ vim.defer_fn(function()
indent = { enable = true },
incremental_selection = {
enable = true,
keymaps = {
init_selection = '<c-space>',
node_incremental = '<c-space>',
scope_incremental = '<c-s>',
node_decremental = '<M-space>',
},
},
textobjects = {
select = {

View file

@ -1,2 +1,2 @@
backend = "glx";
backend = "xrender";
vsync = true;

File diff suppressed because it is too large Load diff

13
.config/zsh/.zlogin Normal file
View file

@ -0,0 +1,13 @@
PID="$$"
(
if [ "$(inxi -aG | grep -c 'Monitor')" -eq 1 ]; then
setfont Uni3-Terminus32x16.psf.gz
stty -F /proc/$PID/fd/0 rows 65 cols 195
else
setfont Uni3-Terminus16.psf.gz
stty -F /proc/$PID/fd/0 rows 90 cols 320
fi >/dev/null 2>&1 &
)
unset PID
# vim: ft=sh

View file

@ -84,7 +84,7 @@ bl () { brightnessctl set $1% &> /dev/null }
clines() { find $@ \( -name '*.cpp' -o -name '*.[ch]' \) -a ! -path '*cmake-build*' | xargs wc -l }
nosw() { alacritty --class 'noswallow' -e "$@" }; compdef _command nosw
t() { [ -z "$1" ] && taskell ~/.taskell.md || taskell "$1" }
vims() { vim "$(whereis $1 | cut -d ' ' -f 2)" }; compdef _command vims
vims() { vim "$(whereis $1 | rev | cut -d ' ' -f 1 | rev)" }; compdef _command vims
bc() { unbuffer "$@" | bat }; compdef _command bc
@ -99,6 +99,7 @@ alias gck="git checkout"
alias gb="git branch"
alias gd="git diff"
alias gr="git restore"
alias gcl="git clone"
# docker aliases
alias dc="docker compose"