improved enter in normal mode
This commit is contained in:
parent
2468075090
commit
00a5a359c6
1 changed files with 2 additions and 2 deletions
4
vimrc
4
vimrc
|
@ -315,7 +315,7 @@ function! s:snapshot()
|
||||||
let l:filetype = &filetype
|
let l:filetype = &filetype
|
||||||
let l:clipboard = @"
|
let l:clipboard = @"
|
||||||
|
|
||||||
silent 1,$yank "
|
silent 0,$yank "
|
||||||
below new
|
below new
|
||||||
set modifiable
|
set modifiable
|
||||||
silent put "
|
silent put "
|
||||||
|
@ -415,7 +415,7 @@ function! s:Enter(shift)
|
||||||
if !a:shift
|
if !a:shift
|
||||||
silent exe "normal o\<esc>0\"_d$"
|
silent exe "normal o\<esc>0\"_d$"
|
||||||
else
|
else
|
||||||
silent exe "normal O\<esc>0\"_d$"
|
silent exe "normal O\<esc>0\"_d$j"
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue