Skip to content

Facilitate editing (plain) text files with long lines

License

Notifications You must be signed in to change notification settings

tomtom/ttext_vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Facilitate editing (plain) text files with long lines

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published