clone the repository
git clone git@github.com/sagarPakhrin/.dotfiles
ln -sf ~/dotfiles/bash/.bashrc ~/.bashrc
ln -sf ~/dotfiles/zsh/.zshrc ~/.zshrc
...
Automatic Setup Using Stow (recommended)
install stow
sudo apt install stow
#cd into the dotfiles directory
cd ~/.dotfiles
# setup the symlinks
stow -vSt ~ bash
stow -vSt ~ zsh
stow -vSt ~ nvim
# ...
I've only added minimum configurations to get started with neovim. with lsp support.
Additional capabilities include:
- Automatic imports
- Format on save ( prettier )
- Organize imports
sudo apt install neovim
cd ~/.dotfiles
stow -vSt ~ zsh
Launch neovim
neovim
Install neovim plugins with packer
:PackerInstall
Currrently lsp-config and mason has not be confirured install lsp servers automatically:
To install lsp servers manually, execute:Mason
and install desired servers.
If you want to install additional lsp servers, add additional servers to the servers table in `~/.dotfiles/neovim/.config/nvim/lua/config/lsp/init.lua`
local servers = { "jsonls", "sumneko_lua", "tsserver", "tailwindcss", ... }
Telescope seems to slow when configurations are added to ignore folders like node_modules
, instead install these plugins on your system and telescope will pick these up and ignore everyting in .gitignore
sudo apt install fd-find
sudo apt install ripgrep
For the web-dev icons to work. You need to install nerd-fonts
git clone --filter=blob:none --sparse git@github.com:ryanoasis/nerd-fonts
cd nerd-fonts
git sparse-checkout add patched-fonts/NerdFontsSymbolsOnly
./install.sh
restart the terminal
for completion: ctrl + shift + j
=> <C-J>
for Next suggestion: Alt + ]
=> <M-]>
for Previous suggestion: Alt + [
=> <M-[>