Giter Site home page Giter Site logo

nvim's Introduction

Neovim config

My neovim config for studying, using lazyvim. For full functionality, you may want to check out my configurations for tmux and foot.

Contents

Installation

I'm using paru as my AUR helper, make sure to change that to your package manager if required.

# Backup current config
mv ~/.config/nvim ~/.config/nvim.bak
mv ~/.local/share/nvim ~/.local/share/nvim.bak

# Install required packages
paru -S ripgrep fd

git clone https://github.com/TheGogy/nvim ~/.config/nvim

# Remove unneccessary stuff
rm -rf ~/.config/nvim/showcase
rm -rf ~/.config/nvim/.git

nvim

Keymaps

Most keymaps have already been set by lazyvim. For a list of these presets, see here.

Keymap Command
alt + . Switch to right buffer (same for neo-tree)
alt + , Switch to left buffer (same for neo-tree)
alt + < Switch current buffer with left buffer
alt + > Switch current buffer with right buffer
alt + <n> Switch to buffer <n>
alt + p Toggle pin for active buffer
alt + w Close active buffer
alt + W Close all buffers except active buffer
<leader>/ Toggle comment
<leader>fw Telescope live_grep
<leader>ff Telescope find_files
<leader>ci Find Nerd Fonts icon
<ctrl>j Extend cursor down
<ctrl>k Extend cursor up
<ctrl>a Add cursors to all words matching current

Note

This setup is using a workaround for alt + < >, to ensure compatibility for foot terminal. If this is causing problem for your terminal, see keymaps.lua.

Showcase

Showcase dashboard Showcase busy Showcase normal Showcase find files Showcase terminal

The script to print colours in the terminal can be found here.

nvim's People

Contributors

thegogy avatar

Stargazers

 avatar

Watchers

 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.