update tmux config
This commit is contained in:
parent
f0c150ff6f
commit
ca708ac7ec
15
emacs/.emacs
Normal file
15
emacs/.emacs
Normal 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
2
emacs/README.md
Normal file
|
@ -0,0 +1,2 @@
|
|||
Located at `~`.
|
||||
|
|
@ -1,2 +1,2 @@
|
|||
.mailcap: `~/.mailcap`
|
||||
.muttrc : `~/.muttrc`
|
||||
- `.mailcap`: `~/.mailcap`
|
||||
- `.muttrc` : `~/.muttrc`
|
||||
|
|
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue
Block a user