From fa24912173b9eba3bdbfd6a746b821bc813b3d6e Mon Sep 17 00:00:00 2001 From: Pratik Date: Sun, 17 May 2020 02:38:02 +0530 Subject: [PATCH] tmux updates --- .bashrc | 6 +++++- .config/Code/User/keybindings.json | 4 ++++ .config/Code/User/settings.json | 15 +++++++++------ .config/dolphinrc | 8 ++++---- .config/remmina/remmina.pref | 2 +- .tmux.conf | 12 ++++++++---- 6 files changed, 31 insertions(+), 16 deletions(-) diff --git a/.bashrc b/.bashrc index 61e5b22..29edbe0 100644 --- a/.bashrc +++ b/.bashrc @@ -194,4 +194,8 @@ fi if [[ -f ~/.gosetup ]]; then source ~/.gosetup -fi \ No newline at end of file +fi + +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 diff --git a/.config/Code/User/keybindings.json b/.config/Code/User/keybindings.json index 277fdfa..b4d9dfd 100755 --- a/.config/Code/User/keybindings.json +++ b/.config/Code/User/keybindings.json @@ -41,5 +41,9 @@ { "key": "ctrl+alt+n", "command": "explorer.newFile" + }, + { + "key": "ctrl+alt+g", + "command": "git.checkout" } ] \ No newline at end of file diff --git a/.config/Code/User/settings.json b/.config/Code/User/settings.json index 4d2fcc1..16af0f7 100644 --- a/.config/Code/User/settings.json +++ b/.config/Code/User/settings.json @@ -61,10 +61,12 @@ "cSpell.fixSpellingWithRenameProvider": true, "cSpell.userWords": [ "Aadhaar", + "Aiginia", "BBSR", "GOPATH", "Jython", "Kumar", + "Odisha", "Pratik", "Printf", "Println", @@ -87,10 +89,7 @@ // // Shell check plgin "shellcheck.run": "onSave", - "shellcheck.exclude": [ - 2181, - 2039 - ], + "shellcheck.exclude": [2181, 2039], // // HTML "[html]": { @@ -112,7 +111,7 @@ // Golang "go.useLanguageServer": true, "[go]": { - "editor.formatOnSave": true, + "editor.formatOnSave": true }, "go.formatTool": "gofmt", // @@ -139,5 +138,9 @@ "editor.suggestSelection": "first", "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue", "markdown.extension.toc.orderedList": true, + "[json]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "projectManager.git.baseFolders": ["/media/pratik/Work/Coding/"] // -} \ No newline at end of file +} diff --git a/.config/dolphinrc b/.config/dolphinrc index a53f974..a319fd2 100644 --- a/.config/dolphinrc +++ b/.config/dolphinrc @@ -39,16 +39,16 @@ ViewPropsTimestamp=2019,3,8,12,20,14 [IconsMode] FontWeight=50 IconSize=80 -PreviewSize=48 +PreviewSize=96 [KPropertiesDialog] -Height 768=478 -Width 1366=446 +Height 768=450 +Width 1366=365 [MainWindow] Height 768=703 MenuBar=Disabled -State=AAAA/wAAAAD9AAAAAwAAAAAAAADTAAACnfwCAAAAAvsAAAAUAHAAbABhAGMAZQBzAEQAbwBjAGsBAAAAIgAAAVAAAAByAQAAA/sAAAAWAGYAbwBsAGQAZQByAHMARABvAGMAawEAAAFzAAABTAAAAHIBAAADAAAAAQAAALAAAAKd/AIAAAAB+wAAABAAaQBuAGYAbwBEAG8AYwBrAAAAACIAAAKdAAAAIgEAAAMAAAADAAAFVgAAALr8AQAAAAH7AAAAGAB0AGUAcgBtAGkAbgBhAGwARABvAGMAawAAAAAAAAAFVgAAAEQBAAADAAAEggAAAp0AAAAEAAAABAAAAAgAAAAI/AAAAAEAAAACAAAAAQAAABYAbQBhAGkAbgBUAG8AbwBsAEIAYQByAQAAAAD/////AAAAAAAAAAA= +State=AAAA/wAAAAD9AAAAAwAAAAAAAAD3AAACnfwCAAAAAvsAAAAUAHAAbABhAGMAZQBzAEQAbwBjAGsBAAAAIgAAAVEAAAByAQAAA/sAAAAWAGYAbwBsAGQAZQByAHMARABvAGMAawEAAAF0AAABSwAAAHIBAAADAAAAAQAAALAAAAKd/AIAAAAB+wAAABAAaQBuAGYAbwBEAG8AYwBrAAAAACIAAAKdAAAAIgEAAAMAAAADAAAFVgAAANH8AQAAAAH7AAAAGAB0AGUAcgBtAGkAbgBhAGwARABvAGMAawAAAAAAAAAFVgAAAEQBAAADAAAEXgAAAp0AAAAEAAAABAAAAAgAAAAI/AAAAAEAAAACAAAAAQAAABYAbQBhAGkAbgBUAG8AbwBsAEIAYQByAQAAAAD/////AAAAAAAAAAA= ToolBarsMovable=Disabled Width 1366=1366 Window-Maximized 768x1366=true diff --git a/.config/remmina/remmina.pref b/.config/remmina/remmina.pref index b1d78b4..6e4b024 100644 --- a/.config/remmina/remmina.pref +++ b/.config/remmina/remmina.pref @@ -23,7 +23,7 @@ main_height=703 main_maximize=false main_sort_column_id=1 main_sort_order=0 -expanded_group=Hetzner,Squbix +expanded_group=AWS,Hetzner toolbar_pin_down=false sshtunnel_port=4732 applet_new_ontop=false diff --git a/.tmux.conf b/.tmux.conf index e0ba5c7..ded15e4 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -3,21 +3,21 @@ 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 - + # Shift arrow to switch windows bind -n S-Left previous-window bind -n S-Right next-window - + # Set easier window split keys bind-key v split-window -h bind-key h split-window -v - + # Easy config reload bind-key r source-file ~/.tmux.conf \; display-message "~/.tmux.conf reloaded." ######################## Key Bindings ######################## @@ -52,4 +52,8 @@ set -g history-limit 10000 # Mouse mode setw -g mouse on + +# Restore tmux-sessions -> https://github.com/tmux-plugins/tmux-resurrect +run-shell ~/downloads/softwares/tmux-resurrect/resurrect.tmux ######################## Other Features ######################## +