Skip to content

toandaominh1997/dotfiles

Folders and files

NameName
Last commit message
Last commit date
Feb 15, 2025
Apr 18, 2024
Feb 15, 2025
Jul 20, 2023
Jul 20, 2023
Nov 17, 2023
Feb 4, 2023
Oct 11, 2023
Oct 1, 2022
Apr 18, 2024
Apr 22, 2022
Feb 15, 2025
Feb 16, 2025

Repository files navigation

dotfiles

A set of vim/nvim, zsh/oh-my-zsh, and tmux configuration files.

Basic Installation

Dotfiles is installed by running one of the following commands in your terminal. You can install this via the command-line with git.

Install dotfiles

git clone https://github.com/toandaominh1997/dotfiles.git $HOME/.dotfiles/tool
bash $HOME/.dotfiles/tool/setup.sh

Upgrade dotfiles

bash $HOME/.dotfiles/tool/setup.sh -U

How to use

Vim/nvim

vim cheatsheet: https://vim.rtorr.com/

Map

:nmap
:vmap
:imap

Packer

// update package
:PackerUpdate 
:PackerInstall

Lsp

:LspLog
// change python path
let g:python3_host_prog = 'path/python'

Nvim Tree

// NvimTreeFocus
<leader>tt

// NVimTreeFindFile
<leader>nf

Tree Sitter

TSInstall {lang}
TSUpdate

Telescope

// find files:
<leader>ff

// live grep
<learder>fg

// buffers
<leader>fb

// Helper 
<leader>fh

Comment

visual-text > gc

Tmux

tmux cheatsheet: https://tmuxcheatsheet.com/

  • create window
control + a + c

Updating oh-my-zsh

omz update

Visualization