From 1bf3fcb1c2ffecb49865f16730a0291860f755e4 Mon Sep 17 00:00:00 2001 From: Pratik Tripathy Date: Wed, 16 Dec 2020 11:02:33 +0530 Subject: [PATCH] Rectified .bashrc - shopt and not . Tmux, use for in-window cursor nav, for changing window. --- .bashrc | 6 +++++- .config/Code/User/settings.json | 13 +++++++++++-- .tmux.conf | 16 ++++++++-------- .zshrc | 4 ++++ 4 files changed, 28 insertions(+), 11 deletions(-) diff --git a/.bashrc b/.bashrc index f802082..0e11ef0 100644 --- a/.bashrc +++ b/.bashrc @@ -118,7 +118,7 @@ HISTTIMEFORMAT="%H:%M:%S(%z)%d-%b-%y " shopt -s nullglob ## When only a directory is entered without cd, cd into it -shoptd -s autocd +shopt -s autocd function timer_start { timer=${timer:-$SECONDS} @@ -202,3 +202,7 @@ export DOTNET_CLI_TELEMETRY_OPTOUT=1 export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_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 + +# tabtab source for packages +# uninstall by removing these lines +[[ -f ~/.config/tabtab/__tabtab.zsh ]] && . ~/.config/tabtab/__tabtab.zsh || true diff --git a/.config/Code/User/settings.json b/.config/Code/User/settings.json index 4850a57..50223f9 100644 --- a/.config/Code/User/settings.json +++ b/.config/Code/User/settings.json @@ -77,13 +77,19 @@ "Aiginia", "BBSR", "Bhubaneswar", + "CLR", "Destructured", "GOPATH", + "IIS", + "JIT", "Jython", "Kumar", + "LINQ", + "MVC", "Monomorphization", "OOP", "Odisha", + "Postgres", "Pratik", "Printf", "Println", @@ -130,8 +136,10 @@ "git.enableSmartCommit": true, "git.autofetch": true, "git.confirmSync": false, - "gitlens.hovers.currentLine.over": "annotation", + "gitlens.hovers.currentLine.over": "line", "gitlens.advanced.telemetry.enabled": false, + "gitlens.codeLens.enabled": false, + "gitlens.statusBar.reduceFlicker": true, "gitlens.blame.avatars": false, "projectManager.git.baseFolders": [ "/media/pratik/Personal_Projects/Code/", @@ -181,6 +189,7 @@ "*": "Visual Studio Dark", "markdown": "Community Material Theme Darker High Contrast" }, - "workbench.colorTheme": "Visual Studio Dark" + "workbench.colorTheme": "Visual Studio Dark", + "python.languageServer": "Pylance" // } diff --git a/.tmux.conf b/.tmux.conf index 187686d..fc64739 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -4,15 +4,15 @@ set-option -g prefix C-a unbind-key C-a bind-key C-a send-prefix -# Use Alt-arrow keys to switch panes -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 +# Use Shift-arrow keys to switch panes +bind -n S-Left select-pane -L +bind -n S-Right select-pane -R +bind -n S-Up select-pane -U +bind -n S-Down select-pane -D -# Shift arrow to switch windows -bind -n S-Left previous-window -bind -n S-Right next-window +# Alt arrow to switch windows +bind -n M-Left previous-window +bind -n M-Right next-window # Set easier window split keys bind-key v split-window -h diff --git a/.zshrc b/.zshrc index 748352a..58a1a07 100644 --- a/.zshrc +++ b/.zshrc @@ -110,3 +110,7 @@ export DOTNET_CLI_TELEMETRY_OPTOUT=1 export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_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 + +# tabtab source for packages +# uninstall by removing these lines +[[ -f ~/.config/tabtab/__tabtab.zsh ]] && . ~/.config/tabtab/__tabtab.zsh || true