diff --git a/.config/Code - OSS/User/settings.json b/.config/Code - OSS/User/settings.json index f7919f8..bf686b0 100644 --- a/.config/Code - OSS/User/settings.json +++ b/.config/Code - OSS/User/settings.json @@ -38,5 +38,8 @@ "!Split", "!Split sequence" ], - "[rust]": {} + "[rust]": {}, + "extensions.experimental.affinity": { + "asvetliakov.vscode-neovim": 1 + } } \ No newline at end of file diff --git a/.config/nvim/lua/keybinds.lua b/.config/nvim/lua/keybinds.lua index 1940654..75cf510 100644 --- a/.config/nvim/lua/keybinds.lua +++ b/.config/nvim/lua/keybinds.lua @@ -9,8 +9,8 @@ function map(mode, lhs, rhs, opts) end -- frankly i dont know what the hell im doing -map("n", "", "ik$") +map("n", "", "ik$") -- Enter in normal moves the current line down +-- map("n", "", "i") -- Space in normal inserts a space, shifting the current character to the right -- map("n", "", "d$Op^") --- map("n", "", "i") -map("n", "", "") +map("n", "", "") -- Alt+Space goes to normal mode using Esc diff --git a/.config/shell/alias.sh b/.config/shell/alias.sh index 6457d57..4eeab6d 100644 --- a/.config/shell/alias.sh +++ b/.config/shell/alias.sh @@ -14,6 +14,8 @@ alias r='R' alias xar="xarchiver" alias g="git" alias py="python" +alias t="dict" + # Add an "alert" alias for long running commands. Use like so: 'sleep 10; alert' alias notify='notify-send --urgency=normal -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"' @@ -34,14 +36,6 @@ sleep() { fi } - -pipif() { - pip install $1 && pip freeze | rg "$1=" >> requirements.txt -} - - - - colors() { local fgc bgc vals seq0 @@ -69,13 +63,15 @@ colors() { done } -# set title in zsh (for alacritty) -title() +wttr() #alternatively use schachmat/wego { - echo -e "\e]2;$1\007"; + for city in "$@"; do + curl "wttr.in/$city"; + done } -pwd() + +pwd() # print path of files { echo "$PWD/$1" }