He buscado por ahí y lo más cercano que he encontrado a mi problema es esto:
https://stackoverflow.com/questions/23848061/cannot-get-delete-key-to-work-with-tmux-and-osx
Estoy ejecutando OSX y estoy usando iTerm2.
Cuando entro en una sesión de tmux mi tecla de borrar no funciona. También intento usar Ctrl+H y Ctrl+?, que no me hacen nada.
En las preferencias de iTerm->claves, tengo el borrado enviado a ^H. En preferencias->perfiles->teclas, también tengo marcada la casilla, Borrar tecla enviar ^H.
Vim es capaz de borrar en tmux pero desde la línea de comandos no puedo.
.tmux.conf
# Set default term
set -g default-terminal "xterm"
# remap prefix to Control + a
set -g prefix C-a
unbind C-b
bind C-a send-prefix
# force a reload of the config file
unbind r
bind r source-file ~/.tmux.conf
# Start number at 1
set -g base-index 1
# UTF-8
set-option -g status-utf8 on
# supposedly fixes pausing in vim
set -s escape-time 1
# set default terminal
set -g default-terminal "xterm-color256"
# Vi copypaste mode
set-window-option -g mode-keys vi
bind-key -t vi-copy 'v' begin-selection
bind-key -t vi-copy 'y' copy-selection
bind p paste-buffer
unbind %
unbind '"'
unbind [
bind | split-window -h
bind - split-window -v
bind ^C-s copy-mode
set-option -g default-shell /bin/zsh
setw -g history-limit 10000
#quick pane cycling
unbind ^A
bind ^A select-pane -t :.+
# Clear pane
bind C-l send-keys -R \; clear-history
# add airline to tmux status bar
if shell "test -f ~/.tmuxlinesnapshot" "source ~/.tmuxlinesnapshot"
Cualquier ayuda será muy apreciada.