Skip to content

deris/vim-shot-f

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

shot-f

highlight the character which can move directly to (by f,F,t,T).

Screenshot

screenshot

Usage

You can type f, F, t, T and highlight the character which can move directly to(when t and T, highlight before the character to move).

If you would like to change default key mappings, write following settings to your .vimrc.

" if you want to map prefix comma, you can use following settings.

" disable default key mappings
let g:shot_f_no_default_key_mappings = 1

" key mappings
nmap ,f  <Plug>(shot-f-f)
nmap ,F  <Plug>(shot-f-F)
nmap ,t  <Plug>(shot-f-t)
nmap ,T  <Plug>(shot-f-T)
xmap ,f  <Plug>(shot-f-f)
xmap ,F  <Plug>(shot-f-F)
xmap ,t  <Plug>(shot-f-t)
xmap ,T  <Plug>(shot-f-T)
omap ,f  <Plug>(shot-f-f)
omap ,F  <Plug>(shot-f-F)
omap ,t  <Plug>(shot-f-t)
omap ,T  <Plug>(shot-f-T)

Special Thanks

I discussed this plugin's idea with Linda_pp, and he created first prototype instantly.

Thanks for your kindness and cleverness Linda_pp!

License

MIT License

About

highlight the character which can move directly to (by `f`,`F`,`t`,`T`)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •