Skip to content

0x90sh/nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

My Neovim Configuration

This is my custom Neovim configuration, set up with packer.nvim as the plugin manager. The configuration includes UI enhancements, navigation tools, and essential plugins for a better development experience.

πŸ“¦ Installation

To install this configuration, clone the repository and ensure Neovim is installed.

# Clone your Neovim configuration (replace with your actual repo if needed)
git clone https://github.com/your-username/nvim-config.git ~/.config/nvim

# Open Neovim and install plugins
nvim +PackerSync

πŸ”§ Plugins Used

This setup utilizes Packer for managing plugins:

use 'wbthomason/packer.nvim' -- Plugin manager
use 'nvim-treesitter/nvim-treesitter' -- Syntax highlighting
use 'nvim-telescope/telescope.nvim' -- Fuzzy finder
use 'nvim-lua/plenary.nvim' -- Dependency for Telescope
use 'nvim-tree/nvim-web-devicons' -- Icons
use 'nvim-lualine/lualine.nvim' -- Status line
use 'nvim-tree/nvim-tree.lua' -- File explorer
use 'lukas-reineke/indent-blankline.nvim' -- Indentation guides
use 'glepnir/dashboard-nvim' -- Startup dashboard
use 'morhetz/gruvbox' -- Gruvbox color scheme
use 'folke/tokyonight.nvim' -- Tokyonight color scheme
use 'joshdick/onedark.vim' -- One Dark color scheme
use 'phaazon/hop.nvim' -- Easy navigation
use { 'catppuccin/nvim', as = 'catppuccin' } -- Catppuccin color scheme

🎨 UI Customization

  • Status Line: lualine.nvim with gruvbox theme
  • File Explorer: nvim-tree.lua with icons enabled
  • Indentation Guides: indent-blankline.nvim
  • Themes:
    • Gruvbox (default)
    • Catppuccin
    • TokyoNight
    • One Dark

πŸ” Keybindings

Keybinding Action
<leader>ff Find files (Telescope)
<leader>fg Live grep (Telescope)
<leader>fb List buffers (Telescope)
<leader>th Toggle Treesitter highlighting
<leader>e Toggle NvimTree
<leader>cd Change working directory
<leader>ln Toggle line numbers
<leader>h Hop to word

πŸ›  Features

  • Fast File Navigation: Telescope for fuzzy finding
  • Better Code Navigation: Hop.nvim for quick jumps
  • Modern UI Enhancements: lualine.nvim, nvim-tree.lua, dashboard-nvim
  • Syntax Highlighting & Indentation: Treesitter + indent-blankline.nvim
  • Multiple Color Themes: Easy switching between themes

πŸš€ Usage

Once installed, launch Neovim:

nvim

Use <leader> as Space (default). Try out different keybindings to navigate efficiently.

πŸ“‚ File Explorer Configuration

NvimTree is configured with:

  • Width: 40
  • Icons Enabled: Files, folders, Git status
  • Dotfiles Hidden by default
  • Auto-close when opening a file

Use <leader>e to toggle the file explorer.

πŸ— Custom Functions

A custom function NvimTreeChangeDir() allows you to quickly change the working directory within Neovim.

vim.api.nvim_set_keymap('n', '<leader>cd', ":lua NvimTreeChangeDir()<CR>", { noremap = true, silent = true })

πŸ“œ License

This configuration is open-source. Feel free to modify and enhance it as needed!


Enjoy your Neovim experience! πŸš€

About

My neo vim config uwu

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages