Skip to content

Dotfiles for Vim, Windows Terminal/PowerShell, zsh, etc..

Notifications You must be signed in to change notification settings

yzlnew/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What I use

  • Homebrew Bundle
  • Vim/NeoVim
  • prezto
  • tmux
  • Windows Terminal/PowerShell

Vim

This vimrc is tested on macOS and Windows.

Prerequisites

  • Nodejs (for coc.nvim)
  • Python3 (specify pythonthreedll, pythonthreehome, etc in ./vim/vimrc)

Recommend using Scoop to install all kinds of this stuff on Windows.

Clone this repo to your home directory.

macOS/Linux

Source the vimrc in your ~/.vimrc, and you're almost all set.

On macOS use MacVim from brew but not from cask. Because the cask version is built with +python and +python3, which causing problems for some plugins.

vim +PlugInstall

Enjoy!

Windows

  1. Source the vimrc in ~/_vimrc.

  2. Paste script below in PowerShell to install vim-plug.

    md ~\.vim\autoload
    $uri = 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
    (New-Object Net.WebClient).DownloadFile(
      $uri,
      $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath(
        "~\.vim\autoload\plug.vim"
      )
    )
  3. Edit the _vimrc to point to your Python installation.

  4. pip3 install --user pynvim if using Neovim.

Reminder

  • A Nerd-Font is needed to make plugin like vim-devicons and vim-airline look right.
  • Life is short, use coc.nvim. And make sure python is visible to vim on Windows.
  • Use Scoop to install vim and anything else on Windows.

Windows Terminal

Put settings.json to %LOCALAPPDATA%\Packages\Microsoft. WindowsTerminal_8wekyb3d8bbwe\LocalState\

About

Dotfiles for Vim, Windows Terminal/PowerShell, zsh, etc..

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published