mirror of
https://github.com/chenasraf/dotfiles.git
synced 2026-05-17 17:28:07 +00:00
12 KiB
12 KiB
.dotfiles
These are my personal dotfiles.
Some notable tools I use are:
- Nvim (
.config/nvim) - Tmux (
.config/.tmux.conf,utils/tx) - WezTerm (
.config/wezterm/wezterm.lua) - Zplug (
zplug.init.sh)
Nvim Plugins
I have many many plugins and configurations going on.
Started from kickstart.nvim and heavily modified.
Plugins are installed and configured in .config/nvim and its subdirectory lua/plugins.
Some (but not all) of the plugins/modifications are listed here:
| File | Related plugins | Description |
|---|---|---|
autoformat.lua |
neovim/nvim-lspconfig | Code auto formatting |
barbar.lua |
omgrk/barbar.nvim | Tabs |
colorscheme.lua |
Color scheme switcher | |
copilot.lua |
zbirenbaum/copilot.lua | Copilot (CMP) |
dadbod.lua |
tpope/vim-dadbod | Dadbod - Database manager for nvim |
debug.lua |
mfussenegger/nvim-dap | Debugger-related code, most of these are not maintained/tested |
floating-input.lua |
liangxianzhe/floating-input.nvim | Floating input |
fugitive.lua |
tpope/vim-fugitive | Git manager - I use LazyGit now, but this remain mostly for git blame functionality |
lazygit.lua |
kdheepak/lazygit.nvim | LazyGit inside nvim |
llm.lua |
Exafunction/codeium.nvim, jackMort/ChatGPT.nvim | LLM - ChatGPT/Codeium |
lsp.lua |
williamboman/mason-lspconfig.nvim, akinsho/flutter-tools.nvim | LSP related configs |
matchup.lua |
andymass/vim-matchup | Enables moving between function start/end as you would between brackets using % |
media_files.lua |
nvim-telescope/telescope-media-files.nvim | Telescope plugin to show media file previews |
noice.lua |
folke/noice.nvim | Notifications & UI improvements |
nvim-test.lua |
klen/nvim-test | Run tests for any project type inside nvim |
oil.lua |
stevearc/oil.nvim | Better than netrw. Fight me. (Lets you move between and edit directories as you would a normal file) |
prettier.lua |
MunifTanjim/prettier.nvim | Implements prettier code formatter into lua |
project_runner.lua |
Run prepared terminal commands per filetype - e.g. package.json scripts from ts/js files (Not a plugin) | |
quicklist.lua |
Delete/add to vim quicklist | |
quotes.lua |
Allows you to toggle between \``, "and'` quotes around the cursor |
|
remap.lua |
General vim remaps not related to specific plugins | |
schemastore.lua |
b0o/schemastore.nvim | Auto-loads JSON $schema depending on filetype and name |
sort.lua |
sQVe/sort.nvim | Sort selected lines |
statusline.lua |
nvim-lualine/lualine.nvim | Status line UI updates |
surround.lua |
kylechui/nvim-surround | Surround any text with anything like brackets, quotes, HTML tags or custom strings |
telescope.lua |
nvim-telescope/telescope.nvim | Fuzzy finder, preview and picker for files/commands/custom |
text-transform.lua |
chenasraf/text-transform.nvim | Transform between PascalCase, snake_case, camelCase, CONST_CASE and more |
theme.lua |
navarasu/onedark.nvim | Theme configuration (OneDark) |
todo_comments.lua |
folke/todo-comments.nvim | Highlight & find TODO/HACK/FIXME/etc in comments across the project |
treesitter.lua |
nvim-treesitter/nvim-treesitter | Syntax highlighting on steroids |
trouble.lua |
folke/trouble.nvim | View list of diagnostics, quick fixes, TODOs, etc |
undotree.lua |
mbbill/undotree | Undo each file as you would a git branch! |
visual-multi.lua |
mg979/vim-visual-multi | Multiple cursor support for nvim |
How to install
-
Install zsh
-
Clone this repository into
~/.dotfiles:git clone git@github.com:chenasraf/dotfiles.git ~/.dotfiles -
Replace entire contents of
~/.zshrcto the new version using (ln -sdoes not work):echo 'source "$HOME/.dotfiles/.zshrc"' > ~/.zshrc -
Run install scripts:
source ~/.dotfiles/install.shAnd reload the terminal