Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 507 Bytes

readme.md

File metadata and controls

20 lines (16 loc) · 507 Bytes

an opinionated 'oldfiles' impl

features

  • fixed-length history among nvim instances
  • record = path + line + col
  • redis as the persistent target

status

  • just works

prerequisites

  • linux
  • redis >= 7.*
  • nvim 0.10.*
  • haolian9/infra.nvim

usage

  • necessary config: require'infra.G'('olds').create_client = function() return require('olds.RedisClient').connect_unix('/run/user/1000/redis.sock') end
  • .init() for automatically recording
  • .oldfiles(), .dump(), .reset(), .prune()