Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tek/vim-fieldtrip
simple sideways submode
https://github.com/tek/vim-fieldtrip
Last synced: 13 days 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 (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2018-10-13T22:28:59.000Z (about 6 years ago)
- Last Synced: 2024-08-02T04:02:31.656Z (3 months ago)
- Language: VimL
- Size: 137 KB
- Stars: 12
- Watchers: 3
- 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'