8000 GitHub - dvzubarev/gsnip: A Gitlab Snippet Client.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

dvzubarev/gsnip

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MELPA

Introduction

It's inspired by gist.el but for Gitlab Snippet.

Usage

(setq gsnip-private-token "<your-private-token>")
(setq gsnip-url "<your-gitlab-url>")
  1. Select a region, then invoke gsnip-region.
  2. Invoke gsnip, show the snippets list.
keymap command
n cursor move down
p cursor move up
q quit window
G refresh
d delete snippet
e edit snippet meta info
y yank snippet link
Y yank snippet
RET show current snippet
  1. After pressing RET, you can edit the snippet with:
  • C-x C-s: save the snippet.
  • C-x C-w: rename the snippet, note that the suffix will affect highlighting.

Why you may need it

  • For people who prefer to use Gitlab.
  • Some companies may deploy Gitlab as their private code repository, in that case, using gist won't be appropriate any more.

About

A Gitlab Snippet Client.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Emacs Lisp 100.0%
0