Skip to content

Instantly share code, notes, and snippets.

@aznhe21
aznhe21 / countable-hop.lua
Created September 12, 2022 12:03
hop.nvimとカウント付きモーションを共存させる
use {
"phaazon/hop.nvim",
config = function()
local hop = require("hop")
local pre, aim, post
if packer_plugins["quick-scope"] and packer_plugins["quick-scope"].loaded then
pre = vim.fn["quick_scope#Ready"]
aim = vim.fn["quick_scope#Aim"]
post = function()

HomebrewでインストールしたGollum 2.7.0がベース
git config --global core.quotepath falseが必要

##Gitlab-Grit

とりあえずUTF-8強制

grit/git.rb def native(cmd, options = {}, *args, &block)

       if raise_errors && !status.success?
         raise CommandFailed.new(argv.join(' '), status.exitstatus, process.err)
       elsif process_info