Showing posts with label tmux. Show all posts
Showing posts with label tmux. Show all posts

Wednesday, May 20, 2020

Tab key not working in tmux

Add the following to the .tmux.conf:

    unbind -n Tab

Wow, TAB is back!

Tuesday, December 17, 2019

Keep the color prompt in tmux

To keep your prompt (PS1) with color shown in tmux screen, add the following property in .bashrc:

force_color_prompt=yes


Monday, December 16, 2019

Navigate tmux splitted pane using mouse

To enable navigation on tmux splitted pane using mouse

In tmux environment, do the following:
  1. Ctrl-b
  2. Type :setw -g mouse on
Done, try to switch your tmux pane with mouse.

Note:
To make this setting persistent, save this line in .tmux.conf:
setw -g mouse on





CSP on Apache

To add CSP to root if sort of funny. The following will NOT work for most cases !!     <LocationMatch "^/$">        Header s...