Last active
June 13, 2024 10:22
-
-
Save ainsofs/ba947741b230606be5d2f4aad6faf7bf to your computer and use it in GitHub Desktop.
Dot files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# docker aliases | |
alias dupl='docker compose up -d; docker compose logs -f php' | |
alias dup='docker compose up -d' | |
alias dstop='docker compose stop' | |
alias drm='docker compose rm' | |
alias dphp='docker compose exec php bash' | |
alias dnode='docker compose exec node bash' | |
alias dq="docker compose exec quasar bash" | |
alias dl="docker compose logs -f" | |
alias dlphp='docker compose logs -f php' | |
alias dlnode='docker compose logs -f node' | |
alias dlq='docker compose logs -f quasar' | |
alias dc='docker compose' | |
# git aliases | |
alias gl='git log --format="%C(auto) %h %s"' | |
alias gl2='git log $(git describe --tags --abbrev=0)..HEAD --pretty=format:"- %s"' | |
alias gl3='git log --pretty=oneline --abbrev-commit' | |
alias gm='git commit -m' | |
alias gc='git add . ; git commit -m' | |
alias gp="git push origin" | |
alias gf="git fetch origin" | |
alias gfp="git fetch --prune" | |
# bash aliases | |
alias bashrc='nano ~/.bashrc' | |
alias bashs='source ~/.bashrc' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" General Settings | |
set t_Co=256 " Enable 256 colors in the terminal | |
set number " Enable line numbers | |
colorscheme desert " Set colorscheme (you can change 'desert' to your preferred colorscheme) | |
" Syntax Highlighting and Filetype Detection | |
syntax on " Enable syntax highlighting | |
filetype on " Enable filetype detection | |
filetype plugin on " Enable filetype plugins | |
filetype indent on " Enable filetype-specific indentation | |
" Language Specific Settings | |
" PHP | |
au BufRead,BufNewFile *.php set filetype=php " PHP settings for generic PHP files | |
au BufRead,BufNewFile *.module,*.inc,*.install,*.test set filetype=php " Specific settings for Drupal | |
au BufRead,BufNewFile *.blade.php set filetype=php " Specific settings for Laravel | |
" JavaScript | |
au BufRead,BufNewFile *.js set filetype=javascript " JavaScript settings | |
" Vue | |
au BufRead,BufNewFile *.vue set filetype=vue " Vue settings | |
" Python | |
au BufRead,BufNewFile *.py set filetype=python " Python settings | |
" Markdown | |
au BufRead,BufNewFile *.md set filetype=markdown " Markdown settings | |
" Plugin for Enhanced Syntax Highlighting | |
" Example using vim-plug plugin manager | |
call plug#begin('~/.vim/plugged') | |
" Syntax highlighting for various languages | |
Plug 'sheerun/vim-polyglot' | |
call plug#end() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment