diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-05-04 11:52:42 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-05-04 11:52:42 +0300 |
commit | f9f96b1716fa059e1aec6759c053a4204e9bc85f (patch) | |
tree | 6f2aecffdcd8229f27be06f3efb92af3e059c559 | |
parent | .ssh/config: ExitOnForwardFailure yes (diff) | |
download | linux-home-f9f96b1716fa059e1aec6759c053a4204e9bc85f.tar.gz linux-home-f9f96b1716fa059e1aec6759c053a4204e9bc85f.zip |
.vimrc: new line without insert mode
-rw-r--r-- | %HOME%/.vimrc | 4 |
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> |