https://github.com/tek/vim-fieldtrip
simple sideways submode
https://github.com/tek/vim-fieldtrip
Last synced: about 1 year ago
JSON representation
simple sideways submode
- Host: GitHub
- URL: https://github.com/tek/vim-fieldtrip
- Owner: tek
- Archived: true
- Created: 2014-01-21T04:41:50.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2018-10-13T22:28:59.000Z (over 7 years ago)
- Last Synced: 2025-03-26T21:12:56.723Z (over 1 year ago)
- Language: VimL
- Size: 137 KB
- Stars: 12
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Description
**fieldtrip** is a combination of the plugins [submode][1] and [sideways][2].
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 `SidewaysArgumentTextobjA`, `x` deletes the
"inner" variant `SidewaysArgumentTextobjI`. By default, `` 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][3].
[1]: http://github.com/kana/vim-submode 'submode github repo'
[2]: http://github.com/AndrewRadev/sideways.vim 'sideways github repo'
[3]: http://opensource.org/licenses/MIT 'mit license'