Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Commit

Permalink
make <cr> create new line in normal mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Hodgson committed Jun 9, 2017
1 parent b3e0b9c commit 6bc8b2d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .vimrc
Expand Up @@ -250,6 +250,10 @@ inoremap <C-j> <esc>:exe "norm Ypf lDB\<C-a>"<cr>A
nnoremap <leader>ev :vsplit $MYVIMRC<cr>
nnoremap <leader>sv :source $MYVIMRC<cr>
" add new line without entering insert mode
nnoremap <CR> o<Esc>
nnoremap <S-Enter> O<Esc>
" Set double space in insert mode to go to next mark and enter insert mode
"inoremap <leader><leader> <Esc>:call NextMark()<cr>

Expand Down

0 comments on commit 6bc8b2d

Please sign in to comment.