Skip to content

Latest commit

 

History

History
40 lines (22 loc) · 913 Bytes

README.md

File metadata and controls

40 lines (22 loc) · 913 Bytes

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