A starter template for LazyVim. Refer to the documentation to get started.
Osamu's customization involves followings:
- customize statusline w/o clock display
- unicode code point display in HEX E.g.,
[+U20]. - filetype display E.g.,
[lua].
- unicode code point display in HEX E.g.,
- Add RED Highlight to tailspace
jkfor<ESC><leader>u<tab>to set tabstop<leader>uufor NOP to avoid accidentalu.<leader>uXfor Lazy Extras (without opening screen).- Make fancy functionalities as opt-in with which-key supported key-bindings
- Disable/enable minipair at start (options.lua)
- Disable/enable completion at start and toggle via
<leader>uB - Disable/enable tailspace at start and toggle via
<leader>ut - Extra key binding has
†after description
- Add precognition support (educational)
- UI for setting timeout for notification
- Quiet opening screen
I use this configuration by:
- cloning this to
~/.config/nvim_osamu/and - setting alias of
viasalias vi='NVIM_APPNAME=nvim_osamu /usr/bin/nvim'.
$ git clone -b osamu-wip [email protected]:osamuaoki/starter.git ~/.config/nvim_osamuThis configuration can be used by nvim and vi command by adding following lines to ~/.bashrc:
export NVIM_APPNAME=nvim_osamu
alias vi='NVIM_APPNAME=nvim_osamu /usr/bin/nvim'This osamu-wip branch is the branch which contains my latest forked content and
is meant to be a backup of my workstation.
Latest LazyVim added many <leader>u key-bindings. So this is update of
configuration described in my previous outdated memos:
This is only meant to be my backup configuration. I will mercilessly apply rebase to the latest upstream main branch and force push this branch. (My old settings may be found in other branches.)
In order to track the latest upstream main branch, add following to .git/config file.
[remote "upstream"]
url = https://github.com/LazyVim/starter
pushurl = DISABLED_FOR_PUSH
fetch = +refs/heads/*:refs/remotes/upstream/*Then, I will mercilessly rebase "osamu-wip" branch with:
$ git remote update
$ git rebase -i upstream/main
...
$ git push -fI kept :set ignorecase and :set smartcase.
- Use regex string with mixed-cases or
\Cto make search as case sensitive one for nvim internal searches - Use regex string with
\cto force search as case insensitive one for nvim internal searches - Use regex string with
(?-i)as case sensitive one for:gr pattern(backend:rg) - Use regex string with
(?i)as case insensitive one for:gr pattern(backend:rg)
Items in Quickfix List can be managed via Telescope with the following keymap:
<Tab>: Mark item<S-Tab>: Un-mark item<C-q>: Send all items not marked to quickfixlist (qflist) (C=Select mark-Cleared)<M-q>: Send all items marked to quickfixlist (qflist) (M=Marked)
Quickfix list history can be managed via Telescope with the following keymap:
<leader>xf: Quickfix list (FzfLua)<leader>xF: Location list (FzfLua)<leader>xh: Quickfix stack (FzfLua)
Text data are modified upon save not only by LSP based Auto Format but also by Editorconfig settings.
Place practically empty ~/.editorconfig to disable Editorconfig for sources without .editorconfig:
root = trueIn VISUAL-LINE mode, use gc. (g-prefix is not only for GOTO.).
Running mc in terminal window is problematic even with --colors=... ... so I gave up.
Refer also to the upstream documentation to get started.