Skip to content

Instantly share code, notes, and snippets.

View tyler-tm's full-sized avatar
🦀

Tyler Maklebust tyler-tm

🦀
View GitHub Profile
[
{
"context": "Editor && vim_mode == normal",
"bindings": {
// General Editor Actions
"space n": "workspace::NewFile",
"space o": "file_finder::Toggle",
"space a": "command_palette::Toggle",
// Code Navigation, Symbols, and Refactor
@tyler-tm
tyler-tm / .bashrc
Last active September 9, 2022 15:24
Simplified version of my .zshrc for use on dev boxes
# Custom binds
alias vzs='vim ~/.bashrc'
alias szs='source ~/.bashrc'
alias vimrc='vim ~/.vimrc'
alias l='ls -l'
alias ..='cd ..'
alias md='mkdir -p'
# --- Install Vim (enhanced)
sudo dnf update
sudo dnf install vim-enhanced
# --- Install Dev Tools ---
sudo dnf groupinstall "Development Tools" "Development Libraries"
@tyler-tm
tyler-tm / .vimrc
Last active November 9, 2023 21:59
" Vim Plug -----------------------------------------------------------------
if empty(glob('~/.vim/autoload/plug.vim'))
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
call plug#begin('~/.vim/plugged')
Plug 'preservim/nerdtree'
Plug 'tpope/vim-surround'
Plug 'morhetz/gruvbox'
" Polyglot Ignore ----------------------------------------------------------
let g:polyglot_disabled = ['ts', 'js', 'tsx', 'jsx']
" Vim Plug -----------------------------------------------------------------
if empty(glob('~/.vim/autoload/plug.vim'))
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
call plug#begin('~/.vim/plugged')
@tyler-tm
tyler-tm / .zshrc
Last active November 9, 2023 22:03
# --- Custom binds ---
# Config shortcuts
alias vzs='vim ~/.zshrc'
alias szs='source ~/.zshrc'
alias vimrc='vim ~/.vimrc'
# Replacements
alias cat='bat'
alias catp='bat --style=plain'
[
{
"key": "ctrl+cmd+,",
"command": "workbench.action.openSettingsJson"
},
{
"key": "ctrl+;",
"command": "workbench.action.terminal.toggleTerminal"
},
{
{
"editor.minimap.enabled": false,
"editor.formatOnSave": true,
"editor.fontSize": 12,
"files.exclude": {
"**/node_modules": true,
"**/dist": true,
"**/build": true,
"**/.history": true
},