Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sergei-mironov/vim-terminal-images2
https://github.com/sergei-mironov/vim-terminal-images2
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/sergei-mironov/vim-terminal-images2
- Owner: sergei-mironov
- Created: 2024-08-21T09:49:51.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-10-29T11:46:10.000Z (16 days ago)
- Last Synced: 2024-10-29T13:29:02.801Z (16 days ago)
- Language: Vim Script
- Size: 29.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Terinal images 2
----------------Experimental rework of
[vim-terminal-images](https://github.com/sergei-grechanik/vim-terminal-images) by Sergei Grechanik.The differences include:
- A simpler one-column image positioning algorithm
- More aggressive preservation of vim resources (properties, popup windows)
- Quiet image uploading to work around problems caused by the `tupimage` statusline
- No built-in CursorHold handler and fewer Vim commands are installedUsage
-----The top-level definitions are:
- `terminal_images2#UpdateVisible()` for updating images for links visible on the screen. The
corresponding vim command is `:TI2UpdateVisible`.
- `terminal_images2#ShowUnderCursor()` for showing image under the cursorHints
-----* It makes sense to define CursorHold event somewhere in the user configuration file:
``` vim
autocmd CursorHold,BufWinEnter * call terminal_images2#UpdateVisible()
```