mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 08:41:43 +05:30
tmux updates
This commit is contained in:
6
.bashrc
6
.bashrc
@@ -194,4 +194,8 @@ fi
|
|||||||
|
|
||||||
if [[ -f ~/.gosetup ]]; then
|
if [[ -f ~/.gosetup ]]; then
|
||||||
source ~/.gosetup
|
source ~/.gosetup
|
||||||
fi
|
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
|
||||||
|
|||||||
@@ -41,5 +41,9 @@
|
|||||||
{
|
{
|
||||||
"key": "ctrl+alt+n",
|
"key": "ctrl+alt+n",
|
||||||
"command": "explorer.newFile"
|
"command": "explorer.newFile"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "ctrl+alt+g",
|
||||||
|
"command": "git.checkout"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -61,10 +61,12 @@
|
|||||||
"cSpell.fixSpellingWithRenameProvider": true,
|
"cSpell.fixSpellingWithRenameProvider": true,
|
||||||
"cSpell.userWords": [
|
"cSpell.userWords": [
|
||||||
"Aadhaar",
|
"Aadhaar",
|
||||||
|
"Aiginia",
|
||||||
"BBSR",
|
"BBSR",
|
||||||
"GOPATH",
|
"GOPATH",
|
||||||
"Jython",
|
"Jython",
|
||||||
"Kumar",
|
"Kumar",
|
||||||
|
"Odisha",
|
||||||
"Pratik",
|
"Pratik",
|
||||||
"Printf",
|
"Printf",
|
||||||
"Println",
|
"Println",
|
||||||
@@ -87,10 +89,7 @@
|
|||||||
//
|
//
|
||||||
// Shell check plgin
|
// Shell check plgin
|
||||||
"shellcheck.run": "onSave",
|
"shellcheck.run": "onSave",
|
||||||
"shellcheck.exclude": [
|
"shellcheck.exclude": [2181, 2039],
|
||||||
2181,
|
|
||||||
2039
|
|
||||||
],
|
|
||||||
//
|
//
|
||||||
// HTML
|
// HTML
|
||||||
"[html]": {
|
"[html]": {
|
||||||
@@ -112,7 +111,7 @@
|
|||||||
// Golang
|
// Golang
|
||||||
"go.useLanguageServer": true,
|
"go.useLanguageServer": true,
|
||||||
"[go]": {
|
"[go]": {
|
||||||
"editor.formatOnSave": true,
|
"editor.formatOnSave": true
|
||||||
},
|
},
|
||||||
"go.formatTool": "gofmt",
|
"go.formatTool": "gofmt",
|
||||||
//
|
//
|
||||||
@@ -139,5 +138,9 @@
|
|||||||
"editor.suggestSelection": "first",
|
"editor.suggestSelection": "first",
|
||||||
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
|
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
|
||||||
"markdown.extension.toc.orderedList": true,
|
"markdown.extension.toc.orderedList": true,
|
||||||
|
"[json]": {
|
||||||
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
|
},
|
||||||
|
"projectManager.git.baseFolders": ["/media/pratik/Work/Coding/"]
|
||||||
//
|
//
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -39,16 +39,16 @@ ViewPropsTimestamp=2019,3,8,12,20,14
|
|||||||
[IconsMode]
|
[IconsMode]
|
||||||
FontWeight=50
|
FontWeight=50
|
||||||
IconSize=80
|
IconSize=80
|
||||||
PreviewSize=48
|
PreviewSize=96
|
||||||
|
|
||||||
[KPropertiesDialog]
|
[KPropertiesDialog]
|
||||||
Height 768=478
|
Height 768=450
|
||||||
Width 1366=446
|
Width 1366=365
|
||||||
|
|
||||||
[MainWindow]
|
[MainWindow]
|
||||||
Height 768=703
|
Height 768=703
|
||||||
MenuBar=Disabled
|
MenuBar=Disabled
|
||||||
State=AAAA/wAAAAD9AAAAAwAAAAAAAADTAAACnfwCAAAAAvsAAAAUAHAAbABhAGMAZQBzAEQAbwBjAGsBAAAAIgAAAVAAAAByAQAAA/sAAAAWAGYAbwBsAGQAZQByAHMARABvAGMAawEAAAFzAAABTAAAAHIBAAADAAAAAQAAALAAAAKd/AIAAAAB+wAAABAAaQBuAGYAbwBEAG8AYwBrAAAAACIAAAKdAAAAIgEAAAMAAAADAAAFVgAAALr8AQAAAAH7AAAAGAB0AGUAcgBtAGkAbgBhAGwARABvAGMAawAAAAAAAAAFVgAAAEQBAAADAAAEggAAAp0AAAAEAAAABAAAAAgAAAAI/AAAAAEAAAACAAAAAQAAABYAbQBhAGkAbgBUAG8AbwBsAEIAYQByAQAAAAD/////AAAAAAAAAAA=
|
State=AAAA/wAAAAD9AAAAAwAAAAAAAAD3AAACnfwCAAAAAvsAAAAUAHAAbABhAGMAZQBzAEQAbwBjAGsBAAAAIgAAAVEAAAByAQAAA/sAAAAWAGYAbwBsAGQAZQByAHMARABvAGMAawEAAAF0AAABSwAAAHIBAAADAAAAAQAAALAAAAKd/AIAAAAB+wAAABAAaQBuAGYAbwBEAG8AYwBrAAAAACIAAAKdAAAAIgEAAAMAAAADAAAFVgAAANH8AQAAAAH7AAAAGAB0AGUAcgBtAGkAbgBhAGwARABvAGMAawAAAAAAAAAFVgAAAEQBAAADAAAEXgAAAp0AAAAEAAAABAAAAAgAAAAI/AAAAAEAAAACAAAAAQAAABYAbQBhAGkAbgBUAG8AbwBsAEIAYQByAQAAAAD/////AAAAAAAAAAA=
|
||||||
ToolBarsMovable=Disabled
|
ToolBarsMovable=Disabled
|
||||||
Width 1366=1366
|
Width 1366=1366
|
||||||
Window-Maximized 768x1366=true
|
Window-Maximized 768x1366=true
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ main_height=703
|
|||||||
main_maximize=false
|
main_maximize=false
|
||||||
main_sort_column_id=1
|
main_sort_column_id=1
|
||||||
main_sort_order=0
|
main_sort_order=0
|
||||||
expanded_group=Hetzner,Squbix
|
expanded_group=AWS,Hetzner
|
||||||
toolbar_pin_down=false
|
toolbar_pin_down=false
|
||||||
sshtunnel_port=4732
|
sshtunnel_port=4732
|
||||||
applet_new_ontop=false
|
applet_new_ontop=false
|
||||||
|
|||||||
12
.tmux.conf
12
.tmux.conf
@@ -3,21 +3,21 @@
|
|||||||
set-option -g prefix C-a
|
set-option -g prefix C-a
|
||||||
unbind-key C-a
|
unbind-key C-a
|
||||||
bind-key C-a send-prefix
|
bind-key C-a send-prefix
|
||||||
|
|
||||||
# Use Alt-arrow keys to switch panes
|
# Use Alt-arrow keys to switch panes
|
||||||
bind -n M-Left select-pane -L
|
bind -n M-Left select-pane -L
|
||||||
bind -n M-Right select-pane -R
|
bind -n M-Right select-pane -R
|
||||||
bind -n M-Up select-pane -U
|
bind -n M-Up select-pane -U
|
||||||
bind -n M-Down select-pane -D
|
bind -n M-Down select-pane -D
|
||||||
|
|
||||||
# Shift arrow to switch windows
|
# Shift arrow to switch windows
|
||||||
bind -n S-Left previous-window
|
bind -n S-Left previous-window
|
||||||
bind -n S-Right next-window
|
bind -n S-Right next-window
|
||||||
|
|
||||||
# Set easier window split keys
|
# Set easier window split keys
|
||||||
bind-key v split-window -h
|
bind-key v split-window -h
|
||||||
bind-key h split-window -v
|
bind-key h split-window -v
|
||||||
|
|
||||||
# Easy config reload
|
# Easy config reload
|
||||||
bind-key r source-file ~/.tmux.conf \; display-message "~/.tmux.conf reloaded."
|
bind-key r source-file ~/.tmux.conf \; display-message "~/.tmux.conf reloaded."
|
||||||
######################## Key Bindings ########################
|
######################## Key Bindings ########################
|
||||||
@@ -52,4 +52,8 @@ set -g history-limit 10000
|
|||||||
|
|
||||||
# Mouse mode
|
# Mouse mode
|
||||||
setw -g mouse on
|
setw -g mouse on
|
||||||
|
|
||||||
|
# Restore tmux-sessions -> https://github.com/tmux-plugins/tmux-resurrect
|
||||||
|
run-shell ~/downloads/softwares/tmux-resurrect/resurrect.tmux
|
||||||
######################## Other Features ########################
|
######################## Other Features ########################
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user