summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2018-05-04 19:29:27 +0100
committerUrbain Vaes <urbain@vaes.uk>2018-05-04 19:29:27 +0100
commit577c99aca246aa76901b2d75a748dd4307f4a164 (patch)
treedd78095d91d115674368050f6fec0528c0f932e5
parent19f04c6da57141f2ad8c362fa7051fbe51e3b37a (diff)
Improve kill-word in zsh
-rw-r--r--tmux/.tmux.conf3
-rw-r--r--vim/.vimrc6
-rw-r--r--zsh/.zshrc4
3 files changed, 10 insertions, 3 deletions
diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf
index 342c275..84a3399 100644
--- a/tmux/.tmux.conf
+++ b/tmux/.tmux.conf
@@ -12,6 +12,9 @@ bind r source-file ~/.tmux.conf
set -sg escape-time 0
set-option -g allow-rename off
+bind C-n next-window
+bind C-p previous-window
+
bind -n C-Left previous-window
bind -n C-Right next-window
diff --git a/vim/.vimrc b/vim/.vimrc
index 4785891..88d0ffb 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -62,15 +62,15 @@ Plug 'tpope/vim-surround'
Plug 'tpope/vim-unimpaired'
Plug 'troydm/zoomwintab.vim'
let g:zoomwintab_hidetabbar=0
-Plug 'urbainvaes/vim-remembrall'
-" Plug 'urbainvaes/vim-wintab'
-Plug '~/Dropbox/projects/vim-wintab'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'vim-scripts/ReplaceWithRegister'
Plug 'vim-scripts/gmsh.vim'
Plug 'wellle/targets.vim'
+Plug '~/Dropbox/projects/vim-remembrall'
+Plug '~/Dropbox/projects/vim-wintab'
+
if has("nvim")
" Plug 'roxma/nvim-completion-manager'
Plug 'Shougo/deoplete.nvim', { 'do' : ':UpdateRemotePlugins' }
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 9307fc2..4f6074b 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -36,6 +36,10 @@ setopt share_history
# Completion
zstyle ':completion:*' matcher-list 'm:{a-zA-Z-_}={A-Za-z_-}' 'r:|=*' 'l:|=* r:|=*'
+# Kill word
+autoload -U select-word-style
+select-word-style bash
+
# Prompt
if [[ -n $SSH_CLIENT ]]; then
PROMPT='%F{red}[%M]%f %0~ $ '