diff --git a/README.md b/README.md index cfb345a..1a676e5 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ You can change default mappings with: map (wildfire-fuel) " This selects the previous closest text object. -map (wildfire-water) +vmap (wildfire-water) ``` By default, *Wildfire* selects any of the text objects `i'`, `i"`, `i)`, `i]`, `i}`, `ip` and `it`. You can decide the ones to consider with the following option: diff --git a/doc/wildfire.txt b/doc/wildfire.txt index d8f26ce..acce604 100644 --- a/doc/wildfire.txt +++ b/doc/wildfire.txt @@ -39,30 +39,14 @@ press a number followed by `` (e.g. pressing `2` will select the second closest text object). -To change default mappings use the following options: - +You can change default mappings with: > " This selects the next closest text object. - let g:wildfire_fuel_map = "" -< -> - " This selects the previous closest text object. - let g:wildfire_water_map = "" -< - -You can map keys to '' mappings: -> - map (wildfire-fuel) - map (wildfire-water) -< + map (wildfire-fuel) -This is useful when you want to hack key mappings. For example, call fuel/water -via another plugins. You can point the interface of fuel/water like below: -> - map (wildfire-fuel)U + " This selects the previous closest text object. + vmap (wildfire-water) < -This key mapping make upper-case string on the cursor. - By default, Wildfire selects any of the text objects `i'`, `i"`, `i)`, `i]`, `i}`, `ip` and `it`. You can decide the ones to consider with the following option: