Coder Social home page Coder Social logo

kickoff-vim's Introduction

Vim kickoff

In this repo you'll find my custom vim configuration and how to start to use it. I would use Visual Studio Code but since I've been introduced to vim I use it for everything and I love it.

If you find it difficult to start with the config you can use mine.

Setup vim

Firstly you will need to install vim and gvim (it allows you to use + register to copy and paste to clipboard), so:

sudo apt-get install vim gvim

Configure vim

Next, you have to clone this repo into ~/.config/vim and create a .vimrc file in your home with this content:

set nocompatible              " be iMproved, required
filetype off                  " required

source $HOME/.config/vim/plugins/init.vim
source $HOME/.config/vim/theme.vim
source $HOME/.config/vim/basics.vim
source $HOME/.config/vim/tabssize.vim
source $HOME/.config/vim/tabs.vim
source $HOME/.config/vim/copypaste.vim
source $HOME/.config/vim/plugins/conf/nerdtree.vim
source $HOME/.config/vim/plugins/conf/vim-multiple-cursors.vim
source $HOME/.config/vim/plugins/conf/ale.vim
source $HOME/.config/vim/plugins/conf/undo.vim
source $HOME/.config/vim/plugins/conf/coc.vim
source $HOME/.config/vim/plugins/conf/fzf.vim
source $HOME/.config/vim/plugins/conf/vim-rooter.vim

Setup color theme

I am using monokai as my main color theme but feel free if you want to use another. To install monokai just run:

git clone https://github.com/sickill/vim-monokai
cd ./vim-monokai
mv colors/monokai.vim ~/vim/colors/monokai.vim

Install plugins

Install the plugin manager. I know it is deprecated but I am using Vundle currently:

git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim

Now, launch vim and execute:

:PluginInstall

And just it, you're ready to go :D

Extra

For code completion I am using coc.nvim with these extensions: coc-css, coc-tsserver, coc-html, coc-json, coc-eslint. More info:

https://github.com/neoclide/coc.nvim/wiki/Using-coc-extensions

https://github.com/neoclide/coc.nvim

kickoff-vim's People

Watchers

James Cloos avatar Pablo Fernández Franco 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.