aboutsummaryrefslogtreecommitdiff
path: root/vim/config/terminal.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-11 01:07:14 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-11 01:07:14 +1300
commitaaf04871d944646225875d5e9cc31a967947c3fe (patch)
tree787efb73dabb6b9cda660ccde51e838b507a3dbd /vim/config/terminal.vim
parentMerge branch 'hotfix/v0.12.2' (diff)
parentBump version number to 0.13.0 (diff)
downloaddotfiles-0.13.0.tar.gz (sig)
dotfiles-0.13.0.zip
Merge branch 'release/v0.13.0'v0.13.0
* release/v0.13.0: (30 commits) Bump version number to 0.13.0 Move mutt_mail.vim line select logic into plugin Add new mail_mutt.vim plugin, apply mappings Sort 'shortmess' flag settings alphabetically Add 'o' and 'O' back into 'shortmess' Set up individual flags for 'shortmess' Fix oii(1df) so it works as a pipe Use exists+ test rather than exists& Adjust some whitespace and comment layout Move matchit.vim sourcing into plugin.vim Rename netrw.vim to plugin.vim Remove 'shellslash' setting Move fedora.vim into os.vim Remove 'tildeop' setting Rearrange three smaller files into display.vim Move 'paste' options into terminal.vim Move wildmenu config into completion.vim Rename complete.vim to completion.vim Rename term.vim to terminal.vim Rename yank.vim to registers.vim ...
Diffstat (limited to 'vim/config/terminal.vim')
-rw-r--r--vim/config/terminal.vim31
1 files changed, 31 insertions, 0 deletions
diff --git a/vim/config/terminal.vim b/vim/config/terminal.vim
new file mode 100644
index 00000000..202705a7
--- /dev/null
+++ b/vim/config/terminal.vim
@@ -0,0 +1,31 @@
+" Start paste mode with F10 to prevent console Vim from confusing a swathe of
+" pre-formatted pasted text with actual keyboard input, and thereby attempting
+" to indent it inappropriately. If unimpaired.vim is available, it's generally
+" nicer to use yo or yO.
+set nopaste
+set pastetoggle=<F10>
+
+" Don't bother about checking whether Escape is being used as a means to enter
+" a Meta-key combination, just register Escape immediately
+set noesckeys
+
+" Don't bother drawing the screen while executing macros or other automated or
+" scripted processes, just draw the screen as it is when the operation
+" completes
+set lazyredraw
+
+" Improve redrawing smoothness by assuming that my terminal is reasonably
+" fast
+set ttyfast
+
+" Never use any kind of bell, visual or not
+set visualbell t_vb=
+
+" Require less than one second between keys for mappings to work correctly
+set timeout
+set timeoutlen=1000
+
+" Require less than a twentieth of a second between keys for key codes to work
+" correctly; I don't use Escape as a meta key anyway
+set ttimeout
+set ttimeoutlen=50