Skip to content

BourbxnNvim is my neovim configuration that install the best plugins for neovim to make neovim like an other IDE.

Notifications You must be signed in to change notification settings

Bourbxn/bourbxn-nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BourbxnNvim

NOTICE : This is a first version of my neovim configuration. You can install my neovim configuration and install other plugin or edit my configuration as much as you want. My neovim is the refference to newer neovim user. Vim is better na kub.

Showcase

Screenshot 2566-02-28 at 15 00 45

Screenshot 2566-02-28 at 14 55 56

Screenshot 2566-02-28 at 14 55 36

Screenshot 2566-02-28 at 15 01 58


Plugins List


Install

1. Install Neovim

MacOS/Linux

brew install neovim

Windows

scoop install neovim

2. Install BourbxnVim

MacOS/Linux

git clone https://github.com/Bourbxn/bourbxn-nvim.git ~/.config/nvim

Windows

git clone https://github.com/Bourbxn/bourbxn-nvim.git $HOME\AppData\Local\nvim

Uninstall

MacOS/Linux

rm -rf ~/.config/nvim
rm -rf ~/.local/share/nvim
rm -rf ~/.cache/nvim

Windows

rd -r ~\AppData\Local\nvim
rd -r ~\AppData\Local\nvim-data

Configure

Add Plugins

Collections of neovim plugins at neovimcraft

  1. Open and edit plugins-setup.lua in nvim/lua/bourbxn/plugins/plugins-setup.lua
  2. Add use("<plugin-repository>")
return require("packer").startup(function(use)
	...
	use("<plugin-repository>")
	...
	use(
	-- Automatically set up your configuration after cloning packer.nvim
	-- Put this at the end after all plugins
	if packer_bootstrap then
		require("packer").sync()
	end
end)
  1. Save and It will install plugin by itself.
  2. Mostly plugins can configure and you can configure that by go to directory nvim/lua/bourbxn/plugins/plugins-conf
  3. Create new file configuration touch <config-filename>.lua and add configuration in this file
  4. Open and edit init.lua in nvim/lua/bourbxn/plugins/plugins-conf/init.lua then add
require("bourbxn.plugins.plugins-conf.<config-filename>")

Remove Plugins

  1. Open and edit plugins-setup.lua in nvim/lua/bourbxn/plugins/plugins-setup.lua
  2. Delete use("<plugin-repository>") and save
  3. If this plugin have configuration file you must remove configuration file in nvim/lua/bourbxn/plugins/plugins-conf/ and delete require in init.lua in nvim/lua/bourbxn/plugins/plugins-conf/init.lua

Configure Keymaps

Configure keymaps at keymaps.lua in nvim/lua/bourbxn/core/keymaps.lua

Configure Mapleader

Mapleader is a first key to start using keymaps. Keymaps should use mapleader because keymaps shortkey will not cover default vim shortkey. Normally neovim user used spacebar as mapleader.

vim.g.mapleader = "<mapleader>"

Configure Keymaps

[mode] has 3 modes normal moden, insert modei and visual modev
[keys] can add many keys on keyboard ex. "<leader>ee"
[command] can add neovim command ex. "<cmd>NvimTreeToggle<cr>"

vim.g.mapleader = " "

local keymap = vim.keymap
local opts = { buffer = 0 }
...
keymap.set("[mode]", "<leader>[keys]", "<cmd>[command]<cr>")

Keymaps

Normal Mode

Mappings Action
<spacebar>sv split window horizontally
<spacebar>sh split window horizontally
<spacebar>se make split windows equal width and height
<spacebar>sx close current split window
<spacebar>nh clear search highlights
<spacebar>ee toggle explorer tree
<spacebar>ef focus explorer tree
<spacebar>ff toggle fuzzy finder
<spacebar>hh move to left tab in top navigation
<spacebar>ll move to right tab in top navigation
<spacebar>gg move to last tab in top navigation
<spacebar>g<n> move to tab n(1-9) in top navigation
<spacebar>cc close current tab in top navigation
<spacebar>tt toggle terminal

Insert Mode

Mappings Action
<spacebar>jk switch to normal mode

Visual Mode

Mappings Action
J move all line that selected down
K move all line that selected up

Configure your own at keymaps.lua in nvim/lua/bourbxn/core/keymaps.lua
How to configure? Click here

Contributors

 

About

BourbxnNvim is my neovim configuration that install the best plugins for neovim to make neovim like an other IDE.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages