Last active
November 25, 2021 10:04
-
-
Save saurabhmehta1601/9e87fa7063f7a31fae0655aa95ed4cd7 to your computer and use it in GitHub Desktop.
Configurations
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
eval "$(starship init bash)" # set shell theme starship | |
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
case $- in | |
*i*) ;; | |
*) return;; | |
esac | |
# don't put duplicate lines or lines starting with space in the history. | |
# See bash(1) for more options | |
HISTCONTROL=ignoreboth | |
# append to the history file, don't overwrite it | |
shopt -s histappend | |
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1) | |
HISTSIZE=1000 | |
HISTFILESIZE=2000 | |
ENABLE_CORRECTION="true" | |
# check the window size after each command and, if necessary, | |
# update the values of LINES and COLUMNS. | |
shopt -s checkwinsize | |
# plugins | |
plugins=(git zsh-autosuggestions zsh-syntax-highlighting) | |
# If set, the pattern "**" used in a pathname expansion context will | |
# match all files and zero or more directories and subdirectories. | |
#shopt -s globstar | |
# make less more friendly for non-text input files, see lesspipe(1) | |
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" | |
# set variable identifying the chroot you work in (used in the prompt below) | |
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then | |
debian_chroot=$(cat /etc/debian_chroot) | |
fi | |
# set a fancy prompt (non-color, unless we know we "want" color) | |
case "$TERM" in | |
xterm-color|*-256color) color_prompt=yes;; | |
esac | |
# uncomment for a colored prompt, if the terminal has the capability; turned | |
# off by default to not distract the user: the focus in a terminal window | |
# should be on the output of commands, not on the prompt | |
#force_color_prompt=yes | |
if [ -n "$force_color_prompt" ]; then | |
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then | |
# We have color support; assume it's compliant with Ecma-48 | |
# (ISO/IEC-6429). (Lack of such support is extremely rare, and such | |
# a case would tend to support setf rather than setaf.) | |
color_prompt=yes | |
else | |
color_prompt= | |
fi | |
fi | |
if [ "$color_prompt" = yes ]; then | |
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' | |
else | |
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' | |
fi | |
unset color_prompt force_color_prompt | |
# If this is an xterm set the title to user@host:dir | |
case "$TERM" in | |
xterm*|rxvt*) | |
PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" | |
;; | |
*) | |
;; | |
esac | |
# enable color support of ls and also add handy aliases | |
if [ -x /usr/bin/dircolors ]; then | |
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" | |
alias ls='ls --color=auto' | |
#alias dir='dir --color=auto' | |
#alias vdir='vdir --color=auto' | |
alias grep='grep --color=auto' | |
alias fgrep='fgrep --color=auto' | |
alias egrep='egrep --color=auto' | |
fi | |
# colored GCC warnings and errors | |
#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01' | |
# some more ls aliases | |
alias ll='ls -alF' | |
alias la='ls -A' | |
alias l='ls -CF' | |
alias xclip='xclip -sel clipboard' | |
alias vi='nvim' | |
alias tmux='tmux -u' | |
alias gsp='git stash pop' | |
alias grao='git remote add origin' | |
alias grau='git remote add upstream' | |
alias grru='git remote remove upstream' | |
alias grro='git remote remove origin' | |
alias gcm='git checkout master' | |
alias gco='git checkout' | |
alias gcmsg='git commit -m' | |
alias gb='git branch' | |
alias grro='git remote rm origin' | |
alias glo='git log --oneline' | |
alias gd='git diff' | |
alias gp='git push' | |
alias gf='git pull' | |
alias gm='git merge' | |
alias gr='git remote' | |
alias gi='git init' | |
alias gl='git log' | |
alias gst='git status -s' | |
alias gsh='git stash' | |
alias grep='grep --color=auto' | |
alias fgrep='fgrep --color=auto' | |
alias egrep='egrep --color=auto' | |
alias ga='git add' | |
alias chrome='google-chrome' | |
# Add an "alert" alias for long running commands. Use like so: | |
# sleep 10; alert | |
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"' | |
# Alias definitions. | |
# You may want to put all your additions into a separate file like | |
# ~/.bash_aliases, instead of adding them here directly. | |
# See /usr/share/doc/bash-doc/examples in the bash-doc package. | |
if [ -f ~/.bash_aliases ]; then | |
. ~/.bash_aliases | |
fi | |
# enable programmable completion features (you don't need to enable | |
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile | |
# sources /etc/bash.bashrc). | |
if ! shopt -oq posix; then | |
if [ -f /usr/share/bash-completion/bash_completion ]; then | |
. /usr/share/bash-completion/bash_completion | |
elif [ -f /etc/bash_completion ]; then | |
. /etc/bash_completion | |
fi | |
fi |
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
# change default shell to bash | |
set-option -g default-shell /usr/bin/zsh | |
# remap prefix from 'C-b' to 'C-a' | |
unbind C-b | |
set-option -g prefix C-a | |
bind-key C-a send-prefix | |
# split panes using h and v | |
bind h split-window -h | |
bind v split-window -v | |
unbind '"' | |
unbind % | |
# switch panes using Alt-arrow without prefix | |
bind -n M-Left select-pane -L | |
bind -n M-Right select-pane -R | |
bind -n M-Up select-pane -U | |
bind -n M-Down select-pane -D | |
bind -n M-k resize-pane -U 2 | |
bind -n M-j resize-pane -D 2 | |
bind -n M-h resize-pane -L 2 | |
bind -n M-l resize-pane -R 2 | |
# install nord theme for tmux | |
# List of plugins | |
set -g @plugin 'tmux-plugins/tpm' | |
set -g @plugin 'tmux-plugins/tmux-sensible' | |
# nord theme for tmux | |
set -g @plugin "arcticicestudio/nord-tmux" | |
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) | |
run '~/.tmux/plugins/tpm/tpm' | |
run-shell "~/.tmux/plugins/nord-tmux/nord.tmux" |
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
" this is vim configuration . | |
set number | |
set relativenumber | |
set tabstop=2 softtabstop=2 | |
set shiftwidth=2 | |
set expandtab | |
set smartindent | |
colorscheme desert | |
call plug#begin('~/.vim/plugged') | |
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } | |
Plug 'junegunn/fzf.vim' | |
Plug 'markonm/traces.vim' | |
Plug 'SirVer/ultisnips' | |
Plug 'honza/vim-snippets' | |
call plug#end() | |
command! -bang -nargs=* Rg call fzf#vim#grep("rg --column --line-number --no-heading --color=always --smart-case ".shellescape(<q-args>), 1, {'options': '--delimiter : --nth 4..'}, <bang>0) | |
let mapleader = " " | |
" PLUGIN: FZF | |
nnoremap <Leader>b :Buffers<CR> | |
nnoremap <Leader>f :Files<CR> | |
nnoremap <Leader>/ :BLines<CR> | |
nnoremap <Leader>' :Marks<CR> | |
nnoremap <Leader>g :Commits<CR> | |
nnoremap <Leader>H :Helptags<CR> | |
nnoremap <Leader>hh :History<CR> | |
nnoremap <Leader>h: :History:<CR> | |
nnoremap <Leader>h/ :History/<CR> | |
nnoremap <Leader><tab> :so %<CR> | |
nnoremap <C-s> :w<CR> | |
nnoremap <C-h> :nohls<CR> | |
set grepprg=rg\ --vimgrep\ --smart-case\ --follow |
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
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. | |
# Initialization code that may require console input (password prompts, [y/n] | |
# confirmations, etc.) must go above this block; everything else may go below. | |
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then | |
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" | |
fi | |
# If you come from bash you might have to change your $PATH. | |
export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH="/home/saurabh/.oh-my-zsh" | |
# Set name of the theme to load --- if set to "random", it will | |
# load a random theme each time oh-my-zsh is loaded, in which case, | |
# to know which specific one was loaded, run: echo $RANDOM_THEME | |
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes | |
ZSH_THEME="powerlevel10k/powerlevel10k" | |
POWERLEVEL9K_MODE="nerdfont-complete" | |
# Set list of themes to pick from when loading at random | |
# Setting this variable when ZSH_THEME=random will cause zsh to load | |
# a theme from this variable instead of looking in $ZSH/themes/ | |
# If set to an empty array, this variable will have no effect. | |
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" ) | |
# Uncomment the following line to use case-sensitive completion. | |
# CASE_SENSITIVE="true" | |
# Uncomment the following line to use hyphen-insensitive completion. | |
# Case-sensitive completion must be off. _ and - will be interchangeable. | |
# HYPHEN_INSENSITIVE="true" | |
# Uncomment the following line to disable bi-weekly auto-update checks. | |
# DISABLE_AUTO_UPDATE="true" | |
# Uncomment the following line to automatically update without prompting. | |
# DISABLE_UPDATE_PROMPT="true" | |
# Uncomment the following line to change how often to auto-update (in days). | |
# export UPDATE_ZSH_DAYS=13 | |
# Uncomment the following line if pasting URLs and other text is messed up. | |
# DISABLE_MAGIC_FUNCTIONS="true" | |
# Uncomment the following line to disable colors in ls. | |
# DISABLE_LS_COLORS="true" | |
# Uncomment the following line to disable auto-setting terminal title. | |
# DISABLE_AUTO_TITLE="true" | |
# Uncomment the following line to enable command auto-correction. | |
ENABLE_CORRECTION="true" | |
# Uncomment the following line to display red dots whilst waiting for completion. | |
# Caution: this setting can cause issues with multiline prompts (zsh 5.7.1 and newer seem to work) | |
# See https://github.com/ohmyzsh/ohmyzsh/issues/5765 | |
# COMPLETION_WAITING_DOTS="true" | |
# Uncomment the following line if you want to disable marking untracked files | |
# under VCS as dirty. This makes repository status check for large repositories | |
# much, much faster. | |
# DISABLE_UNTRACKED_FILES_DIRTY="true" | |
# Uncomment the following line if you want to change the command execution time | |
# stamp shown in the history command output. | |
# You can set one of the optional three formats: | |
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd" | |
# or set a custom format using the strftime function format specifications, | |
# see 'man strftime' for details. | |
# HIST_STAMPS="mm/dd/yyyy" | |
# Would you like to use another custom folder than $ZSH/custom? | |
# ZSH_CUSTOM=/path/to/new-custom-folder | |
# Which plugins would you like to load? | |
# Standard plugins can be found in $ZSH/plugins/ | |
# Custom plugins may be added to $ZSH_CUSTOM/plugins/ | |
# Example format: plugins=(rails git textmate ruby lighthouse) | |
# Add wisely, as too many plugins slow down shell startup. | |
plugins=(git zsh-autosuggestions zsh-syntax-highlighting) | |
source $ZSH/oh-my-zsh.sh | |
# User configuration | |
# export MANPATH="/usr/local/man:$MANPATH" | |
# You may need to manually set your language environment | |
# export LANG=en_US.UTF-8 | |
# Preferred editor for local and remote sessions | |
# if [[ -n $SSH_CONNECTION ]]; then | |
# export EDITOR='vim' | |
# else | |
# export EDITOR='mvim' | |
# fi | |
# Compilation flags | |
# export ARCHFLAGS="-arch x86_64" | |
# Set personal aliases, overriding those provided by oh-my-zsh libs, | |
# plugins, and themes. Aliases can be placed here, though oh-my-zsh | |
# users are encouraged to define aliases within the ZSH_CUSTOM folder. | |
# For a full list of active aliases, run `alias`. | |
#Environmental Variables | |
export PASSWORD_AWS_DEVOPS='Sammehta@123' | |
export PASSWORD_DOCKERHUB='wr=xK@CT2yUdmEu' | |
export ls='ls | lolcat' | |
export DOCKER_FORMAT='\n--------Container--------- | |
ID: {{.ID}} | |
Image: {{.Image}} | |
Command:{{.Command}} | |
Status: {{.Status}} | |
Ports: {{.Ports}} | |
Names: {{.Names}} | |
' | |
# | |
# Example aliases | |
alias ls='ls --color=auto' | |
alias dir='dir --color=auto' | |
alias git='hub' | |
alias vi='nvim' | |
alias tmux='tmux -u' | |
alias open='xdg-open' | |
alias chrome='google-chrome' | |
alias vdir='vdir --color=auto' | |
alias zshconfig="mate ~/.zshrc" | |
alias ohmyzsh="mate ~/.oh-my-zsh" | |
alias ga='git add' | |
alias xclip='xclip -sel clipboard' | |
alias grao='git remote add origin' | |
alias grau='git remote add upstream' | |
alias grru='git remote remove upstream' | |
alias grro='git remote remove origin' | |
alias gcm='git checkout main' | |
alias gco='git checkout' | |
alias gcmsg='git commit -m' | |
alias gb='git branch' | |
alias gsp='git stash pop' | |
alias gss='git stash save' | |
alias gsl='git stash list' | |
alias gsh='git stash' | |
alias grro='git remote rm origin' | |
alias glo='git log --oneline' | |
alias gd='git diff' | |
alias gp='git push' | |
alias gf='git pull' | |
alias gm='git merge' | |
alias gr='git remote' | |
alias gi='git init' | |
alias gl='git log' | |
alias gst='git status -s' | |
alias grep='grep --color=auto' | |
alias fgrep='fgrep --color=auto' | |
alias egrep='egrep --color=auto' | |
alias gamend='git commit --amend --no-edit' | |
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. | |
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh | |
alias k=kubectl | |
complete -F __start_kubectl k | |
# adding NVM to zsh | |
export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion | |
# print outputs on console using lolcat for e.g. use lol ls instead of ls to print colorful | |
lol() | |
{ | |
if [ -t 1 ]; then | |
"$@" | lolcat | |
else | |
"$@" | |
fi | |
} | |
COMMANDS=( | |
ls | |
cat | |
echo | |
tree | |
) | |
for COMMAND in "${COMMANDS[@]}"; do | |
alias "${COMMAND}=lol ${COMMAND}" | |
alias ".${COMMAND}=$(which ${COMMAND})" | |
done | |
export PATH=$PATH:/home/saurabh/.local/bin | |
if type rg &> /dev/null; then | |
export FZF_DEFAULT_COMMAND='rg --files' | |
export FZF_DEFAULT_OPTS='-m --height 50% --border' | |
fi |
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
"this is neovim configuration | |
set number | |
set relativenumber | |
set tabstop=2 softtabstop=2 | |
set shiftwidth=2 | |
set expandtab | |
set smartindent | |
set clipboard+=unnamedplus | |
highlight Search guibg='Purple' guifg='NONE' | |
call plug#begin('~/.vim/plugged') | |
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } | |
Plug 'arcticicestudio/nord-vim' | |
Plug 'junegunn/fzf.vim' | |
Plug 'jiangmiao/auto-pairs' | |
Plug 'markonm/traces.vim' | |
Plug 'preservim/nerdtree' | |
Plug 'neoclide/coc.nvim', {'branch': 'release'} | |
Plug 'preservim/nerdcommenter' | |
Plug 'Yggdroot/indentLine' | |
Plug 'HerringtonDarkholme/yats.vim' | |
Plug 'maxmellon/vim-jsx-pretty' | |
Plug 'sheerun/vim-polyglot' | |
Plug 'alvan/vim-closetag' | |
Plug 'mattn/emmet-vim' | |
Plug 'cristianoliveira/vim-react-html-snippets' | |
Plug 'ianks/vim-tsx' | |
Plug 'leafgarland/typescript-vim' | |
Plug 'pangloss/vim-javascript' | |
Plug 'dikiaap/minimalist' | |
Plug 'maxmellon/vim-jsx-pretty' | |
Plug 'SirVer/ultisnips' | |
Plug 'mlaursen/vim-react-snippets' | |
Plug 'mg979/vim-visual-multi', {'branch': 'master'} | |
call plug#end() | |
colorscheme minimalist | |
command! -bang -nargs=* Rg call fzf#vim#grep("rg --column --line-number --no-heading --color=always --smart-case ".shellescape(<q-args>), 1, {'options': '--delimiter : --nth 4..'}, <bang>0) | |
let mapleader = " " | |
nnoremap <Leader>b :Buffers<CR> | |
nnoremap <Leader>f :Files<CR> | |
nnoremap <Leader>/ :BLines<CR> | |
nnoremap <Leader>' :Marks<CR> | |
nnoremap <Leader>g :Commits<CR> | |
nnoremap <Leader>H :Helptags<CR> | |
nnoremap <Leader>hh :History<CR> | |
nnoremap <Leader>h: :History:<CR> | |
nnoremap <Leader>h/ :History/<CR> | |
nnoremap <C-h> :set invhls<CR> | |
nnoremap <C-s> :w<CR> | |
nnoremap <leader>n :NERDTreeFocus<CR> | |
nnoremap <C-n> :NERDTree<CR> | |
nnoremap <C-b> :NERDTreeToggle<CR> | |
nnoremap <C-f> :NERDTreeFind<CR> | |
set grepprg=rg\ --vimgrep\ --smart-case\ --follow | |
let NERDTreeShowHidden=1 | |
let g:indentLine_setColors = 0 | |
" ******************************* auto close tag config **************************** | |
" filenames like *.xml, *.html, *.xhtml, ... These are the file extensions where this plugin is enabled. | |
let g:closetag_filenames = '*.html,*.xhtml,*.phtml,*.jsx,*.tsx' | |
" filenames like *.xml, *.xhtml, ... | |
" This will make the list of non-closing tags self-closing in the specified files. | |
" | |
let g:closetag_xhtml_filenames = '*.xhtml,*.jsx' | |
" filetypes like xml, html, xhtml, ... | |
" These are the file types where this plugin is enabled. | |
" | |
let g:closetag_filetypes = 'html,xhtml,phtml' | |
" filetypes like xml, xhtml, ... | |
" This will make the list of non-closing tags self-closing in the specified files. | |
" | |
let g:closetag_xhtml_filetypes = 'xhtml,jsx' | |
" integer value [0|1] | |
" This will make the list of non-closing tags case-sensitive (e.g. `<Link>` will be closed while `<link>` won't.) | |
" | |
let g:closetag_emptyTags_caseSensitive = 1 | |
" dict | |
" Disables auto-close if not in a "valid" region (based on filetype) | |
" | |
let g:closetag_regions = { | |
\ 'typescript.tsx': 'jsxRegion,tsxRegion', | |
\ 'javascript.jsx': 'jsxRegion', | |
\ 'typescriptreact': 'jsxRegion,tsxRegion', | |
\ 'javascriptreact': 'jsxRegion', | |
\ } | |
" Shortcut for closing tags, default is '>' | |
" | |
let g:closetag_shortcut = '>' | |
" Add > at current position without closing the current tag, default is '' | |
" | |
let g:closetag_close_shortcut = '<leader>>' | |
let g:deoplete#enable_at_startup = 1 | |
au BufNewFile,BufRead *.ts setlocal filetype=typescript | |
au BufNewFile,BufRead *.tsx setlocal filetype=typescript.tsx | |
"vim snippets | |
let g:user_emmet_settings = { | |
\ 'variables': {'lang': 'ja'}, | |
\ 'html': { | |
\ 'default_attributes': { | |
\ 'option': {'value': v:null}, | |
\ 'textarea': {'id': v:null, 'name': v:null, 'cols': 10, 'rows': 10}, | |
\ }, | |
\ 'snippets': { | |
\ '_html:5': "<!DOCTYPE html>\n" | |
\ ."<html lang=\"${lang}\">\n" | |
\ ."<head>\n" | |
\ ."\t<meta charset=\"${charset}\">\n" | |
\ ."\t<title></title>\n" | |
\ ."\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n" | |
\ ."</head>\n" | |
\ ."<body>\n\t${child}|\n</body>\n" | |
\ ."</html>", | |
\ }, | |
\ }, | |
\ 'cpp': { | |
\ 'default_attributes': { | |
\ 'option': {'value': v:null}, | |
\ 'textarea': {'id': v:null, 'name': v:null, 'cols': 10, 'rows': 10}, | |
\ }, | |
\ 'snippets': { | |
\ '_cpp': "#include <iostream>\n" | |
\ ."using namespace std ;\n" | |
\ ."\n" | |
\ ."int main(){\n" | |
\ ."\t\n" | |
\ ."\treturn 0 ;\n" | |
\ ."}\n", | |
\ '_cp': "#include <bits/stdc++.h>\n" | |
\ ."using namespace std ;\n" | |
\ ."\n" | |
\ ."#define VI vector<int>\n" | |
\ ."#define VS vector<string>\n" | |
\ ."#define VB vector<bool>\n" | |
\ ."#define PII pair<int,int>\n" | |
\ ."#define UM unordered_map\n" | |
\ ."#define US unordered_set\n" | |
\ ."#define UMII unordered_map<int,int>\n" | |
\ ."#define UMCI unordered_map<char,int>\n" | |
\ ."#define UMSI unordered_map<string,int>\n" | |
\ ."#define MP make_pair\n" | |
\ ."#define PB push_back\n" | |
\ ."#define F(i,a,b) for(i=a; i< b;i++) \n" | |
\ ."#define W while\n" | |
\ ."\n" | |
\ ."int main(){\n" | |
\ ."\t\n" | |
\ ."\treturn 0 ;\n" | |
\ ."}\n", | |
\ }, | |
\ }, | |
\} | |
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
{ | |
"editor.fontFamily": "Comic Jens, Bold", | |
"editor.fontLigatures": true, | |
"editor.fontSize": 18, | |
"editor.fontWeight": "900", | |
"editor.formatOnSave": true, | |
"editor.defaultFormatter": "esbenp.prettier-vscode", | |
"editor.formatOnPaste": true, | |
"editor.lineNumbers": "relative", | |
"terminal.integrated.fontSize": 16, | |
"terminal.integrated.fontFamily": "FiraMono Nerd Font", | |
"files.associations": {"*.json" :"jsonc"}, | |
"npm.enableRunFromFolder": true, | |
"terminal.integrated.profiles.linux": { | |
"bash": { | |
"path": "bash" | |
}, | |
"zsh": { | |
"path": "zsh" | |
}, | |
"fish": { | |
"path": "fish" | |
}, | |
"tmux": { | |
"path": "tmux", | |
"icon": "terminal-tmux" | |
}, | |
"pwsh": { | |
"path": "pwsh", | |
"icon": "terminal-powershell" | |
}, | |
"bash (2)": { | |
"path": "/usr/bin/bash" | |
} | |
}, | |
"terminal.integrated.defaultProfile.linux": "zsh", | |
"terminal.integrated.automationShell.linux": "", | |
"workbench.startupEditor": "none", | |
"emmet.includeLanguages": { | |
"javascript":"javascriptreact" | |
}, | |
"emmet.triggerExpansionOnTab": true, | |
"code-runner.runInTerminal": true, | |
"files.autoSaveDelay": 100, | |
"javascript.updateImportsOnFileMove.enabled": "always", | |
"explorer.confirmDragAndDrop": false, | |
"code-runner.executorMap": { | |
"javascript": "node", | |
"java": "cd $dir && javac $fileName && java $fileNameWithoutExt", | |
"c": "cd $dir && gcc $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", | |
"cpp": "cd $dir && g++ $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt && rm $fileNameWithoutExt", | |
"objective-c": "cd $dir && gcc -framework Cocoa $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", | |
"php": "php", | |
"python": "python3 -u", | |
"perl": "perl", | |
"perl6": "perl6", | |
"ruby": "ruby", | |
"go": "go run", | |
"lua": "lua", | |
"groovy": "groovy", | |
"powershell": "powershell -ExecutionPolicy ByPass -File", | |
"bat": "cmd /c", | |
"shellscript": "bash", | |
"fsharp": "fsi", | |
"csharp": "scriptcs", | |
"vbscript": "cscript //Nologo", | |
"typescript": "ts-node", | |
"coffeescript": "coffee", | |
"scala": "scala", | |
"swift": "swift", | |
"julia": "julia", | |
"crystal": "crystal", | |
"ocaml": "ocaml", | |
"r": "Rscript", | |
"applescript": "osascript", | |
"clojure": "lein exec", | |
"haxe": "haxe --cwd $dirWithoutTrailingSlash --run $fileNameWithoutExt", | |
"rust": "cd $dir && rustc $fileName && $dir$fileNameWithoutExt", | |
"racket": "racket", | |
"scheme": "csi -script", | |
"ahk": "autohotkey", | |
"autoit": "autoit3", | |
"dart": "dart", | |
"pascal": "cd $dir && fpc $fileName && $dir$fileNameWithoutExt", | |
"d": "cd $dir && dmd $fileName && $dir$fileNameWithoutExt", | |
"haskell": "runhaskell", | |
"nim": "nim compile --verbosity:0 --hints:off --run", | |
"lisp": "sbcl --script", | |
"kit": "kitc --run", | |
"v": "v run", | |
"sass": "sass --style expanded", | |
"scss": "scss --style expanded", | |
"less": "cd $dir && lessc $fileName $fileNameWithoutExt.css", | |
"FortranFreeForm": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", | |
"fortran-modern": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", | |
"fortran_fixed-form": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", | |
"fortran": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt" | |
}, | |
"workbench.colorTheme": "Dracula Soft", | |
"security.workspace.trust.untrustedFiles": "open", | |
"prettier.requireConfig": true, | |
"javascript.format.semicolons": "insert", | |
"typescript.updateImportsOnFileMove.enabled": "always", | |
"explorer.confirmDelete": false, | |
"workbench.iconTheme": "material-icon-theme", | |
"material-icon-theme.folders.color": "#26a69a", | |
"material-icon-theme.folders.theme": "classic", | |
"vim.enableNeovim":true, | |
"vim.useSystemClipboard":true, | |
"vim.leader": "<space>", | |
"vim.normalModeKeyBindingsNonRecursive":[ | |
{ | |
"after": ["y","i","w"], | |
"before": ["y","i"] | |
} | |
], | |
"files.watcherExclude": { | |
"**/.git/objects/**": true, | |
"**/.git/subtree-cache/**": true, | |
"**/node_modules/*/**": true, | |
"**/.hg/store/**": true, | |
"*/env/**":true, | |
"*/venv/**":true, | |
"env-*":true | |
}, | |
"search.exclude": { | |
"**/node_modules": true, | |
"**/bower_components": true, | |
"**/*.code-search": true, | |
"**/*env":true, | |
"**/*venv":true | |
}, | |
"[typescript]": { "editor.autoClosingBrackets": "always" }, | |
"[javascriptreact]": { "editor.autoClosingBrackets": "always" }, | |
"[python]": { "editor.autoClosingBrackets": "always" }, | |
"[javascript]": { | |
"editor.autoClosingBrackets": "always" | |
}, | |
"css.lint.unknownProperties": "ignore", | |
"css.lint.unknownAtRules": "ignore", | |
"tabnine.experimentalAutoImports": true, | |
"editor.letterSpacing": 1, | |
"C_Cpp.updateChannel": "Insiders", | |
"files.autoSave": "onFocusChange", | |
"githubIssues.queries": [ | |
{ | |
"label": "My Issues", | |
"query": "default" | |
}, | |
{ | |
"label": "Created Issues", | |
"query": "author:${user} state:open repo:${owner}/${repository} sort:created-desc" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment