Git Product home page Git Product logo

dotfiles's Introduction

dotfiles

My dotfiles ๐Ÿ˜† ๐Ÿ™ˆ, include:

Keeping updated.

How to use

No auto-link shell script here because I think you won't use all features of my specified.

Go through the files you want.

zsh (oh-my-zsh)

Summary:

  • PATH

    # Sqlite3 latest version
    export PATH=$(brew --prefix)/opt/sqlite/bin:$PATH
    # Ruby default
    export PATH=$(brew --prefix)/opt/ruby/bin:$PATH
    export PATH=$(gem env gemdir)/bin:$PATH
    # JDK
    export PATH=$(brew --prefix)/opt/openjdk/bin:$PATH
    # For pub
    export PATH=$HOME/.pub-cache/bin:$PATH
  • Aliases

    # neovim
    alias vi="nvim"
    alias vim="nvim"
    # proxy
    alias clashxproxy="export http_proxy=http://127.0.0.1:7890; export https_proxy=http://127.0.0.1:7890; export no_proxy=127.0.0.1,localhost"
    alias disproxy="unset http_proxy https_proxy no_proxy"
    # homebrew
    alias brew_UG="brew update && brew upgrade && brew upgrade --cask --greedy"
    # simple http server
    alias py_HTTP_Server="python3 -m http.server --bind 127.0.0.1"
    alias php_HTTP_Server="php -S 0.0.0.0:8000"
    # zsh
    alias source_zshrc="source ~/.zshrc"
    # git
    alias git="LANG=\"en_US.UTF-8\" git"
    # docker
    alias dkr="docker"
    alias dkrc="docker-compose"
    # kubectl
    alias k="kubectl"
    # flutter
    alias flutter="~/flutter/bin/flutter"
    # pnpm
    alias pn="pnpm"
  • Theme

    https://github.com/romkatv/powerlevel10k

  • Plugins

spacemacs

Make sure you have already installed spacemacs.

Summary:

  • All used layers placed in dotspacemacs-configuration-layers. Use SPC s s to find them.
  • All custom configurations placed in dotspacemacs/user-init and dotspacemacs/user-config. Use SPC s s to find them.
  • Custom layers (in .spacemacs.d/layers)

neovim

Make sure you have already installed vim-plug.

Only basic configurations there. Just for editing some configuration-like files.

Summary:

  • Leader Key == ,
  • jk == <Esc>
  • @@ == your email, need to customize

Plugins:

Plug 'morhetz/gruvbox'
Plug 'vim-airline/vim-airline'
Plug 'airblade/vim-gitgutter'
Plug 'elzr/vim-json'
Plug 'editorconfig/editorconfig-vim'

Prettier

Prettier is an opinionated code formatter.

ideavim

inoremap jk <Esc>
vnoremap jk <Esc>

set clipboard^=unnamed
set relativenumber

set surround

License

MIT ยฉ g1eny0ung

dotfiles's People

Contributors

g1eny0ung avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.