Skip to content

Instantly share code, notes, and snippets.

View richtan's full-sized avatar
🍚
Waiting...

richtan

🍚
Waiting...
View GitHub Profile
import time
import logging
from _remote import ffi, lib
import os
from manager import PluginBase, report_exception
import util
'''
By richtan
@richtan
richtan / zshrc
Last active October 18, 2020 02:13
My zsh config
#!/usr/bin/env zsh
if [ ! -d "${HOME}/.zgen" ]; then
git clone https://github.com/tarjoilija/zgen.git "${HOME}/.zgen"
fi
source "${HOME}/.zgen/zgen.zsh"
if ! zgen saved; then
echo "Creating a zgen save..."
@richtan
richtan / vimrc
Last active June 12, 2022 03:20
My vim config
let s:vimdir = $HOME . (has('unix') ? '/.vim/' : '/vimfiles/') " Custom config location
let g:vimrc_path = expand('<sfile>') " Vimrc path
let g:mapleader = ','
let s:colors_name = 'palenight'
" Share Nvim and Vim config
let &runtimepath = s:vimdir . ',' . s:vimdir . 'after' . ',' . &runtimepath
let &packpath=&runtimepath
" Create and reset custom augroup