From cb6ec01079eaa1a75d372ab260f372f549f40ef7 Mon Sep 17 00:00:00 2001 From: Giacomo Comitti Date: Tue, 15 Jul 2014 08:38:48 +0200 Subject: [PATCH] Update documentation make README.md and wildfire.txt almost equal --- README.md | 2 +- doc/wildfire.txt | 24 ++++-------------------- 2 files changed, 5 insertions(+), 21 deletions(-) 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: