Git Product home page Git Product logo

nvimfiles's Introduction

Nvimfiles

Support for JavaScript, TypeScript, Ember, React, Golang, Ruby, Elixir, Git, Sparkup, Sass, JSX, Markdown, and more with nice color schemes.

Neovim only! (>= v0.5)

Quick Install

sh -c "$(curl -fsSL https://raw.github.com/josemarluedke/nvimfiles/main/install.sh)"

Please also check install dependencies section.

Usage

Basic Mappings

The leader key is mapped to ,.

Action Hotkey
▶ File operations
File browser leader m
FuzzyFinder (Telescope) t
Switch between the last two files leader leader
Navigate to current open file in NerdTree leader n
▶ Search & Find/replace
Search in files (Telescope) leader g
Remove search highlighting leader Space
Find and replace leader s
▶ Others
Indent >
Reverse Indent <
Switching between windows ctrl+h ctrl+j ctrl+k ctrl+l
Toggle comments leader /
Auto complete or expand snippet <tab>
Split a one-liner into multiple lines (splitjoin.vim) gS
Join a block into a single-line statement (splitjoin.vim) gJ

Plugins

// TODO add list

Use:

:%Subvert/facilit{y,ies}/building{,s}/g

Instead:

:%s/facilities/buildings/g :%s/Facilities/Buildings/g :%s/FACILITIES/BUILDINGS/g

Coercion

Want to turn fooBar into foo_bar? Press crs (coerce to snake_case).

  • MixedCase (crm)
  • camelCase (crc)
  • snake_case (crs)
  • and UPPER_CASE (cru)

Installation

Install Neovim (if not already installed)

brew install neovim

Install these nvimfiles

Note: You will already have a ~/.config/nvim folder, either delete or move it.

mv ~/.config/nvim ~/.config/nvim.old
git clone https://github.com/josemarluedke/nvimfiles ~/.config/nvim
cd ~/.config/nvim
make install

or run:

sh -c "$(curl -fsSL https://raw.github.com/josemarluedke/nvimfiles/main/install.sh)"

To update to the latest nvimfiles

cd ~/.config/nvim
make update

Install python for neovim

pip install neovim or pip3 install neovim

Install Dependencies

MacOS
brew install ripgrep

Install Nerd Font

https://github.com/epk/SF-Mono-Nerd-Font

Thanks for inspiration

nvimfiles's People

Contributors

barboza avatar josemarluedke avatar ssjr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

nvimfiles's Issues

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.