Smirnov Alexander
Smirnov Alexander
ss2316544@gmail.com add emmet, buffer line to nvim, update vscode, del amfora & polybar weather script, 5 years ago
ss2316544@gmail.com add emmet, buffer line to nvim, update vscode, del amfora & polybar weather script, 5 years ago
| 1 | ## StartShip |
| 2 | eval "$(starship init zsh)" |
| 3 | |
| 4 | ## Variables |
| 5 | export GOPATH="$HOME/go" |
| 6 | export EDITOR="nvim" |
| 7 | export PATH="$HOME/bin:$HOME/.local/bin:$HOME/.golang/bin:$GOPATH/bin:$PATH" |
| 8 | |
| 9 | ## Oh my zsh |
| 10 | plugins=(dotenv) |
| 11 | ZSH_THEME="simple" |
| 12 | source "$HOME/.oh-my-zsh/oh-my-zsh.sh" |
| 13 | |
| 14 | ## HotKets |
| 15 | bindkey -s "^o" "ranger\n" |
| 16 | bindkey -s "^e" 'nvim $(fzf)\n' |
| 17 | bindkey -s "^f" 'cd $(fd -t directory | fzf)\n' |
| 18 | bindkey -s "^g" "lazygit\n" |
| 19 | |
| 20 | ## FNM |
| 21 | eval $(fnm env) |
| 22 | |
| 23 | ## Aliases |
| 24 | alias cls="clear" cp="cp -r" mkdir="mkdir -p" |
| 25 | alias vim="nvim" vi="vim" e="$EDITOR" |
| 26 | alias ...="cd ../.." .3="cd ../../.." .4="cd ../../../.." |
| 27 | alias gor="go run" gob="go build" gog="go get" goi="go install" |
| 28 | alias pac="sudo pacman" pacs="pac -S" pacr="pac -R" pacss="pac -Ss" |