GithubHelp home page GithubHelp logo

waso99 / vimrc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from danilofreire/dotfiles

0.0 0.0 0.0 406 KB

My (neo)vim configuration files

Home Page: https://danilofreire.github.io/vimrc

Shell 43.00% Vim Script 57.00%

vimrc's Introduction

Neovim Directory

My configuration files and plugins for Neovim. They work fine with regular vim too.

Set up instructions:

Install the latest version of neovim with homebrew:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
brew install neovim

I recommend you to install iterm2 and tmux too:

brew cask install iterm2
brew install tmux

Download vim-plug:

curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

Download this repository and copy the contents to your home folder

git clone https://github.com/danilofreire/vimrc
cd vimrc/
mv .vimrc /Users/username/

Create a ~/.config/nvim/init.vim file with the following content:

set runtimepath^=/.vim runtimepath+=~/.vim/after
let &packpath = &runtimepath
source ~/.vimrc

... or just copy the init.vim file above.

Open .vimrc and type :PlugInstall. From the command line:

nvim .vimrc +PlugInstall +qall

To use the arrow keys in normal mode, delete the following lines in the .vimrc file:

" Deactivate arrow keys
noremap <Up> <Nop>
noremap <Down> <Nop>
noremap <Left> <Nop>
noremap <Right> <Nop>

If you want to make your lightline toolbar and vim-devicons look nice, please download Nerd fonts. I use Fira Code.

brew tap homebrew/cask-fonts
brew install --cask font-fira-code

And this is how the editor looks like with the default configurations:

I hope you enjoy using Neovim! :)

vimrc's People

Contributors

danilofreire 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.