From 577c99aca246aa76901b2d75a748dd4307f4a164 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Fri, 4 May 2018 19:29:27 +0100 Subject: Improve kill-word in zsh --- tmux/.tmux.conf | 3 +++ vim/.vimrc | 6 +++--- zsh/.zshrc | 4 ++++ 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~ $ ' -- cgit v1.2.3