Browse Source

tmux hotkeys, color

Vova Tkach 6 years ago
parent
commit
61898b9b6f
3 changed files with 12 additions and 1 deletions
  1. 3 0
      .tmux.conf
  2. 1 1
      Makefile
  3. 8 0
      ping-enable

+ 3 - 0
tmux.conf → .tmux.conf

@@ -1,3 +1,4 @@
+set -g default-terminal "screen-256color"
 set -g status-right '#(echo $USER)@#H #(uptime | cut -d "," -f 1)'
 set -g status-keys vi
 setw -g mode-keys vi
@@ -9,3 +10,5 @@ bind M setw monitor-activity on
 bind-key -n F1 choose-window
 bind-key -n F11 previous-window
 bind-key -n F12 next-window
+bind-key -n C-S-Left swap-window -t -1
+bind-key -n C-S-Right swap-window -t +1

+ 1 - 1
Makefile

@@ -1,4 +1,4 @@
-RELEASEURL_tmux_conf:="https://github.com/vladimirok5959/bash-linux-utils/releases/download/latest/tmux.conf"
+RELEASEURL_tmux_conf:="https://github.com/vladimirok5959/bash-linux-utils/releases/download/latest/.tmux.conf"
 RELEASEURL_atr:="https://github.com/vladimirok5959/bash-linux-utils/releases/download/latest/atr"
 RELEASEURL_iptables_http_clear:="https://github.com/vladimirok5959/bash-linux-utils/releases/download/latest/iptables-http-clear"
 RELEASEURL_iptables_http_cloudflare:="https://github.com/vladimirok5959/bash-linux-utils/releases/download/latest/iptables-http-cloudflare"

+ 8 - 0
ping-enable

@@ -7,4 +7,12 @@ if [ "$CURR_USER" != "root" ]; then
 	exit
 fi
 
+# Enable ping reply Permanently
+# You can permanently disable the ping reply using the following method.
+# Step 1: Edit the sysctl.conf file and add the following line.
+# net.ipv4.icmp_echo_ignore_all = 0
+# Step 2: Execute sysctl -p to enforce this setting immediately.
+# sysctl -p
+# The above command loads the sysctl settings from the sysctl.conf file.
+
 echo "0" >  /proc/sys/net/ipv4/icmp_echo_ignore_all