My configuration files for different apps
- Clone this repository to a folder you like (here and further in examples it's
~/.config)
git clone https://github.com/ivteplo/dotfiles ~/.config- Install
starshipprompt
- Add this line to your
~/.bashrc:
. ~/.config/bash/user_profile.sh- Restart your shell
- Install autocompletion module:
Install-Module -name PSReadLine -AllowPrerelease -Scope CurrentUser -Force -SkipPublisherCheck- Add this line to your PowerShell profile file (you can check the file location by running
echo $PROFILEin PowerShell):
. ~\.config\powershell\user_profile.ps1- Restart your shell
There are a few Git aliases provided for you:
uncommit— undo the last commit.recommit— redo the last commit.edit-commit— edit the last commit message.history— show a commit history (git log --all --graph).
You can find aliases in git/config. They are in the
[alias] section.
-
Install
vim-plug -
Add this line to your
~/.vimrcfile:
source ~/.config/vim/config.vim-
Open
vimand run:PlugInstall -
Wait for the installation to complete
-
Restart the editor
You can create a file called theme.vim in the same folder where the config.vim is. Here, you can call a function to change color scheme. For instance:
call ThemeTokyoNight()The theme.vim file is ignored by Git, so that every change of current color scheme won't change the state of the repo.
-
Do all the steps inside the Vim section
-
Install packer.nvim
-
Install TypeScript Language Server and TypeScript for LSP:
npm install -g typescript typescript-language-server-
Start Neovim
-
Install packages from Packer:
:PackerInstall- After the installation is complete, restart Neovim
First, you need to figure out where your settings.json file is. Usually, there is a path like this:
%LOCALAPPDATA%/Packages/Microsoft.WindowsTerminal_?????????????/LocalState/settings.json
You need to replace that settings.json file with the windows-terminal.json file:
# In PowerShell
cp ~/.config/windows-terminal.json $env:LOCALAPPDATA/Packages/Microsoft.WindowsTerminal_?????????????/LocalState/settings.json