Skip to content

Latest commit

 

History

History
78 lines (62 loc) · 2.87 KB

README.md

File metadata and controls

78 lines (62 loc) · 2.87 KB

Dmitry Demenchuk does dotfiles

The single dot that has it all.

Clone the repository into ~/dotfiles: git clone https://github.com/mrded/dotfiles.git ~/dotfiles

NeoVim

  • Install Neovim brew install neovim
  • Replace configuration: ln -s ~/dotfiles/nvim ~/.config/nvim
  • Install Packer for plugins
  • Install plugins: nvim +PackerSync +TSUpdate

Alacritty

  • Install alacritty brew install --cask alacritty
  • Replace configuration: ln -s ~/dotfiles/alacritty ~/.config/alacritty

Tmux

  • Install Tmux brew install tmux
  • Install Plugin Manager
  • Install Pluggins: Press prefix + I (capital i, as in Install)
  • Replace configuration: ln -s ~/dotfiles/tmux/tmux.conf ~/.tmux.conf

issues:

  • notifications make an icon at the dock jump
  • Prevent from copying to clipboard on mouse select
  • Copy selected text on CMD+C

Wezterm

Features:

  • font rendering: wez/wezterm#2523
  • opt+key bug: wez/wezterm#4739
  • strikethrough text support
  • error text highlighting
  • do not copy on select
  • tab support
  • configuration in a file

install:

  • Replace configuration: ln -s ~/dotfiles/wezterm/wezterm.lua ~/.wezterm.lua

Kitty

  • Install alacritty brew install --cask alacritty
  • Replace configuration: ln -s ~/dotfiles/kitty ~/.config/kitty

Neovide

issues:

How to add a new NVim plugin

  1. Create a new file nvim/lua/plugins/{plugin-name}.lua
  2. The file should return Packer formatted string or a table, with a path to the plugin. eg: return { 'mrded/{plugin-name}' }
  3. Include the file name at nvim/lua/plugins/init.lua, plugins table.
  4. Save and update Packer, to apply changes: nvim +PackerSync +TSUpdate

Terminal requirements

Gotchas

  • When changing plugin's settings, you need to run nvim +PackerSync +TSUpdate, as settings are cached.
  • Plugin dependencies (eg language servers) should install automagically by Mason, if not - troubleshoot that direction.

Troubleshooting

nvim

neovim may not install plugins propperly. Try to running :UpdateRemotePlugins

treesitter

treesitter may give errors. Try running :TSUpdate to update languages.