Skip to content

Instantly share code, notes, and snippets.

View zbyju's full-sized avatar
🙃

Zbyněk Juřica zbyju

🙃
View GitHub Profile
@zbyju
zbyju / .zshrc
Created February 2, 2024 13:51
ZSH
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
@zbyju
zbyju / .wezterm.lua
Last active March 3, 2024 23:59
Wezterm
-- Pull in the wezterm API
local wezterm = require 'wezterm'
-- This table will hold the configuration.
local config = {}
-- In newer versions of wezterm, use the config_builder which will
-- help provide clearer error messages
if wezterm.config_builder then
config = wezterm.config_builder()
@zbyju
zbyju / init.lua
Last active March 3, 2024 23:59
nvim config
-- TODO: Make pretty
vim.opt.termguicolors = true
vim.opt.background = "dark"
vim.g.mapleader = " "
vim.g.maplocalleader = " "
vim.opt.pumheight = 10
vim.opt.tabstop = 2 -- Set the width of a tab character
vim.opt.shiftwidth = 2 -- Set the width of the indentation
@zbyju
zbyju / config.lua
Last active July 27, 2023 14:12
lvim-config
-- Read the docs: https://www.lunarvim.org/docs/configuration
-- Video Tutorials: https://www.youtube.com/watch?v=sFA9kX-Ud_c&list=PLhoH5vyxr6QqGu0i7tt_XoVK9v-KvZ3m6
-- Forum: https://www.reddit.com/r/lunarvim/
-- Discord: https://discord.com/invite/Xb9B4Ny
-- Setting
lvim.format_on_save = true
vim.opt.relativenumber = true
vim.opt.wrap = true
-- lvim.keys.normal_mode["ga"] = { "<cmd>lua vim.lsp.buf.code_action()<CR>", "Code actions" }
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Ryzen 7 5800X 8-Core Processor
CPU Family: 0x19
CPU Model: 0x21
@zbyju
zbyju / xournal++.md
Created July 8, 2022 23:28
My Xournal++ configuration

Xournal++

I use Xournal++ for PDF annotation. Download link.

Settings

Go to Edit/Preferences.

Input systems

@zbyju
zbyju / iterm-config-mac.md
Last active June 7, 2023 17:46
MAC iTerm 2 configuration with Dracula + Oh My Zsh + plugins (autosuggestion)

This is my iTerm MAC configuration:

How it looks

Install iTerm

brew install --cask iterm2