Fix ararow keys :/

master
XWasHere 2024-05-04 20:51:33 -04:00
parent 9697c4773c
commit 1b7e93d48b
Signed by: XWasHere
GPG Key ID: 042F8BFA1B0EF93B
1 changed files with 8 additions and 3 deletions

11
.zshrc
View File

@ -23,13 +23,17 @@ bindkey -v;
# add other keybinds # add other keybinds
bindkey '^[[3~' delete-char; bindkey '^[[3~' delete-char;
bindkey "^[[1;5C" forward-wordp; # :/
bindkey "^[[1;5D" backward-word;
# c++ compiler # compilers
export CXX=clang++; export CXX=clang++;
export C=clang;
# aliases for common utilities # aliases for common utilities
alias v=nvim; alias v=nvim;
alias s=sudo; alias s=sudo;
alias p=yay;
alias nf=neofetch; alias nf=neofetch;
alias ssu="sudo su"; alias ssu="sudo su";
alias m="make"; alias m="make";
@ -37,8 +41,9 @@ alias gaa="git add -A";
alias gc="git commit -S -a"; alias gc="git commit -S -a";
alias gcm="git commit -S -a -m"; alias gcm="git commit -S -a -m";
alias gs="git status"; alias gs="git status";
alias cls="clear" alias cls="clear";
alias ls="exa" alias ls="exa";
alias l="ls";
# line # line
autoload -U promptinit; autoload -U promptinit;