diff --git a/emacs/.emacs b/emacs/.emacs new file mode 100644 index 0000000..4378ad7 --- /dev/null +++ b/emacs/.emacs @@ -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) diff --git a/emacs/README.md b/emacs/README.md new file mode 100644 index 0000000..e563792 --- /dev/null +++ b/emacs/README.md @@ -0,0 +1,2 @@ +Located at `~`. + diff --git a/mutt/README.md b/mutt/README.md index 8e566cc..9228981 100644 --- a/mutt/README.md +++ b/mutt/README.md @@ -1,2 +1,2 @@ -.mailcap: `~/.mailcap` -.muttrc : `~/.muttrc` + - `.mailcap`: `~/.mailcap` + - `.muttrc` : `~/.muttrc` diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index be7ebb6..a9e2e0a 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -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}"