idk, something has changed
This commit is contained in:
parent
ffe452fe24
commit
ed190866f5
28 changed files with 94 additions and 2179 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
return {}
|
||||
|
|
@ -1 +0,0 @@
|
|||
return {}
|
||||
|
|
@ -1 +0,0 @@
|
|||
return {}
|
||||
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
return {}
|
||||
|
|
@ -1 +0,0 @@
|
|||
return {}
|
||||
|
|
@ -1 +0,0 @@
|
|||
return {}
|
||||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 = {
|
||||
|
|
|
|||
|
|
@ -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
13
.config/zsh/.zlogin
Normal 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
|
||||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue