aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* improve promptmultiline-confirmationFlorian Fischer2024-05-031-11/+28
| | | | | Present more information in a new prompt window. Use vis:pipe to support functioning arrow keys in vis-menu.
* fix choice detectionFlorian Fischer2024-05-031-1/+1
| | | | This slipped through while amending 526873be.
* lockfiles.lua: only check /proc/lock_pid if existsAlin Mr2024-05-031-5/+10
|
* init.lua: clean up on QUIT (handle :cq)Alin Mr2024-05-031-0/+9
|
* lockfiles.lua: check if locking pid existsAlin Mr2024-05-031-1/+12
|
* show locking pid on conflict; clearer promptAlin Mr2024-05-032-10/+13
|
* init.lua: use vis:exit()Alin Mr2024-05-031-1/+1
|
* init.lua: map filenames to lockfilesAlin Mr2024-05-031-5/+6
| | | | also solves re-locking a file we own (e.g. no-arg `:e`)
* lockfiles.lua: fix fd leakAlin Mr2024-05-031-2/+4
|
* init.lua: simplify 'yes' detectionAlin Mr2024-05-031-10/+5
|
* split lock file functions into separate file to enable testingFlorian Fischer2024-05-035-74/+120
|
* init.lua: x%y and x/y should not map to same lockAlin Mr2024-05-031-1/+2
|
* init.lua: re-expand whenever M.directory changesAlin Mr2024-05-031-2/+3
|
* init.lua: create & expand M.dir: only onceAlin Mr2024-05-031-2/+12
|
* run make formatFlorian Fischer2024-05-031-2/+6
|
* init.lua: echo -> printfAlin Mr2024-05-021-2/+1
|
* return early if no file is openedFlorian Fischer2024-05-021-0/+2
| | | | | Reported-By: Matěj Cepl <mcepl@cepl.eu> Tested-By: Alin Mr <almr.oss@outlook.com>
* update the default lock file locationFlorian Fischer2024-05-021-1/+1
|
* use more native Lua code instead of os.executeFlorian Fischer2024-05-021-7/+11
| | | | Suggested-by: Matěj Cepl <mcepl@cepl.eu>
* store lock files in XDG_STATE_HOMEFlorian Fischer2024-05-021-1/+1
| | | | | Replace the previous wrong combination of XDG_CACHE_HOME and the default location of XDG_DATA_HOME.
* initial commitFlorian Fischer2024-05-028-0/+887