aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-05-04 11:52:42 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-05-04 11:52:42 +0300
commitf9f96b1716fa059e1aec6759c053a4204e9bc85f (patch)
tree6f2aecffdcd8229f27be06f3efb92af3e059c559 /%HOME%
parent.ssh/config: ExitOnForwardFailure yes (diff)
downloadlinux-home-f9f96b1716fa059e1aec6759c053a4204e9bc85f.tar.gz
linux-home-f9f96b1716fa059e1aec6759c053a4204e9bc85f.zip
.vimrc: new line without insert mode
Diffstat (limited to '')
-rw-r--r--%HOME%/.vimrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/%HOME%/.vimrc b/%HOME%/.vimrc
index 7c004d8..8dcd2a9 100644
--- a/%HOME%/.vimrc
+++ b/%HOME%/.vimrc
@@ -79,3 +79,7 @@ hi SpellLocal ctermfg=0
" Highlight current line.
set cursorline
"set cursorcolumn
+
+" Insert newline without entering insert mode.
+nmap <S-Enter> O<Esc>
+nmap <CR> o<Esc>