Gradually learn with a keymaps menu (Default Vim behavior/keyMaps exclude from this menu)
- Easier to learn with the menu that show all keymaps
- I love saving my config on the cloud to get it fast if I change OS or works on another PC.
- Eslint and prettier are setup correctly to works with typescript and react (auto format on save works)
- Few tweaks that make everything easier or remove bugs
- Few usefull plugin added and already mapped to control for you
- LunarVim is easy and fast to setup, you'll spare a really good time to simply git clone that config (Easier to remove or edit than add new stuff)
- Add some missing to treesitter
Most of the plugins are listed hehere: https://www.lunarvim.org/docs/plugins/extra-plugins
- git-blame
- nvim-specter
- trouble
- lsp_signature <- so nice
- goto-preview <- sooo nice
- Harpoon <- To be Blazingly fast
- Mini sourround
- package-info
- cutlass <- Better Telescope view/preview!
P.S. Almost everything is accesible if you do <leader>
and you wait 2 seconds. (popup will show you shortcuts)
On Mac I recommand to use Kitty terminal. It's faster and display things correctly.
- Install and use Kitty Terminal https://sw.kovidgoyal.net/kitty/binary/ (On Linux you could skip that, but if you have visual problems, get it)
- Install neoVim 8.0+ https://github.com/neovim/neovim/wiki/Installing-Neovim
- Install LunarVim on top of it https://www.lunarvim.org/docs/installation (Nightly <- !Important! to use the latest master branch)
- Then execute that blazingly fast command to replace the config:
rm -R ~/.config/lvim && git clone [email protected]:t1gu1/lvim-config.git ~/.config/lvim
- Install ripgrep it will ignore files in you .ignore and things like that
- Install The nerds-fonts include in this repo (Be sure to use it in your terminal font config to get icons & etc)
- When you launch lvim the first time install the packer plugins. (Be on the master branch of lvim before) (I should provide the command line for that)
- Install your Mason things with
:Mason
- Close lvim and open it again. Now do a
:checkhealth
to check if you have some issues/missing dependency from your OS. - If you fix an issue close lvim before another
:checkhealth
- Install wget with brew
- :TSUpdate vim
- :TSUpdate lua
- :TSUpdate markdown (etc, it will show you the list)
- On mac use Kitty terminal (Linux is perfect on a base terminal)
- First, you should learn your basic Vim keybind https://devhints.io/vim
- P.S.
d
anddd
are modified to just remove without replacing the yanky
buffer. (cutlass
plugin) <leader>d
will act as the defautd
like a "cut".
- P.S.
- Then take a look of LunarVim keybind https://www.lunarvim.org/docs/keybind-overview
<leader>o
will open the current directory file in your OS GUI<leader>h
will open the harpoon options menu<leader>
Alone, after few seconds, will display a modal with a lot of commands in it<cr>|
will display terminal2<cr>|
will display terminal number 2/wordToSearch
will highlight words in you file:%s/wordToReplace/wordThatWillReplace
live search and replace in the current file<leader>r
will open the global search and replacen
andN
will move you to the next or previous word
<cr>h
<cr>l
<cr>j
<cr>k
will make you move to between windows (Example, if a code file is open and the file explorer is open)<leader>bb
will make you move to you previous tab<leader>bn
will make you move to the next tab<cr>s
will save/write you file
a
Create a new file or folder (By adding/
to the path, it will be a folder)x
to files and folder you want to move then pressp
to the place you want move/paste themr
Rename a file or folder
<leader>
= spacing bar<cr>
= ctrl|
is at the same place where the backslash is \ (Just to say it's really a caracter)
- The things that determine "A Project" is if a ".git folder exist".
- There is an auto save (Not sure if the time delay really works)
d
anddd
are modified to just remove without replacing the yanky
value. (cutlass
plugin)- Harpoon plugin is a sweet plugin
<leader>h
will show you more. - You can modify everything if you want.
- Add a one line command to install all require packages (like ripgrep) on mac and Linux
- Add command line to switch to the master brach of LunarVim or a specefic commit id
- (
⚠️ The complexity for the result isn't worth for now) Something to preview or inline png/svg images - (✅ Done) harpoon plugin