{"id":13592670,"url":"https://github.com/xcodebuild/nlinum-relative","last_synced_at":"2025-03-22T22:46:12.427Z","repository":{"id":83287852,"uuid":"58613988","full_name":"xcodebuild/nlinum-relative","owner":"xcodebuild","description":"Emacs relative line number besed on nlinum-mode","archived":false,"fork":false,"pushed_at":"2022-12-01T04:35:36.000Z","size":23,"stargazers_count":61,"open_issues_count":7,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-28T02:33:19.863Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xcodebuild.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-05-12T06:25:17.000Z","updated_at":"2024-12-30T01:59:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"913c249e-acb2-4ca0-a058-c241bb17e693","html_url":"https://github.com/xcodebuild/nlinum-relative","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xcodebuild%2Fnlinum-relative","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xcodebuild%2Fnlinum-relative/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xcodebuild%2Fnlinum-relative/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xcodebuild%2Fnlinum-relative/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xcodebuild","download_url":"https://codeload.github.com/xcodebuild/nlinum-relative/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245031363,"owners_count":20549914,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T16:01:11.908Z","updated_at":"2025-03-22T22:46:12.403Z","avatar_url":"https://github.com/xcodebuild.png","language":"Emacs Lisp","funding_links":[],"categories":["Emacs Lisp"],"sub_categories":[],"readme":"[![Built with Spacemacs](https://cdn.rawgit.com/syl20bnr/spacemacs/442d025779da2f62fc86c2082703697714db6514/assets/spacemacs-badge.svg)](http://github.com/syl20bnr/spacemacs)\n[![License (GPL version 2)](https://img.shields.io/badge/license-GNU%20GPL%20version%202-blue.svg?style=flat-square)](http://opensource.org/licenses/GPL-2.0)\n[![MELPA](https://melpa.org/packages/nlinum-relative-badge.svg)](https://melpa.org/#/nlinum-relative)\n\n# nlinum-relative\nEmacs relative line number based on nlinum-mode\n\n# Preview\n![nlinum-relative](https://cloud.githubusercontent.com/assets/5436704/15207154/cafea3fa-1856-11e6-8f01-26a3832bf1fd.gif)\n\n# Why this\n`nlinum` is faster than `linum` because of its use of [jit-lock](https://github.com/jwiegley/emacs-release/blob/master/lisp/jit-lock.el). `nlinum-relative` only redisplays line numbers when idle which is much more smoother especially with big files.\n\n# Install\n\nThis package is available on MELPA as `nlinum-relative`. \n\n```lisp\n(use-package nlinum-relative\n    :config\n    ;; something else you want\n    (nlinum-relative-setup-evil)\n    (add-hook 'prog-mode-hook 'nlinum-relative-mode))\n```\n\n# Spacemacs\n\nUse `develop` branch's `nlinum` layer.\n\n# Usage\n\n``` lisp\n(require 'nlinum-relative)\n(nlinum-relative-setup-evil)                    ;; setup for evil\n(add-hook 'prog-mode-hook 'nlinum-relative-mode)\n(setq nlinum-relative-redisplay-delay 0)      ;; delay\n(setq nlinum-relative-current-symbol \"-\u003e\")      ;; or \"\" for display current line number\n(setq nlinum-relative-offset 0)                 ;; 1 if you want 0, 2, 3...\n```\n\n\n# Related\n\n- [coldnew/linum-relative: display relative line numbers in the left margin in emacs](https://github.com/coldnew/linum-relative)\n\n  Some code from here\n\n- [GNU ELPA - nlinum](https://elpa.gnu.org/packages/nlinum.html)\n\n  Based on this\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxcodebuild%2Fnlinum-relative","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxcodebuild%2Fnlinum-relative","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxcodebuild%2Fnlinum-relative/lists"}