An open API service indexing awesome lists of open source software.

https://github.com/tomtom/ttext_vim

Facilitate editing (plain) text files with long lines
https://github.com/tomtom/ttext_vim

long-line plain-text text vim vim-plugin

Last synced: 9 months ago
JSON representation

Facilitate editing (plain) text files with long lines

Awesome Lists containing this project

README

          

This plugin aims at facilitating editing text files with long lines.

Features:

- Set 'textwidth' to 0 if the current buffer contains long lines (see
`g:ttext_detect_tw_pattern`)
- Remap some movement keys if 'textwidth' is 0 (see
`g:ttext_handle_tw0_pattern`)
- Enable some minimal highlighting for some filetypes (see
`g:ttext_highlight_filetype_rx`)

-----------------------------------------------------------------------

# Install

Either use the zip archive:

- Download the zip archive
- Extract it to `~/.vim/pack/tml/start/ttext`

or install from github:

- Start a terminal
- Change the working directory to `~/.vim/pack/tml/start/`
- Type: `git clone https://github.com/tomtom/ttext_vim`

NOTE: If you don't want to run this plugin on startup, use
`~/.vim/pack/tml/opt/`.

NOTE: On Windows, ~/.vim might be ~/vimfiles. Please see 'runtimepath' for
details.

License: GPLv3 or later