LoginSignup
0
0

More than 5 years have passed since last update.

vaffleのキーマップの追加

Posted at

概要

矢印でも移動したくなった時の設定

内容

:h vaffle-examplesにサンプルはありましたが、通常時にも反映されてしまうので、少し改良。

    function! s:customize_vaffle_mappings() abort
        nmap <buffer> <silent> <Left> <Plug>(vaffle-open-parent)
        nmap <buffer> <silent> <Right> <Plug>(vaffle-open-current)
    endfunction
    augroup vimrc_vaffle
        autocmd!
        autocmd FileType vaffle call s:customize_vaffle_mappings()
    augroup END
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0