#!/bin/bash
export EDITOR="emacs -nw"
export VISUAL="emacs -nw"

## Bind the key to Vi for Zsh instead of Emacs!
## http://www.cs.elte.hu/zsh-manual/zsh_16.html
## http://dougblack.io/words/zsh-vi-mode.html
## http://zsh.sourceforge.net/Intro/intro_10.html

#export EDITOR=vim
#export VISUAL=vim

#bindkey -v
#bindkey '^P' up-history
#bindkey '^N' down-history
#bindkey '^?' backward-delete-char
#bindkey '^h' backward-delete-char
#bindkey '^w' backward-kill-word
#bindkey '^r' history-incremental-search-backward

## Use 10ms for key sequences instead of 0.4 seconds
#export KEYTIMEOUT=1

## Fix Vim's color when running inside Tmux
export TERM=screen-256color

## Don't clear screen after a command (better with `git status`)
export LESS=-RX

#!/bin/bash
export EDITOR="emacsclient"
export VISUAL="emacsclient -nw"

#export VISUAL="emacs -nw"
#export VISUAL="emacs -nw"

## --------------------- ##
## Bind the key to Vi for Zsh instead of Emacs!
## http://www.cs.elte.hu/zsh-manual/zsh_16.html
## http://dougblack.io/words/zsh-vi-mode.html
## http://zsh.sourceforge.net/Intro/intro_10.html
## --------------------- ##
#export EDITOR=vim
#export VISUAL=vim
#bindkey -v
#bindkey '^P' up-history
#bindkey '^N' down-history
#bindkey '^?' backward-delete-char
#bindkey '^h' backward-delete-char
#bindkey '^w' backward-kill-word
#bindkey '^r' history-incremental-search-backward

## Use 10ms for key sequences instead of 0.4 seconds
#export KEYTIMEOUT=1
## --------------------- ##Y

## Fix Vim's color when running inside Tmux
export TERM=screen-256color

## Don't clear screen after a command (better with `git status`)
export LESS=-RX

Update EDITOR and VISUAL command
Update EDITOR and VISUAL command
