Skip to content

Commit

Permalink
<Plug>キーマップを全体的にRename
Browse files Browse the repository at this point in the history
  • Loading branch information
kamecha committed Jul 5, 2024
1 parent ea6b659 commit 3592c53
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ autocmd FileType traqvim call s:traqvim_setting()
function s:traqvim_setting()
omap <buffer> im
\ <Plug>(traqvim-message-motion)
\ <Plug>(traqvim-motion-message)
nmap <buffer> <LocalLeader>y
\ <Plug>(traqvim-yank-message-link-operator)
\ <Plug>(traqvim-operator-message-yank-link)
nmap <buffer> <LocalLeader>Y
\ <Plug>(traqvim-yank-message-markdown-operator)
\ <Plug>(traqvim-operator-message-yank-markdown)
nmap <buffer> <LocalLeader>d
\ <Plug>(traqvim-delete-message-operator)
\ <Plug>(traqvim-operator-message-delete)
nmap <buffer> <LocalLeader>p
\ <Plug>(traqvim-toggle-pin-operator)
\ <Plug>(traqvim-operator-pin-toggle)
endfunction
```

Expand Down
10 changes: 5 additions & 5 deletions doc/traqvim.jax
Original file line number Diff line number Diff line change
Expand Up @@ -101,20 +101,20 @@ g:traqvim#token_file_path
<Plug>(traqvim-prev) *<Plug>(traqvim-prev)*
前のメッセージへカーソルを移動させます

<Plug>(traqvim-message-motion) *<Plug>(traqvim-message-motion)*
<Plug>(traqvim-motion-message) *<Plug>(traqvim-motion-message)*
カーソル下の該当メッセージの始まり・終わりを選択します
レイアウトで表示されるものが選択されます

<Plug>(traqvim-yank-message-link-operator) *<Plug>(traqvim-yank-message-link-operator)*
<Plug>(traqvim-operator-message-yank-link) *<Plug>(traqvim-operator-message-yank-link)*
該当メッセージのリンクをヤンクします

<Plug>(traqvim-yank-message-markdown-operator) *<Plug>(traqvim-yank-message-markdown-operator)*
<Plug>(traqvim-operator-message-yank-markdown) *<Plug>(traqvim-operator-message-yank-markdown)*
該当メッセージのリンクをマークダウン形式でヤンクします

<Plug>(traqvim-delete-message-operator) *<Plug>(traqvim-delete-message-operator)*
<Plug>(traqvim-operator-message-delete) *<Plug>(traqvim-operator-message-delete)*
該当メッセージを削除します

<Plug>(traqvim-toggle-pin-operator) *<Plug>(traqvim-toggle-pin-operator)*
<Plug>(traqvim-operator-pin-toggle) *<Plug>(traqvim-operator-pin-toggle)*
該当メッセージのピンをトグルします

------------------------------------------------------------------------------
Expand Down
10 changes: 5 additions & 5 deletions ftplugin/traqvim.vim
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ nnoremap <buffer><silent> <Plug>(traqvim-next)
nnoremap <buffer><silent> <Plug>(traqvim-prev)
\ <Cmd>call traqvim#message_prev()<CR>
nnoremap <buffer><expr> <Plug>(traqvim-yank-message-link-operator)
nnoremap <buffer><expr> <Plug>(traqvim-operator-message-yank-link)
\ traqvim#registerYankMessageLink()
nnoremap <buffer><expr> <Plug>(traqvim-yank-message-markdown-operator)
nnoremap <buffer><expr> <Plug>(traqvim-operator-message-yank-markdown)
\ traqvim#registerYankMessageMarkdown()
nnoremap <buffer><expr> <Plug>(traqvim-delete-message-operator)
nnoremap <buffer><expr> <Plug>(traqvim-operator-message-delete)
\ traqvim#registerDeleteMessage()
nnoremap <buffer><expr> <Plug>(traqvim-toggle-pin-operator)
nnoremap <buffer><expr> <Plug>(traqvim-operator-pin-toggle)
\ traqvim#registerTogglePin()
onoremap <buffer><silent> <Plug>(traqvim-message-motion)
onoremap <buffer><silent> <Plug>(traqvim-motion-message)
\ :<C-u>call traqvim#message_motion()<CR>
command! -buffer -nargs=0 TraqYankMessageLink
Expand Down

0 comments on commit 3592c53

Please sign in to comment.