This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
font-family = BerkeleyMono Nerd Font | |
font-size = 14 | |
theme = GruvboxDarkHard | |
shell-integration-features = no-cursor,sudo,no-title | |
cursor-style = block | |
adjust-cell-height = 35% | |
title = " " | |
macos-titlebar-proxy-icon=hidden |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
test_file=$(find . -type f -name '*_test.go' | fzf --prompt="Select test file > " --preview 'bat --color=always {}') | |
if [ -z "$test_file" ]; then | |
echo "No test file selected. Exiting..." | |
exit 1 | |
fi | |
tests=$(grep -nE '^func Test[A-Z]' "$test_file") | |
if [ -z "$tests" ]; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
function go_modernize_interactive() { | |
# Check if bat is installed | |
if ! command -v bat &>/dev/null; then | |
echo "bat is not installed. Please install it first (https://github.com/sharkdp/bat)" | |
echo "You can install it with: " | |
echo " - Homebrew: brew install bat" | |
echo " - Ubuntu/Debian: apt install bat" | |
echo " - Fedora: dnf install bat" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
function go_modernize_interactive() { | |
# Check if bat is installed | |
if ! command -v bat &>/dev/null; then | |
echo "bat is not installed. Please install it first (https://github.com/sharkdp/bat)" | |
echo "You can install it with: " | |
echo " - Homebrew: brew install bat" | |
echo " - Ubuntu/Debian: apt install bat" | |
echo " - Fedora: dnf install bat" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
function go_modernize_fzf() { | |
local go_files=$(find . -name "*.go" -not -path "*/vendor/*" | sort) | |
if [[ -z "$go_files" ]]; then | |
echo "No Go files found" | |
return 1 | |
fi | |
local selected_files=$(echo "$go_files" | fzf --multi --height 40% --reverse --preview "cat {}") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
"vim.easymotion": false, | |
"vim.incsearch": true, | |
"vim.useSystemClipboard": true, | |
"vim.useCtrlKeys": true, | |
"vim.hlsearch": true, | |
"vim.enableNeovim": true, | |
"vim.highlightedyank.enable": true, | |
"vim.insertModeKeyBindings": [ | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
font-family = BerkeleyMono Nerd Font | |
#font-family = Iosevka Nerd Font | |
# font-family = SFMono Nerd Font | |
font-size = 20 | |
theme = GruvboxDarkHard | |
shell-integration-features = no-cursor,sudo,no-title | |
cursor-style = block | |
adjust-cell-height = 35% | |
# background-opacity = 0.96 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#-------------------------------------------------------------------------- | |
# Configuration | |
#-------------------------------------------------------------------------- | |
# Use Vi mode | |
setw -g mode-keys vi | |
# Increase scrollback buffer size | |
set -g history-limit 10000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"context": "Editor && VimControl && !VimWaiting && !menu", | |
"bindings": { | |
"ctrl-w z": "workspace::ToggleZoom", | |
"ctrl-w t": "terminal_panel::ToggleFocus", | |
"g ]": "editor::GoToDiagnostic", | |
"g [": "editor::GoToPrevDiagnostic", | |
"g r": "editor::FindAllReferences", | |
"shift-k": "editor::Hover", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# vim:fileencoding=utf-8:foldmethod=marker | |
shell /bin/zsh --login --interactive | |
# font_size 20.0 | |
font_size 14.0 | |
# font_family SFMono Nerd Font | |
# bold_font SFMono Nerd Font Bold | |
# italic_font SFMono Nerd Font Italic | |
# bold_italic_font SFMono Nerd Font Bold Italic |
NewerOlder