Skip to content
22orPublic

About

Personal terminal setup

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

86 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

For an effective terminal setup, I recommend a terminal tiler. I use the tiling window manager that comes with Pop!_OS.

Dependencies

  • fd
  • fzf
  • vim-plug
  • bashmarks
  • bat — auto-installed with fzf or vifm
  • vifm
  • chafa — auto-installed with vifm (also poppler-utils, mediainfo)
  • tmux — install it yourself; install.sh then sets up TPM and the plugins

Installation

curl -fsSL https://raw.githubusercontent.com/22or/dotfiles/refs/heads/master/install.sh | bash

Or: ~/dotfiles/install.sh — set DOTFILES_ROOT for a non-default checkout. Re-run after pulling to refresh symlinks.

Install order: CLI tools → runtime deps (bat, vifm previews) → env.sh → symlinks (.vimrc, .tmux.conf, .bashrc source, vifm config) → TPM + tmux plugins. Existing non-symlink files at targets are skipped (a hard link to the repo copy is upgraded to a symlink); run uninstall.sh then install.sh for a clean reinstall.

.bashrc

Shell prompt

Two-line prompt. Falls back to plain user@host:path$ in terminals without color support.

image

ff — Project-wide content search

Interactive search over file contents in the current directory tree, powered by grep + fzf. Ignores .git, node_modules, dist, build, etc. and binary file types.

bashmarks — directory bookmarks

Taken from the bashmarks README:

s <bookmark_name> - Saves the current directory as "bookmark_name"
g <bookmark_name> - Goes (cd) to the directory associated with "bookmark_name"
p <bookmark_name> - Prints the directory associated with "bookmark_name"
d <bookmark_name> - Deletes the bookmark
l                 - Lists all available bookmarks

vifm — terminal file manager

  • Vi-style keys and dual-pane layout
  • chafa — bitmap previews for images
  • Config under vifm/ is symlinked by install.sh (palenight theme, chafa + text previews)

.tmux.conf

Prefix is C-a. Vi-style pane navigation (h/j/k/l) and resizing (H/J/K/L), | / - splits that keep the current path, prefix + f for an fzf pane picker popup, palenight-ish status bar on top.

Plugins managed with TPM (tmux-sensible, tmux-resurrect, tmux-continuum). install.sh clones TPM and installs them; prefix + I inside tmux does it manually.

.vimrc

Plugins managed with vim-plug

  • Provides error checking, syntax highlighting, hover tooltips, etc.
  • I use Bear to generate a compilation database

vista.vim — symbol navigation

  • Depends on vim-lsp
  • LSP and file path suggestions
  • <Leader>f opens a symbol selector window
  • Depends on vim-lsp
  • <Tab> and <S-Tab> to cycle through options

fzf.vim — file navigation

  • <C-p> opens a file selector window

Other plugins

GTK File Chooser Support

On write, automatically logs the file in GTK's RecentManager so files edited in Vim appear in recent files across GTK apps (like the GNOME file chooser).

Checks for GTK presence and headlessness so it's safe to use over SSH.

About

Personal terminal setup

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages