Skip to content

oribarilan/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

120 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

tmux

Installation
  1. Install tmux
  2. Install tmux package manager (tpm) from https://github.com/tmux-plugins/tpm
  3. Install sesh (using brew) and set up its own config using symlink (ln -s /path/to/dotfiles/sesh ~/.config/sesh)
Session Management
  • <C-a> (Ctrl-a) in zsh - open sesh session manager and jump into selected session
  • <leader>a (Ctrl-a + a) in tmux - open sesh session manager to switch sessions
Core Features
  • <C-h/j/k/l> pane navigation in tmux & nvim
  • leader for tmux
  • F for tmux fzf (session management)
  • - split horizontally
  • \ split vertically
  • x kill pane
  • z zoom pane (default)
  • h/j/k/l resize current pane (repeatable)
  • Escpae - enter copy mode, q to exit, v to start selection, y to copy (vi mode enabled)
TODOs
  • easier keymap for creating and deleting splits
  • session management and navigation
  • omerxx/tmux-sessionx

nvim

Installation
  • create a symlink between default nvim config (e.g., ~/.config/nvim) and this repo's nvim config:
ln -s ~/path/to/dotfiles/nvim ~/.config/nvim

Note: we are using symlink (instead of bootstrapping like other tools here) for nvim specifically because of tools like lazy.nvim that will create a lazy-lock.json file in the nvim config directory.

Core Features
General
  • leader for nvim

  • autoread

  • Copilot:

    • italic with distinct subtle color
    • using option key for managing suggestions:
    • opt-y : accept suggestion
    • opt-l : accept word
    • opt-n : dismiss suggestion
    • opt-j : next suggestion
    • opt-k : previous suggestion
    • Commands:
      • :CopilotDisable - disable Copilot and Sidekick NES
      • :CopilotEnable - enable Copilot and Sidekick NES
Language Support (LSPs, formatters, linters)

Using the "old" nvim-lspconfig lsp setup

  • python - pyright, ruff

  • dotnet - roslyn

  • lua - lua_ls, stylua

  • json - jsonls, jsonlint

  • yaml - yamlls, yamllint

  • markdown - markdownlint

Navigation & Search
  • e/E - toggle file explorer / open current file in explorer (mini.files). edit as buffer, use = to save changes
  • s - telescope find
  • <C-j/k> - for up/down in pickers (telescope/cmp)
  • s - search using flash
  • S - treesitter highlight search using flash
Completions
  • <M-j/k> - switch between copilot suggestions
  • - accept copilot next word
  • <M-y/n> - accept/dismiss copilot suggestion
  • K - show LSP hover (click again for focus)
  • k - show diagnostics hover (click again for focus)
Search
TODOs

ghostty

Installation

in your ghostty config file (usually ~/.config/ghostty/config), have only the following line:

config-file = "/absolute/path/to/this/file"
Core Features
  • setup for macost (option as alt)
  • theme catppuccin
  • font fira code
  • cmd + 0 - reset zoom
  • cmd + =/- - zoom in/out

zsh

Installation
  • in your ~/.zshrc file, have only the following line:
source `~/path/to/dotfiles/zsh/oribi.zsh`
  • run `zsh setup.zsh
Core Features
  • Fuzzy search on completions (press Tab to search)

  • Ctrl-r - Search history

  • Ctrl-t - Search files

  • z - fuzzy jump to directory using zoxide

  • zi - Search and jump to directory

  • fc - fix command (edit, wq, auto run)

  • direnv - load .envrc files automatically in directories

  • sesh - tmux session management (outside tmux)

yazi

Installation
  • in your ~/.zshrc file, add the following line:
export PATH="~/path/to/dotfiles/yazi/"
Default Configurations
  • showing dotfiles by default
  • g shortcuts
Non-functionals
  • Super fast loading (lazy loading what's possible)
  • Lightweight prompt theme (with git support)
  • Auto-suggestions
  • Syntax hightlighting

Raycast

Installation
  • Install Raycast from https://raycast.com/
  • Add the script directory to ~/path/to/dotfiles/raycast/scripts in Raycast preferences

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published