Skip to content
/ nvim Public

My neovim configuration both for personal and professional use.

Notifications You must be signed in to change notification settings

qwrtln/nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🛸 nvim

This is the neovim configuration I use both personally 🏠 and professionally 💼

🚧 Dependencies

Make sure you have installed the following:

Optionally, you can install LSPs:

And autoformatters (system-wide):

🔦 Highlights

🦥 Plugin Manager

I use lazy.nvim as plugin manager. If you cloned this repository and want to use this configuration yourself, run :checkhealth lazy first. Then, run :Lazy to install plugins.

😎 Interesting Key Bindings

  • <Space> (or <Enter>) is the leader key - optimized for both regular keyboards and ergonomic layouts with thumb clusters
  • <Space>; opens command mode (:) - more comfortable than Shift+;
  • <Space>g opens a popup window with recursive grep search in the current directory. Blazing fast ⚡ thanks to ripgrep
  • <Space>f does the same but with file names using Telescope 🔥
  • <Space>t opens a terminal in vertical split on the right already in insert mode. Ready to type commands 👨‍💻
  • <Space>n opens neogit 🌳
  • <Space>o opens file manager in a floating window 🛢️
  • <C-s> shows git diff of the current line thanks to gitsigns
  • <C-\> (un)comments either current line, or visually selected block of code 🔎
  • m activates leap motion for quick navigation within visible text

📖 Status Line

Using lualine, I built a status line which also includes tabs, and shows some other goodies:

image image image image image

The colors are hardcoded to work independently of the colorscheme, and stay consistent with tmux look.

📋 List of Plugins

Plus some others used indirectly as dependencies.

💡 Non-standard features

  • Dual leader key: Space for regular keyboards, Enter for ergonomic keyboards with thumb clusters
  • Smooth animations: Smear cursor and neoscroll for better visual feedback
  • Leader-based command mode: <Space>; instead of Shift+; for more comfortable command entry
  • Leap on m key: Quick motion navigation without overriding the commonly-used s (substitute)

About

My neovim configuration both for personal and professional use.

Topics

Resources

Stars

Watchers

Forks