diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-28 21:58:09 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-28 21:58:09 +1300 |
commit | 0d3fb9c9f94fa71d8bab82dd9561abeae00c7a10 (patch) | |
tree | 8d58a6f7124f5d41383fd54c924a59186c507b91 | |
parent | Move whitespace .vimrc config into subfile (diff) | |
download | dotfiles-0d3fb9c9f94fa71d8bab82dd9561abeae00c7a10.tar.gz dotfiles-0d3fb9c9f94fa71d8bab82dd9561abeae00c7a10.zip |
Move terminal .vimrc config into subfile
-rw-r--r-- | vim/config/term.vim | 27 | ||||
-rw-r--r-- | vim/vimrc | 28 |
2 files changed, 27 insertions, 28 deletions
diff --git a/vim/config/term.vim b/vim/config/term.vim new file mode 100644 index 00000000..f368e481 --- /dev/null +++ b/vim/config/term.vim @@ -0,0 +1,27 @@ +" 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 + +" Don't write the output of :make to the terminal +set shellpipe=> @@ -129,31 +129,6 @@ set sidescrolloff=16 nnoremap & :&&<CR> vnoremap & :&&<CR> -" 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 - " Tolerate typos like :Wq, :Q, or :Qa and do what I mean, including any " arguments or modifiers; I fat-finger these commands a lot because I type " them so rapidly, and they don't correspond to any other commands I use @@ -188,9 +163,6 @@ set display=lastline set nowrap nnoremap <leader>w :set wrap!<CR> -" Don't write the output of :make to the terminal -set shellpipe=> - " When wrapping, j and k should move by screen row, and not to the same " column number in the previous logical line, which feels very clumsy and is " seldom particularly helpful; you can use n| to jump to the nth column in a |