aboutsummaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2020-05-21 15:24:30 -0400
committertdro <tdro@users.noreply.github.com>2020-05-21 15:24:30 -0400
commited3dc2f484f32c326b0a38942ece25ffadf1972e (patch)
treeca8df38c72e93673c5d8e27d038e71aade7383f7 /.vimrc
parente5d9924f27155090cb11d71f333ac4f812eb6247 (diff)
downloaddotfiles-ed3dc2f484f32c326b0a38942ece25ffadf1972e.tar.gz
dotfiles-ed3dc2f484f32c326b0a38942ece25ffadf1972e.tar.bz2
dotfiles-ed3dc2f484f32c326b0a38942ece25ffadf1972e.zip
.vimrc: Set ttimeout
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc4
1 files changed, 1 insertions, 3 deletions
diff --git a/.vimrc b/.vimrc
index 60da146..add928a 100644
--- a/.vimrc
+++ b/.vimrc
@@ -28,6 +28,7 @@ set splitbelow " Open horizontal splits below.
set splitright " Open vertical splits to the right.
set cursorline " Set cursor line highlight.
set notimeout " Wait indefinitely for complete key combinations.
+set ttimeout " Prevent pressing <Esc> twice.
set showcmd " Show key presses in status line.
set hidden " Set hidden buffers.
@@ -241,9 +242,6 @@ nmap <Leader>vdp
nmap <Leader>nn :NnnPicker '%:p:h'<CR>
nmap <Leader>nm :NnnPicker<CR>
-" Quick exit from insert when notimeout is set
-inoremap <Esc> <Esc><Esc>
-
" Exit incremental search
nmap <Esc><Esc> :nohl<cr>