saves cursor position for temporary files
install
plugins - addons manager - install from git... - https://github.com/ildarkhasanshin/cuda_save_pos_tmp
plugin Save_Pos_Tmp
plugin Save_Pos_Tmp
eat sleep code repeat
-
- Posts: 2245
- Joined: 25.08.2021 18:15
The idea behind this small plugin. On Unix, you open some file from FTP plugin. file is downloaded to temp filder, and CudaText opens it from there, file name is like /tmp/someFIRSTprefix/dir/file.txt . Now you close it, and open file in FTP again. CudaText opens it from another dir now: /tmp/someOTHERprefix/dir/file.txt. With plugin, you can keep caret position in the file, even if CudaText opens temp file from a different dir (that dir is calculated by Python and has some random prefix).