Skip to content

raymonddavis/vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terminal / Vim Setup


This term terminal always refers to wsl Ubuntu 20.04. During setup if not using username cup there will edits in files to make.

  1. Install Powerline (powerhell script)

    • git clone https://github.com/powerline/fonts.git --depth=1
    • cd fonts && ./install.ps1
    • cd .. && rm -rf fonts
  2. mkdir ~/git && cd ~/git

  3. git clone https://github.com/raymonddavis/vim

  4. cp -rf ~/git/vim/wsl.conf /etc/wsl.conf

  5. Close terminal. open cmd and run wsl.exe --shutdown. Relaunch terminal.

  6. Merge wsl settings.json (<C-,>) with settings.json in repo. (Settings assume windows is in dark mode)

  7. Install nvm

    • curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
  8. Install zsh

    • sudo apt install zsh
    • chsh -s $(which zsh)
  9. Install Oh My Zsh

    • sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
  10. Install zsh-syntax-highlighting

    • git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
  11. Copy .zshrc

    • cp -rf ~/git/vim/.zshrc ~/.zshrc
    • (Optional) Change username if not cup
      • vim ~/.zshrc
      • :%s/cup/_USERNAME_HERE_/g
      • :wq
    • Remove ssh key from keychain
      • vim ~/.zshrc
      • :g/^\/usr\/bin\/keychain/d
      • :wq
  12. Install Tmux

    • sudo apt install tmux
  13. Copy .tmux.conf

    • cp -rf ~/git/vim/.tmux.conf
  14. Install keychain

    • sudo apt-get update
    • sudo apt-get install keychain
  15. Install Pure

    • mkdir -p "$HOME/.zsh"
    • git clone https://github.com/sindresorhus/pure.git "$HOME/.zsh/pure"
  16. Source

    • sz
  17. Copy nvim

    • mkdir ~/.config && cp -rf ~/git/vim/nvim ~/.config
  18. Install Neovim Nightly

    • sudo add-apt-repository ppa:neovim-ppa/unstable
    • sudo apt-get update
    • sudo apt-get install neovim
    • sudo apt install python3-neovim
    • There is another python install but it will tell you in an error message later.
  19. Install vim-plug

    • sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
  20. Install ripgrep

    • sudo apt-get install ripgrep
  21. PlugInstall

    • e
    • Page Down Until you can hit enter ignore errors
    • :PlugInstall
    • Open (e) and close (:q) nvim until errors are gone
    • Fix psf/black: pip3 install --upgrade git+https://github.com/psf/black.git

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published