Skip to content

22or/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 

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

Installation

Run the interactive install script:

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

.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

run — C++ runner for competitive programming

Compiles and runs a .cpp file with -std=c++17 -O2, then removes the temporary binary on exit, interrupt, or error.

run file.cpp [extra g++ flags]

.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

Watchers

Forks

Contributors