make <cr> create new line in normal mode
This commit is contained in:
parent
b3e0b9caad
commit
6bc8b2d423
1 changed files with 4 additions and 0 deletions
4
.vimrc
4
.vimrc
|
@ -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>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue