Skip to content

phun/phubar-dev-suite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHUBAR Development Suite

This repository contains my settings and configurations for my development suite which consists of:

  • Terminal setup:
    • zsh: shell
    • iTerm2: terminal
    • neovim: feature-rich text editor
    • vim: lightweight text editor
  • VS Code: feature-rich IDE
  • Karabiner-Elements: OSX keybinding customizer

zsh

Screenshot 2023-06-18 at 12 53 35 AM

Features

  • Beautiful UI via romkatv/powerlevel10
  • Suggests commands via zsh-autosuggestions
  • Syntax highlighting via zsh-syntax-highlighting
  • Minimal performance costs compared to oh-my-zsh
  • Package management via antigen

Setup

  1. Replace your ~/.zshrc with phubar-dev-suite/.zshrc
  2. Run: cp -R phubar-dev-suite/.zsh ~/
  3. In your existing zsh shell, run source ~/.zshrc. Or, close it and open a new shell to automatically initialize one with the new config.

iTerm2

Setup

  1. Open Preferences (OSX: Cmd+,)

  2. Select the Appearance tab and under General, change the theme to Compact

  3. Select the Profile tab and import phubar-dev-suite//iterm2/PHUBAR.json

neovim

Screenshot 2023-06-19 at 12 16 32 AM

Keybindings and remaps

  • d: Remapped to delete without yanking. Use Ctrl+x for original cut action
  • j+k: maps to Esc
  • Ctrl+x: cuts (deletes and yanks) selection
  • Ctrl+hjkl: move left,down,up, or right between splits
  • Ctrl+jk (visual mode): move selected lines up and down
  • Ctrl+a(normal mode): select all
  • Spacebar+y(visual mode): yank to system clipboard
  • Spacebar+p(visual mode): paste from system clipboard

vim

Screenshot 2023-06-18 at 3 40 24 AM

My .vimrc contains no dependencies and is fully compatible with vim and neovim. It is lightweight so that you can safely copy the configuration to any machine without installing additional plugins. For a feature-rich experience, install my neovim setup (coming soon!).

Setup

  1. Replace your ~/.vimrc with phubar-dev-suite/.vimrc

VS Code

Screenshot 2023-06-19 at 12 06 53 AM

Setup

User Settings

  1. Open the Command Palette (OSX: Cmd+Shift+p) and run Preferences: Open User Settings (JSON)
  2. Replace contents with that in phubar-dev-suite/vscode/settings.json

Keyboard Shortcuts

  1. Open the Command Palette (OSX: Cmd+Shift+p) and run Preferences: Open Keyboard Shortcuts (JSON)
  2. Replace contents with that in phubar-dev-suite/vscode/keybindings.json

Extensions

Karabiner-Elements

Features

  • Maps (Fn + h j k l) to
  • Maps (Fn + x) to Esc

Setup

  1. Copy the complex modifications with: cp -R phubar-dev-suite/.config/karabiner ~/.config
  2. Open Karabiner-Elements and under Complex Modifications, add the rule by enabling it

About

Settings and configurations for my development suite consisting of: zsh, iTerm2, vim, neovim, vscode, and osx mappings

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published