summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/old/vim/vimrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/old/vim/vimrc b/config/old/vim/vimrc
index 0dbf474..2a3ee03 100644
--- a/config/old/vim/vimrc
+++ b/config/old/vim/vimrc
@@ -157,8 +157,8 @@ vnoremap <Leader>u <cmd>'<,'>s/^[0-9]\\+\\. //<cr><esc>
" scripts
nnoremap <Leader>x <cmd>!chmod +x %<cr>
" replace
-nnoremap <Leader>sf [[:%s/\<<C-r><C-w>\>/<C-r><C-w><C-w>/gI<Left><Left><Left>]]
-nnoremap <Leader>sl [[:s/\<<C-r><C-w>\>/<C-r><C-w><C-w>/gI<Left><Left><Left>]]
+nnoremap <Leader>sf yiw:%s/\<<C-r>"\>//gI<Left><Left><Left>
+nnoremap <Leader>sl yiw:s/\<<C-r>"\>//gI<Left><Left><Left>
" write
nnoremap <LocalLeader>w <cmd>write<cr>