Git Product home page Git Product logo

neovim_ruby's Introduction

NVIM Files

Created by Otávio Schwanck.

This Vim files is made to develop in Ruby and NodeJS.

Requires:

  • Nvim version 3 or more.
  • fzf
  • silversearcher
  • npm
  • nodejs
  • npm
  • exuberant-ctags
  • tern

Steps to install:

1 - Put the files of this repository on your home folder, following the path structure of this repository.

2- install silversearcher:

On Ubuntu: sudo apt install silversearcher-ag exuberant-ctags nodejs npm

On Fedora \ arch, install the the_silver_searcher exuberant-ctags nodejs npm.

3 - Install fzf:

git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf && ~/.fzf/install

4 - Install Neovim version > 3. On ubuntu 18.10+, fedora 29 or openSUSE tumbleweed, install package: neovim

Example: sudo apt install neovim

In other versions, follow this instructions: https://github.com/neovim/neovim/wiki/Installing-Neovim

5 - Run: sudo pip3 install pynvim

6 - Run: sudo npm install -g tern

7 - create a .backup dir in your home folder. mkdir ~/.backups

8 - Open neovim and run :PlugInstall.

Plugins Installed:

  • deoplete.vim
  • neomake
  • vim-gutentags
  • vim-rails
  • vim-javascript
  • deoplete-ternjs
  • ultisnips
  • vim-buftabline
  • dracula
  • vim-snippets
  • vim-fugitive
  • vundle
  • tcomment-vim
  • vim-ruby
  • vim-surround
  • auro-pairs
  • nerdtree
  • vim-gitgutter
  • fzf
  • vim-multiple-cursors

Some commands

Command Action
ctrl + e Open Nerdtree
ctrl + p Find files in project
, + shift + f Find text on project. you can select more than one file using tab, and apply commands on all selected files with :cfdo [command_1]
, + b List buffers
, + p Previous buffer
, + n Next buffer
, + d Close the buffer

Recomended material to study:

Troubleshoot

  • Cannot open fzf, > /tmp error: Upgrade your kernel to 4.20+ (Super rare error, probably will not happen).

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.