Skip to content

Instantly share code, notes, and snippets.

View gegehprast's full-sized avatar
🏠
Working from home

Gegeh Prast gegehprast

🏠
Working from home
View GitHub Profile
@gegehprast
gegehprast / SetupVirtManagerQEMUKVM.sh
Last active May 7, 2025 15:21
Virt-Manager QEMU/KVM on CachyOS (Arch-based distros)
# Install requirements
paru -S qemu-full qemu-emulators-full libvirt virt-manager virt-viewer dnsmasq vde2 bridge-utils openbsd-netcat
# Enable libvirtd
sudo systemctl enable libvirtd
sudo systemctl start libvirtd
# Add user to libvirt group
sudo usermod -aG libvirt $(whoami)
newgrp libvirt
@gegehprast
gegehprast / keybindings.json
Last active April 21, 2025 22:02
VS Code Key Bind
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "ctrl+shift+f5",
"command": "workbench.action.debug.stop",
"when": "inDebugMode && !focusedSessionIsAttach"
},
{
"key": "shift+f5",
"command": "-workbench.action.debug.stop",
@gegehprast
gegehprast / settings.json
Created April 21, 2025 21:47
VS Code Settings
{
"workbench.settings.applyToAllProfiles": [
"workbench.colorTheme",
"workbench.iconTheme",
"workbench.activityBar.location",
"workbench.editor.showTabs",
"workbench.startupEditor",
"workbench.tips.enabled",
"workbench.tree.enableStickyScroll",
"workbench.tree.indent",
@gegehprast
gegehprast / init.lua
Created April 16, 2025 13:46
Neovim VS Code init.lua
if vim.g.vscode then
-- Set the leader key to space
vim.g.mapleader = " "
vim.g.maplocalleader = " "
-- VSCode extension
-- https://github.com/vscode-neovim/vscode-neovim/issues/298
vim.opt.clipboard:append("unnamedplus")
-- motion keys (left, down, up, right)