Skip to content

vimers/vimrc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

  1. Install vim-plug to manage plugins

    • vim
    curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
    • nvim
    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'
  2. Checkout repo to specific directory

    git clone https://github.com/vimers/vimrc $HOME/.config/nvim

    add soft link when using vim(NOT NEED USING NVIM)

    ln -s ~/.config/nvim/init.vim ~/.vimrc
    ln -s ~/.config/nvim/coc-settings.json ~/.vim/
  3. Install all plugins. Open vim and execute:PlugInstall

  4. Install language server.

    • clangd(c/c++)

    following by the official install instructions or using the following command

    :CocCommand clangd.install
    • jdt(java)

    Download jdt binary from official website. And extract files to ~/.config/coc/extensions/coc-java-data/server

    • pyright(python)

    No additional operations. Language server is contained in coc-pyright that will be installed automatically.

  5. Change font to nerd fonts

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •