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.
- Beautiful and minimal theme by tokyonight
- Starts dashboard with dashboard-nvim
- File explorer tree with nvim-tree
- Top bar file navigation with barbar
- Buttom status bar with lualine
- Fuzzy file finder with Telescope
- Toggle terminal with toggleterm
- Syntax highlighting with nvim-treesitter
- File icons with nvim-web-devicons
- Auto syntax completion with LuaSnip, nvim-cmp and friendly-snippets
- Language servers for formatters and linters with mason, mason-lspconfig and other
- Auto closing tag for HTML with auto-pairs
- Auto rename tag for HTML nvim-ts-autotag
- Easy way to commenting with Comment
- Indent tab blankline with indent-blankline
- Color highlighting with nvim-highlight-colors
MacOS/Linux
brew install neovim
Windows
scoop install neovim
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
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
Collections of neovim plugins at neovimcraft
- Open and edit
plugins-setup.lua
innvim/lua/bourbxn/plugins/plugins-setup.lua
- 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)
- Save and It will install plugin by itself.
- Mostly plugins can configure and you can configure that by go to directory
nvim/lua/bourbxn/plugins/plugins-conf
- Create new file configuration
touch <config-filename>.lua
and add configuration in this file - Open and edit
init.lua
innvim/lua/bourbxn/plugins/plugins-conf/init.lua
then add
require("bourbxn.plugins.plugins-conf.<config-filename>")
- Open and edit
plugins-setup.lua
innvim/lua/bourbxn/plugins/plugins-setup.lua
- Delete
use("<plugin-repository>")
and save - If this plugin have configuration file you must remove configuration file in
nvim/lua/bourbxn/plugins/plugins-conf/
and delete require ininit.lua
innvim/lua/bourbxn/plugins/plugins-conf/init.lua
Configure keymaps at keymaps.lua
in nvim/lua/bourbxn/core/keymaps.lua
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>"
[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>")
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 |
Mappings | Action |
---|---|
<spacebar>jk |
switch to normal 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