Skip to content

Instantly share code, notes, and snippets.

View benlubas's full-sized avatar

Ben Lubas benlubas

View GitHub Profile

Keybase proof

I hereby claim:

  • I am benlubas on github.
  • I am benlubas (https://keybase.io/benlubas) on keybase.
  • I have a public key ASBOUgzhXePrK4UcmzBbKgMMkK8EkO8au6tPE9cfzMenxgo

To claim this, I am signing this object:

@benlubas
benlubas / telescope_action_harpoon_mark.lua
Last active April 27, 2024 12:21
Harpoon mark files from telescope picker
M = {}
local telescope_utils = require("telescope.actions.utils")
local utils = require("telescope.actions.utils")
local actions = require("telescope.actions")
M.mark_file = function(tb)
actions.drop_all(tb)
actions.add_selection(tb)
telescope_utils.map_selections(tb, function(selection)
@benlubas
benlubas / test.qmd
Last active November 17, 2023 04:22
---
Title: Testing Molten Features
Author: Ben Lubas
---
# Molten Nvim
In this file:
- molten-nvim feature showcase
- WIP features from other branches
@benlubas
benlubas / venv_wrapper
Last active August 28, 2024 19:38 — forked from dbtek/venv_wrapper
Python 3 venv wrapper. Manages all virtual environments under ~/.virtualenvs/ .
# include following in .bashrc / .bash_profile / .zshrc
# usage
# $ mkvenv myvirtualenv # creates venv under ~/.virtualenvs/
# $ venv myvirtualenv # activates venv
# $ deactivate # deactivates venv
# $ rmvenv myvirtualenv # removes venv
export VENV_HOME="$HOME/.virtualenvs"
[[ -d $VENV_HOME ]] || mkdir $VENV_HOME