This repository was borrowed and modified from Jess Archer. Here is a link to the original repository.
I am grateful to Jess Archer for teaching the neovim editor in a course on Laracasts
Dotfiles is a custom editor on neovim for php and js built on plugins and ready-made tools for programming and application development.
The main purpose of the editor is to provide convenience and increase the speed of development.
This editor is based on neovim, a clone of the vim text editor.
You can install it and change all settings as you wish. This repository offers basic development functionality.
Before you start to install editor, you need install next dependencies.
- Install Oh My Zsh
- Install zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions
- Install zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
- Install zsh-syntax-highlighting
- Install Neovim
- Install Kitty
- Install Tmux
- Install fnm
- Install unzip. Example for ubuntu:
sudo apt install unzip
- Install fzf
- Install gpg
- Install JetbrainsMonno Nerd Font Mono for kitty
Very important!!!
Installing the editor will overwrite the configuration files (listed below). Don't forget to backup these files if their customization is important to you!
List of files that will be overwritten:
- ~/.zshrc
- ~/.vim
- ~/.vimrc
- ~/.config/nvim
- ~/.config/kitty
- ~/.tmux.conf
- ~/.gitconfig
- ~/.gitignore_global
- ~/.config/phpactor
- Clone repository
- Run script
./install
- Create file .gitconfig_local:
vim ~/.gitconfig_local
and add:[user] name = "your-github-username" email = your-email@example.com signingkey = your-value-generated-in-next-step #get value in next step
- Generating a new GPG key and adding a GPG key to your GitHub account
- Open neovim:
nvim
- Run command:
:Lazy install
- Run command for treesitter:
:TSUpdate all
In zsh/zshrc
file you can find aliases to use short commands
In the kitty app, there are only settings on theme and appearance. Detailed settings in the kitty folder. You can change the settings to your values
List of commands:
cntr + space + c
- open new windowscntr + space + 0
- switch to zero windowcntr + space + p
- switch to previous windowcntr + space + n
- switch to next windowcntr + space + %
- split windowcntr + space + :
- open tmux commandcntr + space + s
- open a list of sessionscntr + space + d
- detach session (quit from tmux)cntr + space + x
- close the split window | delete windowcntr + d
- delete windowcntr + space + F
- find project in computercntr + space + D
- open~/Projects/Settings/dotfiles
folder (you can change that folder in tmux/tmux.conf file)
If I only need to change one file, whether it is a customization or a text document, I prefer to use vim for such a
simple purpose. So for this editor, I use the minimal configuration in the vim
folder.