Restrict runaway mapping to normal mode
This commit is contained in:
parent
1b28cc113e
commit
55ad19494d
2 changed files with 1 additions and 5 deletions
|
@ -564,7 +564,7 @@ vnoremap > >gv
|
||||||
|
|
||||||
nnoremap <S-l> :L<cr>
|
nnoremap <S-l> :L<cr>
|
||||||
noremap <space> :
|
noremap <space> :
|
||||||
noremap <C-space> @:
|
nnoremap <C-space> @:
|
||||||
noremap Q @q
|
noremap Q @q
|
||||||
nnoremap <S-space> gQ
|
nnoremap <S-space> gQ
|
||||||
" This part is just supposed to make saving as inconvenient as possible
|
" This part is just supposed to make saving as inconvenient as possible
|
||||||
|
@ -820,9 +820,6 @@ function! s:init_html_file()
|
||||||
put =l:text
|
put =l:text
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
nnoremap <C-space> :call <sid>insert_tag(input(""), 0)<CR>
|
|
||||||
|
|
||||||
inoremap <buffer> <C-space> <C-o>""ciw<<C-o>""p><C-o>m'</<C-o>""p><C-o>`'<C-o>l
|
|
||||||
inoremap <buffer> <C-CR> <C-o>""diw<C-o>"_cc<<C-o>""p><C-o>o</<C-o>""p><C-o>O
|
inoremap <buffer> <C-CR> <C-o>""diw<C-o>"_cc<<C-o>""p><C-o>o</<C-o>""p><C-o>O
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
" --- VISUAL EXECUTE ---
|
" --- VISUAL EXECUTE ---
|
||||||
let g:exe_prg = 'lua'
|
let g:exe_prg = 'lua'
|
||||||
vnoremap <CR> :<C-U>exec "'<,'>!".g:exe_prg<CR>
|
vnoremap <CR> :<C-U>exec "'<,'>!".g:exe_prg<CR>
|
||||||
inoremap <C-Space> <C-[>0v$:<C-U>exec "'<,'>!".g:exe_prg<CR>
|
|
||||||
|
|
Loading…
Reference in a new issue