summaryrefslogtreecommitdiff
path: root/vi.exrc
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-06-09 20:09:11 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-06-09 20:09:11 +0200
commit5304018d0b1559b33c2effb3beaafe54df197455 (patch)
treedb1b2b1b094ee89583aa9c42f4ca88a655108768 /vi.exrc
parent2e066cd7d52fad6f7043b3f58af41f55e8fd61e8 (diff)
downloadexrc-5304018d0b1559b33c2effb3beaafe54df197455.tar.gz
vi.exrc: Map ^M to delete searched phrase
Diffstat (limited to 'vi.exrc')
-rw-r--r--vi.exrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/vi.exrc b/vi.exrc
index 738175c..dce098e 100644
--- a/vi.exrc
+++ b/vi.exrc
@@ -6,3 +6,5 @@ map v `v``mv``
map : :'v,.
" operate on backward "selection"
map ; :.,'v
+" delete searched phrase
+map :s///