update
This commit is contained in:
parent
6377dece9b
commit
3a444970e5
8 changed files with 19 additions and 19 deletions
|
@ -9,7 +9,7 @@
|
|||
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
|
||||
pf = push -f
|
||||
sc = pull --rebase upstream master
|
||||
st = status -sb
|
||||
st = status
|
||||
un = reset --hard HEAD~1
|
||||
[core]
|
||||
editor = nvim
|
||||
|
|
|
@ -26,7 +26,6 @@ map("n", "X", ":bd<CR>", silent)
|
|||
map("n", "<A-t>", "<C-^>", silent)
|
||||
map("n", "<A-x>", ":bd!<CR>", silent)
|
||||
|
||||
|
||||
map("n", "<leader>c", ":w! | !compiler '<c-r>%'<cr>")
|
||||
map("n", "<leader>op", ":!opout <c-r>%<cr><cr>")
|
||||
map("n", "<leader>se", ":setlocal spell! spelllang=en_us<cr>")
|
||||
|
|
|
@ -9,15 +9,10 @@ return {
|
|||
"williamboman/mason.nvim",
|
||||
},
|
||||
config = function()
|
||||
local cmp_lsp = require("cmp_nvim_lsp")
|
||||
local capabilities = vim.tbl_deep_extend(
|
||||
"force",
|
||||
{},
|
||||
vim.lsp.protocol.make_client_capabilities(),
|
||||
cmp_lsp.default_capabilities())
|
||||
local capabilities = vim.lsp.protocol.make_client_capabilities()
|
||||
capabilities = require("cmp_nvim_lsp").default_capabilities(capabilities)
|
||||
|
||||
require("mason").setup()
|
||||
|
||||
require("mason-lspconfig").setup {
|
||||
ensure_installed = {
|
||||
"csharp_ls",
|
||||
|
|
|
@ -14,7 +14,7 @@ return {
|
|||
lualine_b = {},
|
||||
lualine_c = {},
|
||||
lualine_x = { "location" },
|
||||
lualine_y = { "branch" },
|
||||
lualine_y = { { "branch", color = { bg = "#ff9e64" } } },
|
||||
lualine_z = {},
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,8 +17,9 @@ return {
|
|||
map("n", "<leader>fh", builtin.help_tags)
|
||||
map("n", "<leader>fl", builtin.grep_string)
|
||||
map("n", "<leader>fo", builtin.oldfiles)
|
||||
map("n", "<leader>gb", builtin.git_branches)
|
||||
map("n", "<leader>r", builtin.resume)
|
||||
map("n", "<leader>fp", extensions.project.project)
|
||||
map("n", "<leader>r", builtin.resume)
|
||||
|
||||
telescope.setup {
|
||||
defaults = {
|
||||
|
|
|
@ -23,12 +23,13 @@ cfz="$EDITOR $XDG_CONFIG_HOME/zsh/.zshrc" \
|
|||
cfp="$EDITOR $XDG_CONFIG_HOME/zsh/.zprofile" \
|
||||
cfq="$EDITOR $XDG_CONFIG_HOME/qutebrowser/config.py" \
|
||||
cfv="cd $XDG_CONFIG_HOME/nvim/ && $EDITOR init.lua" \
|
||||
hist="$EDITOR $XDG_CACHE_HOME/history"
|
||||
hist="$EDITOR $XDG_CACHE_HOME/history" \
|
||||
lsblk="lsblk --output MODEL,TYPE,NAME,SIZE,MOUNTPOINT,FSTYPE"
|
||||
|
||||
for program in zathura mpv imv ; do
|
||||
alias $program="setsid $program"
|
||||
done; unset program
|
||||
|
||||
for command in apk wg-quick rc-service rc-update mount umount poweroff reboot ; do
|
||||
for command in apk wg-quick rc-service rc-update poweroff reboot ; do
|
||||
alias $command="doas $command"
|
||||
done; unset command
|
||||
|
|
|
@ -17,14 +17,10 @@ export XDG_SESSION_TYPE="wayland"
|
|||
export XDG_DOWNLOAD_DIR="$HOME/downloads"
|
||||
export XDG_MUSIC_DIR="$HOME/music"
|
||||
|
||||
export DOTNET_CLI_TELEMETRY_OPTOUT=1
|
||||
export DOTNET_CLI_HOME="${XDG_DATA_HOME}/dotnet"
|
||||
export NUGET_PACKAGES="$XDG_CACHE_HOME/nuget"
|
||||
|
||||
export BROWSER="qutebrowser"
|
||||
export EDITOR="nvim"
|
||||
export FILE="vifm"
|
||||
export READER="zathura"
|
||||
export TERMINAL="foot"
|
||||
|
||||
export GOBIN="$HOME/.local/bin/go"
|
||||
export GOMODCACHE="$XDG_CACHE_HOME/go/mod"
|
||||
export GOPROXY=direct
|
||||
|
@ -32,6 +28,13 @@ export GOSUMDB=off
|
|||
export GOTELEMETRY=off
|
||||
export GOTOOLCHAIN=local
|
||||
|
||||
export BROWSER="qutebrowser"
|
||||
export EDITOR="nvim"
|
||||
export FILE="vifm"
|
||||
export READER="zathura"
|
||||
export TERMINAL="foot"
|
||||
|
||||
|
||||
export GNUPGHOME="$XDG_DATA_HOME/gnupg"
|
||||
export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc-2.0"
|
||||
export INPUTRC="$XDG_CONFIG_HOME/shell/inputrc"
|
||||
|
|
|
@ -41,6 +41,7 @@ case "$ext" in
|
|||
py) python "$file" ;;
|
||||
[rR]md) Rscript -e "rmarkdown::render('$file', quiet=TRUE)" ;;
|
||||
rs) cargo build ;;
|
||||
cs) dotnet build ;;
|
||||
sass) sassc -a "$file" "$base.css" ;;
|
||||
scad) openscad -o "$base".stl "$file" ;;
|
||||
sent) setsid -f sent "$file" 2>/dev/null ;;
|
||||
|
|
Loading…
Reference in a new issue