hydratic / vim-fieldtrip

simple sideways submode

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Description

fieldtrip is a combination of the plugins submode and sideways.

By pressing fieldtrip_start_map, vim enters a sideways submode. h and l are then temporarily mapped to :SidewaysLeft and :SidewaysRight, h and l will cycle through the fields. d will delete the motion <Plug>SidewaysArgumentTextobjA, x deletes the "inner" variant <Plug>SidewaysArgumentTextobjI. By default, <esc> exits the submode. Consult the submode doc for more options, especially for preventing the automatic exit after 'timeout' ms of idling.

Customization

Change g:fieldtrip_start_map to the key sequence you want to use to enter the submode.

Read the help file for the variable names used to map the submode actions.

License

Copyright (c) Torsten Schmits. Distributed under the terms of the MIT License.

About

simple sideways submode


Languages

Language:Vim Script 100.0%