mirror of
https://github.com/kastdeur/dotfiles.git
synced 2025-01-08 17:03:32 +01:00
VIM whitespace toggler, disable tmux vim-copy mode
This commit is contained in:
parent
0a85f3ba63
commit
8e7b6fe9a8
2 changed files with 6 additions and 3 deletions
|
@ -13,9 +13,9 @@ setw -g mode-keys vi
|
||||||
set -g status-keys vi
|
set -g status-keys vi
|
||||||
|
|
||||||
# Make copy mode more vim-like.
|
# Make copy mode more vim-like.
|
||||||
bind -t vi-copy v begin-selection
|
#bind -t vi-copy v begin-selection
|
||||||
bind -t vi-copy y copy-selection
|
#bind -t vi-copy y copy-selection
|
||||||
bind -t vi-copy C-v rectangle-toggle
|
#bind -t vi-copy C-v rectangle-toggle
|
||||||
|
|
||||||
# commands
|
# commands
|
||||||
bind : command-prompt
|
bind : command-prompt
|
||||||
|
|
|
@ -25,6 +25,9 @@ set softtabstop=4
|
||||||
set shiftwidth=4
|
set shiftwidth=4
|
||||||
set noexpandtab
|
set noexpandtab
|
||||||
|
|
||||||
|
" Show whitespace in characters (toggle with set list)
|
||||||
|
set listchars=tab:→\ ,space:·,nbsp:␣,trail:•,eol:¶,precedes:«,extends:»
|
||||||
|
|
||||||
"Folding
|
"Folding
|
||||||
"augroup vimrc
|
"augroup vimrc
|
||||||
" au BufReadPre * setlocal foldmethod=indent
|
" au BufReadPre * setlocal foldmethod=indent
|
||||||
|
|
Loading…
Reference in a new issue