This plugin adds the following behaviour to the default behaviour of the
- Multiline - Can search across multiple lines or continue searching across multiple lines using
- Smart Case - When the search character is lower case it matches both lower and upper case, and when the character is uppercase it matches only upper case.
- Allow repeating
- Highlighting - Which is disabled automatically when moving your cursor afterwards
It's also worth noting that it only adds the new position to the jumplist if you've changed lines.
vim-extended-ft also includes an option to use a version of the
F operator with two characters instead of one. This is disabled by default but can be enabled easily by including extra mappings in your vimrc. See the bottom of the file
extended-ft.vim for an example (commented out) of what those mappings would look like.
If you have remapped any of the
, keys you can still use the plugin without changing it, by including the following in your .vimrc:
let g:ExtendedFTUseDefaults = 0
And then remapping the desired keys to the
<plug> mappings in your .vimrc (see the bottom of the file vim-extended-ft.vim for an example).
To disable smartcase matching, and either force case-sensitive or case-insensitive, use this option in your .vimrc:
let g:ExtendedFT_caseOption =
- '\c' - Forces
- '\C' - Forces