From 8e7b6fe9a87762abc83516bd84702fabb1c52add Mon Sep 17 00:00:00 2001 From: Eric Teunis de Boone Date: Thu, 10 Oct 2019 15:16:45 +0200 Subject: [PATCH] VIM whitespace toggler, disable tmux vim-copy mode --- tmux/tmux.conf | 6 +++--- vim/vimrc | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/tmux/tmux.conf b/tmux/tmux.conf index c548d50..3da1187 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -13,9 +13,9 @@ setw -g mode-keys vi set -g status-keys vi # Make copy mode more vim-like. -bind -t vi-copy v begin-selection -bind -t vi-copy y copy-selection -bind -t vi-copy C-v rectangle-toggle +#bind -t vi-copy v begin-selection +#bind -t vi-copy y copy-selection +#bind -t vi-copy C-v rectangle-toggle # commands bind : command-prompt diff --git a/vim/vimrc b/vim/vimrc index a01b89b..4c76a3c 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -25,6 +25,9 @@ set softtabstop=4 set shiftwidth=4 set noexpandtab +" Show whitespace in characters (toggle with set list) +set listchars=tab:→\ ,space:·,nbsp:␣,trail:•,eol:¶,precedes:«,extends:» + "Folding "augroup vimrc " au BufReadPre * setlocal foldmethod=indent