aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%
diff options
context:
space:
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>