update tmux config

This commit is contained in:
Julin S 2021-05-15 22:39:25 +05:30
parent f0c150ff6f
commit ca708ac7ec
4 changed files with 31 additions and 3 deletions

15
emacs/.emacs Normal file
View File

@ -0,0 +1,15 @@
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
(package-initialize)
(setq-default word-wrap t)
; Display current column
;; https://www.gnu.org/software/emacs/manual/html_node/efaq/Displaying-the-current-line-or-column.html
(setq column-number-mode t)
; Set default encoding as UTF-8
(set-terminal-coding-system 'utf-8)
; Don't show welcome screen every time
(setq inhibit-startup-screen t)

2
emacs/README.md Normal file
View File

@ -0,0 +1,2 @@
Located at `~`.

View File

@ -1,2 +1,2 @@
.mailcap: `~/.mailcap`
.muttrc : `~/.muttrc`
- `.mailcap`: `~/.mailcap`
- `.muttrc` : `~/.muttrc`

View File

@ -1,8 +1,19 @@
# Set backtick as escape key
# Unbind default prefix
unbind C-b
# Set backtick as prefix
set -g prefix `
bind-key ` send-prefix
# Use vi key bindings in scroll mode
setw -g mode-keys vi
# Make new windows start from CWD
bind c new-window -c "#{pane_current_path}"
# New binding to make new window from $HOME
bind C new-window
# Make new panes start from CWD
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"