I hereby claim:
- I am egzvor on github.
- I am egzvor (https://keybase.io/egzvor) on keybase.
- I have a public key ASCQzubYGyRq4R_viV2lVtIe--fiaa3sFAU_gkvmhUK11Qo
To claim this, I am signing this object:
# This is a modified version of `edit_command_buffer` distributed with fish. | |
function edit_command_buffer_with_scrollback --description 'Edit the command buffer in an external editor' | |
set -l f (mktemp) | |
or return 1 | |
if set -q f[1] | |
command mv $f $f.fish | |
set f $f.fish | |
else | |
# We should never execute this block but better to be paranoid. | |
if set -q TMPDIR |
#include <string.h> | |
#include QMK_KEYBOARD_H | |
#include "streak.h" | |
enum keycodes { | |
STREAK = SAFE_RANGE, | |
}; |
"""See | |
https://hub.netzgemeinde.eu/channel/vim_sensei?mid=b64.aHR0cHM6Ly9odWIuaG90ZWxkYWFuLm5sL2l0ZW0vZGU2MjI1MDgtZjc1Ni00MGUzLWI1MTgtYjE1YTkwYTg2MWJi | |
for details on how to set up Vim to produce the log that this script parses. | |
""" | |
import fileinput | |
import os | |
import re | |
import signal | |
import sys |
#!/usr/bin/python3 | |
""" | |
The script accepts either an argument or stdin line as a Vim server name | |
and focuses on i3 window contaning that Vim instance. | |
Read `:help client-server | |
<http://vimdoc.sourceforge.net/htmldoc/remote.html#client-server>`_. | |
Requires ``psutil`` :: |
if exists('g:loaded_auto_search_highlighting') | |
finish | |
endif | |
let g:loaded_auto_search_highlighting = 1 | |
if ! exists('g:auto_search_highlighting') | |
let g:auto_search_highlighting = 1 | |
endif |
function SmoothSplit(vertical = 0) abort | |
syntax off | |
if a:vertical | |
let new_size = winwidth(0) / 2 | |
vertical 1 split | |
else | |
let new_size = winheight(0) / 2 | |
1 split | |
endif | |
if a:vertical |
[global] | |
monitor = 0 | |
follow = mouse | |
width = 300 | |
height = 300 | |
origin = top-right | |
offset = 20x50 | |
scale = 0 | |
notification_limit = 0 | |
progress_bar = true |
if exists('g:loaded_jumpfile') | |
finish | |
endif | |
let g:loaded_jumpfile = 1 | |
function! JumpFileComputePrevious() | |
let [jump_list, pos] = getjumplist() | |
let previous_list = jump_list | |
\ ->map({idx, val -> [idx, val]})[:pos] |
#!/bin/bash | |
if [ "$1" == "--servername" ]; then | |
servername="$2" | |
shift 2 | |
else | |
servername=$(vim --serverlist | rofi -dmenu -i -p "Enter the vim server name" 2>/dev/null) | |
fi | |
if [ "${servername}" == "" ]; then |
I hereby claim:
To claim this, I am signing this object: