Skip to content

Commit

Permalink
Add replace function
Browse files Browse the repository at this point in the history
  • Loading branch information
shuntaka9576 committed Feb 10, 2019
1 parent fd35fa4 commit c9c1db4
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions nvim/dein.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,16 @@ repo = 'Shougo/denite.nvim'
hook_add = '''
source ~/dotfiles/nvim/plugins/denite.vim
'''

[[plugins]]
repo = 'osyo-manga/vim-over'
hook_add = '''
" 全体置換
nnoremap <silent> <Space>o :OverCommandLine<CR>%s//g<Left><Left>
" 選択範囲置換
vnoremap <silent> <Space>o :OverCommandLine<CR>s//g<Left><Left>
" カーソルしたの単語置換
nnoremap sub :OverCommandLine<CR>%s/<C-r><C-w>//g<Left><Left><Paste>
'''

0 comments on commit c9c1db4

Please sign in to comment.