LazyVim setup for Odin based on LazyVim Starter. For more infos on how to install dependencies on Windows / Linux or documentation, please refer to LazyVim
In order for everything to work, you need to clone and compile:
- DanielGavin/ols into
~/ols
(or change the path in~/.config/nvim/lua/plugins/odin.lua
)
git clone https://github.com/DanielGavin/ols.git ~/ols
cd ~/ols && ./build.sh
brew install lua luarocks neovim kitty lazygit ripgrep fd ast-grep fish
brew search '/font-.*-nerd-font/' | awk '{ print $1 }' | xargs brew install --cask
git clone https://github.com/DamienPetrilli/LazyVimOdin/ ~/.config/nvim
rm -rf ~/.config/nvim/.git
- Using a light theme in neovim.
- Using a larger symbol view and on the left in Trouble
Ctrl-/
: Show / hide the terminalCtrl-w
: Navigate between windows / split Windowsspace-c
:activate the code helpspace-`
: Switch between buffer. (or previous[b
next]b
)Ctrl-O
: Go back to previous positionCtrl-I
: Go the next positionCtrl+]
: Go to the definition of a symbol
a
: Add a file or directoryd
: Delete a file or directoryr
: Rename a file or directoryc
: Copy a file or directorym
: Move a file or directoryy
: Copy file name to system clipboardY
: Copy relative path to system clipboardgy
: Copy absolute path to system clipboard<Enter>
oro
: Open file or expand directory<C-v>
: Open file in vertical split<C-x>
: Open file in horizontal split<C-t>
: Open file in new tab<C-f>
: Filter tree itemsH
: Toggle hidden filesR
: Refresh the treeW
: Collapse all directoriesS
: Search in directory
Note: <C->
represents the Ctrl key
Features of todo-comments.nvim:
Highlighting: It highlights TODO comments with different colors based on the keyword. Signs: It adds icons in the sign column (the margin you mentioned). Search: It provides commands to search for TODO comments. Navigation: It offers keybindings to jump between TODO comments.
Supported tags: By default, it supports these keywords:
- TODO
- HACK
- WARN
- PERF
- NOTE
- TEST
- FIX (which includes FIXME, BUG, FIXIT, ISSUE)
You can customize these keywords, their colors, and icons in the configuration. To use the plugin's features:
:TodoQuickFix:
Opens a quickfix list with all TODO comments:TodoLocList:
Opens a location list with all TODO comments:TodoTelescope:
Opens Telescope with all TODO comments (if you have Telescope installed)
You can also use keybindings to jump between TODO comments:
]t
: Jump to next todo comment[t
: Jump to previous todo comment