Skip to content

Instantly share code, notes, and snippets.

View jiahut's full-sized avatar
🎯
Focusing

zhijia,.zhang jiahut

🎯
Focusing
View GitHub Profile

editor-mode

motion-mode

conceptkeyvim implemacs impl
snipes
matchit%matchup
jump<SPC>ojeasymotionavy
gotogf
@jiahut
jiahut / vim_cheatsheet.md
Created January 13, 2022 08:08 — forked from awidegreen/vim_cheatsheet.md
Vim shortcuts

Introduction

  • C-a == Ctrl-a
  • M-a == Alt-a

General

:q        close
:w        write/saves
:wa[!]    write/save all windows [force]
:wq       write/save and close
@jiahut
jiahut / shadowsocks-rust-server.sh
Created July 23, 2023 11:45 — forked from gpchelkin/shadowsocks-rust-server.sh
How to Setup shadowsocks-rust Server with v2ray-plugin or xray-plugin on Any Linux Host
#!/usr/bin/env bash
# https://github.com/shadowsocks/shadowsocks-rust/releases
export SSVERSION=v1.15.4
export SSPORT=143
export SSPASSWORD="CHANGEME"
export SSARCHIVE="shadowsocks-${SSVERSION}.x86_64-unknown-linux-gnu.tar.xz"
#export SSARCHIVE="shadowsocks-${SSVERSION}.aarch64-unknown-linux-gnu.tar.xz"
export PREFIX=/usr/local/bin
@jiahut
jiahut / SimpleHTTPServerWithUpload.py
Created November 24, 2023 03:33 — forked from touilleMan/SimpleHTTPServerWithUpload.py
Simple Python Http Server with Upload - Python3 version
#!/usr/bin/env python3
"""Simple HTTP Server With Upload.
This module builds on BaseHTTPServer by implementing the standard GET
and HEAD requests in a fairly straightforward manner.
see: https://gist.github.com/UniIsland/3346170
"""
@jiahut
jiahut / config.toml
Created March 11, 2024 03:48
配置 helix 作为 vim 的最小实现
[editor]
auto-info = false
[keys.normal]
# Quick iteration on config changes
# C-o = ":config-open"
# C-r = ":config-reload"
";" = "repeat_last_motion"