aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/mappings.vim4
-rw-r--r--core/plugins.vim4
2 files changed, 4 insertions, 4 deletions
diff --git a/core/mappings.vim b/core/mappings.vim
index eb6ebef..81646f7 100644
--- a/core/mappings.vim
+++ b/core/mappings.vim
@@ -119,7 +119,7 @@ nnoremap <silent> <leader>sv :<C-U>silent update $MYVIMRC <bar> source $MYVIMRC
nnoremap <expr> <leader>v printf('`[%s`]', getregtype()[0])
" Search in selected region
-vnoremap / :<C-U>call feedkeys('/\%>'.(line("'<")-1).'l\%<'.(line("'>")+1)."l")<CR>
+xnoremap / :<C-U>call feedkeys('/\%>'.(line("'<")-1).'l\%<'.(line("'>")+1)."l")<CR>
" Find and replace (like Sublime Text 3)
nnoremap <C-H> :%s/
@@ -211,7 +211,7 @@ nnoremap <Right> <C-W>l
nnoremap <Up> <C-W>k
nnoremap <Down> <C-W>j
-vnoremap <silent> iu :<C-U>call <SID>URLTextObj()<CR>
+xnoremap <silent> iu :<C-U>call <SID>URLTextObj()<CR>
onoremap <silent> iu :<C-U>call <SID>URLTextObj()<CR>
function! s:URLTextObj() abort
diff --git a/core/plugins.vim b/core/plugins.vim
index cf4d3e6..346f6c2 100644
--- a/core/plugins.vim
+++ b/core/plugins.vim
@@ -536,7 +536,7 @@ if g:is_win || g:is_mac
" Use another mapping for the open URL method
nmap ob <Plug>(openbrowser-smart-search)
- vmap ob <Plug>(openbrowser-smart-search)
+ xmap ob <Plug>(openbrowser-smart-search)
endif
"}}
@@ -579,7 +579,7 @@ augroup END
let g:titlecase_map_keys = 0
nmap <leader>gt <Plug>Titlecase
-vmap <leader>gt <Plug>Titlecase
+xmap <leader>gt <Plug>Titlecase
nmap <leader>gT <Plug>TitlecaseLine
""""""""""""""""""""""""vim-auto-save settings"""""""""""""""""""""""