GithubHelp home page GithubHelp logo

nvim-template's Introduction

A "template" to get started with nvim

This is by no mean a complete nvim setup, but a baseline that should work to get you started with.

In the following README we will quickly go through what each file/directory contains and how you should modify the to your liking.

Screenshot

Introduction

NeoVim, or nvim, is a hight customisable editor based on the popular vim editor. Nvim has multiple ways of configuring, with one of the being packer. In the template we are using packer. Other big ways are with lazy.nvim and vim-plug.

Requirements

Recommendation

To be effective with NeoVim, I'd recommend using it with other tools like tmux, but this is not a requirement. Play around with different tools, and do not install too many at once.

Tree (setup structure)

~/.config/nvim  
├── init.lua                    -- enty point for nvim  
└── lua                         -- autoloaded  
    └── faagerholm              -- you configuration folder  
        ├── core                -- core nvim setup  
        │   ├── colorscheme.lua -- custom colors  
        │   ├── keymaps.lua     -- custom keymaps  
        │   ├── options.lua     -- vim options/settings  
        │   └── theme.lua       -- theme  
        ├── plugins             -- contains files for given plugin options  
        │   ├── gitsigns.lua  
        │   ├── lsp             -- Language Server Protocol,  
        │   │   ├── lspconfig.lua  
        │   │   ├── lspsaga.lua  
        │   │   ├── mason.lua  
        │   │   └── null-ls.lua  
        │   ├── lualine.lua     -- status line for nvim  
        │   ├── nvim-cmp.lua    -- autocomplete  
        │   ├── nvim-tree.lua   -- tree finder  
        │   ├── rest-nvim.lua   -- rest client for inline rest requests  
        │   ├── telescope.lua   -- telescope for fuzzy finding  
        │   └── treesitter.lua  -- code highlight and parser  
        └── plugins-setup.lua   -- plugins entrypoint  

Installation

download neovim from here: https://neovim.io/ copy this folder (excluding README) to ~/.config/nvim

start by exploring lua/faagerholm/plugins-setup.lua and lua/core files.

Start hacking, and rember, exit with :wq

Navigation and commands

As you probably know vim is based in {motions} //key combinations
To get use to nvim, use nvim regulary, but not extensivly. You'll get familiar with the most basic commands quite fast, and learn the rest over time.

Have a look at faagerholm/core/keymaps for a reference on what commands you have to your usage. Use google as a help, when you are starting out.

Give it time, it can be overwhelming at first!

nvim-template's People

Stargazers

Kare Lehtonen avatar

Watchers

Jimmy Fagerholm 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.