resorted key bindings + disable title in tmux
This commit is contained in:
		
							parent
							
								
									7551b52d77
								
							
						
					
					
						commit
						08600a8cac
					
				
					 2 changed files with 25 additions and 25 deletions
				
			
		| 
						 | 
					@ -22,6 +22,7 @@ set -g set-titles-string "#T"
 | 
				
			||||||
set -g status-left-length 20
 | 
					set -g status-left-length 20
 | 
				
			||||||
set -g status-right-length 40
 | 
					set -g status-right-length 40
 | 
				
			||||||
set -g monitor-activity on
 | 
					set -g monitor-activity on
 | 
				
			||||||
 | 
					set -g set-titles off
 | 
				
			||||||
set -g terminal-overrides 'rxvt-unicode*:sitm@,ritm@'
 | 
					set -g terminal-overrides 'rxvt-unicode*:sitm@,ritm@'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
set -g status-bg "colour0"
 | 
					set -g status-bg "colour0"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										49
									
								
								zshrc
									
										
									
									
									
								
							
							
						
						
									
										49
									
								
								zshrc
									
										
									
									
									
								
							| 
						 | 
					@ -38,7 +38,7 @@ export PAGER='less'
 | 
				
			||||||
export EDITOR='vim'
 | 
					export EDITOR='vim'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# ---> colors
 | 
					# ---> colors
 | 
				
			||||||
if [[ $OSTYPE == linux-gnu ]] && [[ $TERM == screen || $TERM == xterm ]]; then
 | 
					if [[ $OSTYPE == linux-gnu ]] && [[ $TERM == screen || $TERM == xterm || $TERM == rxvt-unicode ]]; then
 | 
				
			||||||
	export TERM="$TERM-256color"
 | 
						export TERM="$TERM-256color"
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -47,30 +47,29 @@ PROMPT="%B%(!..%(1000#..%F{red}%n%f@))%F{blue}%m%f %F{white}%~%f %(1j.+%F{red}%j
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# ---> bindings
 | 
					# ---> bindings
 | 
				
			||||||
bindkey -e
 | 
					bindkey -e
 | 
				
			||||||
# home
 | 
					# urxvt
 | 
				
			||||||
bindkey "^[OH" beginning-of-line # xfce4-terminal
 | 
					bindkey	'^[[7~'		beginning-of-line			# home
 | 
				
			||||||
bindkey "^[[H" beginning-of-line # generic
 | 
					bindkey	'^[[8~'		end-of-line				# end
 | 
				
			||||||
bindkey "^[[1~" beginning-of-line # screen
 | 
					bindkey	'^[Oc'		forward-word				# ctrl + right
 | 
				
			||||||
bindkey "^[[7~" beginning-of-line # rxvt
 | 
					bindkey	'^[Od'		backward-word				# ctrl + left
 | 
				
			||||||
# end
 | 
					bindkey	'^[[3^'		delete-word				# ctrl + del
 | 
				
			||||||
bindkey "^[OF" end-of-line # xfce4-terminal
 | 
					bindkey	'^H'		backward-delete-word			# ctrl + backspace
 | 
				
			||||||
bindkey "^[[F" end-of-line # generic
 | 
					# screen
 | 
				
			||||||
bindkey "^[[4~" end-of-line # screen
 | 
					bindkey	'^[[1~'		beginning-of-line			# home
 | 
				
			||||||
bindkey "^[[8~" end-of-line # rxvt
 | 
					bindkey	'^[[4~'		end-of-line				# end
 | 
				
			||||||
# pgup / pgdown
 | 
					# xterm
 | 
				
			||||||
bindkey "^[[5~" backward-word
 | 
					bindkey	'^[[H'		beginning-of-line			# home
 | 
				
			||||||
bindkey "^[[6~" forward-word
 | 
					bindkey	'^[[F'		end-of-line				# end
 | 
				
			||||||
# del
 | 
					# most of them (but not urxvt)
 | 
				
			||||||
bindkey "^[[3~" delete-char
 | 
					bindkey	'^[[1;5C'	forward-word				# ctrl + right
 | 
				
			||||||
# ctrl + del
 | 
					bindkey	'^[[1;5D'	backward-word				# ctrl + left
 | 
				
			||||||
bindkey '^[[3;5~' delete-word
 | 
					bindkey	'^[[3;5~'	delete-word				# ctrl + del
 | 
				
			||||||
# ctrl + right / ctrl + left
 | 
					# all of them
 | 
				
			||||||
bindkey "^[[1;5C" forward-word # generic
 | 
					bindkey	'^[[5~'		backward-word				# page up
 | 
				
			||||||
bindkey "^[[1;5D" backward-word # generic
 | 
					bindkey	'^[[6~'		forward-word				# page down
 | 
				
			||||||
# other
 | 
					bindkey	'^[[3~'		delete-char				# del
 | 
				
			||||||
bindkey "^R" history-incremental-search-backward
 | 
					bindkey	'^R'		history-incremental-search-backward	# ctrl + R
 | 
				
			||||||
# file rename magic
 | 
					bindkey	'^[m'		copy-prev-shell-word			# alt + m
 | 
				
			||||||
bindkey "^[m" copy-prev-shell-word
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
# ---> aliases:
 | 
					# ---> aliases:
 | 
				
			||||||
alias vi='command vim'
 | 
					alias vi='command vim'
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue