Skip to content

Instantly share code, notes, and snippets.

View snuffop's full-sized avatar
🐮
Working from home

Marty Buchaus snuffop

🐮
Working from home
  • Joyent (Samsung)
  • Naples Florida The States of America
  • 14:02 (UTC -04:00)
View GitHub Profile
@snuffop
snuffop / commands.py
Last active March 3, 2024 04:16
Use with fasd(command) plugin for ranger to give a list of fasd directories fuzzy search with fzf and change directory on enter.
class fasd_dir(Command):
def execute(self):
import subprocess
import os.path
fzf = self.fm.execute_command("fasd -dl | grep -iv cache | fzf 2>/dev/tty", universal_newlines=True, stdout=subprocess.PIPE)
stdout, stderr = fzf.communicate()
if fzf.returncode == 0:
fzf_file = os.path.abspath(stdout.rstrip('\n'))
print(fzf_file)
if os.path.isdir(fzf_file):
@snuffop
snuffop / cvimrc
Last active August 11, 2021 14:16
cVim Config
" Settings
let mapleader = ","
let scrolltep = 30
let fullpagescrollpercent = 100
"set nohud
set autohidecursor
"set noinsertmappings
set nosmoothscroll
"let locale = "jp"
@snuffop
snuffop / keybase.md
Created June 26, 2018 13:49
keybase Proof

Keybase proof

I hereby claim:

  • I am snuffop on github.
  • I am mbuchaus (https://keybase.io/mbuchaus) on keybase.
  • I have a public key whose fingerprint is A1E2 FFA2 B75B 9466 D0C2 E635 A06C 9F66 090F 6CEA

To claim this, I am signing this object: