2-day current streak·21-day longest streak
Dotfiles for Peter Bakkum https://github.com/bakks/bakks Configured for Dvorak keyboard layout. Current setup: Terminal: ghostty Shell: zsh Window manager: tmux Editor: neovim To do Moving cursor left/right when in the command…
Dotfiles for Peter Bakkum
https://github.com/bakks/bakks
Configured for Dvorak keyboard layout.
Current setup:
- Terminal: ghostty
- Shell: zsh
- Window manager: tmux
- Editor: neovim
# Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Brew packages
# node@16 is necessary because Github Copilot vim plugin currently requires 12.x-17.x
brew install node@16 npm tmux nvim fzf go yarn git gh htop reattach-to-user-namespace entr coreutils wget grc ripgrep glow tree-sitter-cli
brew install homebrew/cask-fonts/font-hack-nerd-font
brew install bakks/bakks/poptop bakks/bakks/butterfish
go install github.com/boyter/[email protected]
# npm packages
npm install -g typescript typescript-language-server pyright prettier neovim
gh auth login
# Populate the homedir with this repo's contents
cd ~
gh repo clone bakks/bakks
rsync -a bakks/ ./
rm -rf bakks/
To do
- Moving cursor left/right when in the command mode (e.g. activate by renaming
cR) - Move to next or previous LSP error
- Add karabiner config info here
Keyboard Cheat Sheet
kitty
C-,
: Open kitty config
C-⌘-,
: Reload kitty config
⌥-⌘-,
: Show current kitty config
zsh
C-t
: Previous history item
C-n
: Next history item
C-h
: Cursor left
C-s
: Cursor right
tmux
Normal Mode
C-b
: Next pane
C-x
: Previous pane
C-g
: New pane split horizontally
C-d g
: New pane split vertically
C-f
: Next pane layout
C-l
: Kill current pane
C-d h
: Resize pane left
C-d t
: Resize pane down
C-d n
: Resize pane up
C-d s
: Resize pane right
C-d d
: Swap pane forward
C-d D
: Swap pane backward
C-d r
: Reload tmux configuration
C-u
: Enter copy mode
Copy mode
Allows you to manipulate the text of a tmux pane.
H
: Cursor left
T
: Cursor down
N
: Cursor up
S
: Cursor right
t
: Scroll down
n
: Scroll up
C-t
: Page down
C-n
: Page up
V / C-v
: Select text
y / Y
: Copy selected text
neovim
Normal mode
h
: Cursor left
t
: Cursor down
n
: Cursor up
s
: Cursor left
C-h
: Cursor left x12
C-t
: Cursor down x8
C-n
: Cursor up x8
C-s
: Cursor right x12
j
: Jump to top of file
q
: Jump to bottom of file
u
: Un-do
U
: Re-do
.
: Repeat last action
dd
: Delete current line
i
: Enter insert mode
I
: Enter insert mode at beginning of line
k
: Write file
r
: Insert a single character at current location
C-r
: Reload file
;
: Reload vim config
o
: Add newline and enter insert mode
e
: Delete newline at end of current line
m
: Delete selected text and enter insert mode
C-a
: Jump to beginning of line
C-e
: Jump to end of line
T
: Next search result
N
: Previous search result
-
: Delete trailing whitespace throughout file
=
: Grep in local directory
C-p
: Open fzf file finder
P
: Open file tree (nvim-tree.lua)
zR
: Unfold all
[0-9]B
: Go to numbered tab
B
: Next tab
M
: Previous tab
Q
: Quit file
LSP / Autocompletion
cd
: Go to definiton
cD
: Go to type definition
ck
: Show definition in hover window
ci
: Go to implementation
cr
: Show references
cR
: Rename current symbol
tab
: Select next autocompletion result
nvim-tree
o
: Open selected file
O
: Open file in new tab
Tab
: Preview file
t / C-t
: Next file
C-n
: Go to parent
s
: Open file with system default program
R
: Refresh file tree
a
: New file
r
: Rename
y
: Copy name
Y
: Copy path
gy
: Copy absolute path
-
butterfish ★ PINNED
A shell with AI superpowers
Go ★ 539 1mo agoExplain → -
butterfish.nvim ★ PINNED
Neovim plugin for fluent coding with LLMs
Lua ★ 59 4mo agoExplain → -
virginian ★ PINNED
A GPU Database
C ★ 152 8y agoExplain → -
mongo-in-action-code ★ PINNED
No description.
JavaScript ★ 43 10y agoExplain → -
poptop ★ PINNED
No description.
Go ★ 47 3y agoExplain → -
sphyraena ★ PINNED
Accelerating Database Operations on a GPU with CUDA
C ★ 18 10y agoExplain → -
mongo-proxy
A gem for proxying MongoDB at the wire-protocol level.
Ruby ★ 21 12y agoExplain → -
bakks
Dotfiles
Vim Script ★ 4 3mo agoExplain → -
cast
execute remote commands on groups of servers
Ruby ★ 4 10y agoExplain → -
tako
Parse arbitrary code files with tree-sitter
Go ★ 3 3y agoExplain → -
fakehn
Markov chain generator for Hacker News headlines
Go ★ 3 14y agoExplain → -
bakks.github.io
No description.
HTML ★ 2 2y agoExplain → -
readup
Automatically update Markdown files with command examples
Go ★ 1 3y agoExplain → -
xid ⑂
xid is a globally unique id generator thought for the web
Go ★ 1 6y agoExplain → -
oxy
No description.
Ruby ★ 1 12y agoExplain → -
homebrew-bakks
No description.
Ruby ★ 0 1mo agoExplain → -
drillsp
Read code files from the command line with LSP
Go ★ 0 3y agoExplain → -
tiktoken-go ⑂
go version of tiktoken
Go ★ 0 3y agoExplain → -
go-gpt3 ⑂
An OpenAI GPT-3 API client enabling Go/Golang programs to interact with the gpt3 APIs.
Go ★ 0 3y agoExplain → -
termdash ⑂
Terminal based dashboard.
Go ★ 0 3y agoExplain → -
coq_nvim ⑂
Fast as FUCK nvim completion. SQLite, concurrent scheduler, hundreds of hours of optimization.
★ 0 4y agoExplain → -
adventofcode
No description.
Go ★ 0 4y agoExplain → -
edisplay
No description.
C ★ 0 3y agoExplain → -
livegrep ⑂
Interactively grep source code. Source for http://livegrep.com/
Starlark ★ 0 6y agoExplain → -
google-cloud-go ⑂
Google Cloud Client Libraries for Go
Go ★ 0 7y agoExplain → -
antlr4 ⑂
ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files.
Java ★ 0 7y agoExplain → -
hhvm ⑂
A virtual machine designed for executing programs written in Hack and PHP.
C++ ★ 0 9y agoExplain → -
cast-go
Execute remote commands on groups of machines
Go ★ 0 11y agoExplain → -
locality-uuid.rb ⑂
No description.
Ruby ★ 0 11y agoExplain → -
locality-uuid.java ⑂
No description.
Java ★ 0 12y agoExplain → -
postgres-jdbc-test
Connect to a local postgres jdbc and try some test queries
Java ★ 0 12y agoExplain →
No repos match these filters.