Skip to content

Commit

Permalink
READMEにキーマップの設定方法を追記
Browse files Browse the repository at this point in the history
  • Loading branch information
kamecha committed Jul 5, 2024
1 parent 9d766fd commit ea6b659
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,27 @@ ddu-ui-filer
ddcとの連携
![image](https://user-images.githubusercontent.com/50443168/221398079-da91a873-5f8d-4c5a-af1c-650e4b88e09b.png)

## 設定

```vim
" for keymap
autocmd FileType traqvim call s:traqvim_setting()
function s:traqvim_setting()
omap <buffer> im
\ <Plug>(traqvim-message-motion)
nmap <buffer> <LocalLeader>y
\ <Plug>(traqvim-yank-message-link-operator)
nmap <buffer> <LocalLeader>Y
\ <Plug>(traqvim-yank-message-markdown-operator)
nmap <buffer> <LocalLeader>d
\ <Plug>(traqvim-delete-message-operator)
nmap <buffer> <LocalLeader>p
\ <Plug>(traqvim-toggle-pin-operator)
endfunction
```

## 今後の展望

WebSocketとか実装して、手動リロードしなくてもいいようにしたいなぁ...

0 comments on commit ea6b659

Please sign in to comment.