Giter Site home page Giter Site logo

vim-config's Introduction

vim-config

This was heavily based on pivotalcommon/vim-config. Previously it existed as a fork, but it's not only diverged incredibly far, but also has different goals, so I broke it into its own repository.

This uses vim-plug to manage plugins, and will attempt to install them by default on the first launch. It does this by checking for the existence of the plugins directory in your vim config directory.

This repository only support neovim on Linux, OSX and *BSD.

To Install (neovim)

mkdir -p ~/.config
git clone https://github.com/spikegrobstein/vim-config.git ~/.config/nvim

Then, run:

nvim +PlugInstall +PlugUpdate +qa

Then start up nvim

Updating (neovim)

Updating is relatively straightforward:

cd ~/.config/nvim
git pull --rebase
nvim +PlugInstall +PlugUpdate +CocUpdate +qa

Coc

This repo uses coc.vim. make sure you have nodeJS set up (preferably >=14.x).

You might want to :CocInstall some or all of the following, depending on what you do.

  • coc-clangd -- for C/C++
  • coc-css -- if you do CSS things
  • coc-deno -- deno.land
  • coc-eslint -- javascript linting
  • coc-git -- for git commit completion (ie: conventional changelog)
  • coc-docker -- dockerfile
  • coc-elixir
  • coc-html
  • coc-json
  • coc-lua
  • coc-markdownlint
  • coc-rust-analyzer -- Rust!
  • coc-sh -- integrates well with shellcheck
  • coc-tsserver -- for typescript docs + type checking
  • coc-yaml

Periodically run :CocUpdate to get the latest versions of these plugins.

FZF support

By default, this vim config will use ctrl-p for fuzzy file opening (via <leader>f), however if it detects that you've got fzf installed, it'll use that instead. fzf is a much faster fuzzy finder that's written in go and even has tmux integration.

You can install fzf with the following command:

brew install --head fzf
# then run the following to install the bash additions:
/usr/local/opt/fzf/install

vim-config's People

Contributors

davejacobs avatar idoru avatar jblackcat avatar peeja avatar pivotalcommon avatar ragaskar avatar rupurt avatar samanthamjohn avatar spikegrobstein avatar squeedee avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.