Use config.colorschemes
to define default colorscheme name.
"base16" and "tokyonight" themes are pre-installed.
You can add another theme module in lua/plugins/base/colors.lua
.
LoadVimrcBackground
command will source ~/.vimrc_background
file that is created by "base16" shell.
<leader>vc
- to call LoadVimrcBackground
.
my.config.neotree.position
- left (default), or right
\\
- Quick File Popup\[
- Toggle File Tree\[
- Toggle File Tree / Reveal File
inside File TRee:
?
- show helpa
- add file / dirr
- rename file / dirm
- move file / dird
- delete file / dirq
- close File Tree
-
<tab><tab>
- Last Tab -
<tab>n
- New Tab -
<SPACE>m
- show messages -
<SPACE>M
- clear messages -
<SPACE>x
- quite window -
<SPACE>qq
- quite all -
<SPACE>qQ
- quite all! -
<SPACE>Q
- quite all! -
<SPACE>n
- Next -
<SPACE>p
- Prev -
<SPACE>a
- Show Apps Menu -
<SPACE>b
- Show Buffer Menu -
<SPACE>f
- Show File Menu -
<SPACE>w
- Show Window Menu -
<SPACE>s
- Show Status Menu -
<SPACE>t
- Show Tab Menu -
<SPACE>v
- Show Vim Menu -
<SPACE>Y
- Show Yank Menu -
,<SPACE>
- Save -
,e
- Show Eval Menu -
\
- Show Toggle Menu -
\l
- Show Log Menu -
\lt
- Log TRACE -
\ld
- Log DEBUG -
\li
- Log INFO -
\lw
- Log WARN -
\le
- Log ERROR -
\lo
- Log OFF
,d
- Show Diff Menu
<SPACE>Sg
- GitHub Copilot Status
M-[
- Copilot PrevM-]
- Copilot NextM-\
- Copilot Suggest
my.config.tagbar.position
-left
/right
(default)
\t
- toggle Symbols Outline
NOTE: Aerial is used through a Telescope popup
go
- show Fuzzy Outline
<SPACE>SX
or:XtermColorTable
to show the table
nvim-colorizer.lua plugin parses color values in the text and displays the colors either as a virtual text, background, or foreground color of the value.
\Cc
- toggle colorizer\Cm
- toggle colorizer mode\Cr
- reload colorizer
vim-interestingwords plugin colors words by request.
SPACE-k
- toggle color for the word under cursorSPACE-K
- remove all word colorsn
- when cursor is over a colored word, goes to the next occurence, otherwise next search resultN
- when cursor is over a colored word, goes to the prev occurence, otherwise prev search result
gc
- Comments menu\;
- Toggle Comments
<localleader>af
- Format<localleader>ae
- AutoFormat enable<localleader>aE
- AutoFormat enable all<localleader>ad
- AutoFormat disable<localleader>at
- AutoFormat toggle\a
- AutoFormat toggle
:Format
:FormatEnable [filetype]
:FormatDisable [filetype]
:FormatToggle [filetype]
We are using mini.surround for surround. Default mappings are changed slightly to be more like those of tpope's vim-surround
ys
- addds
- removecs
- change
mm
- Toggle Bookmarkmc
- Clear Bookmarks in Buffermx
- Clear Bookmark in All Buffersmn
- Next Bookmarkmp
- Prev Bookmarkma
- Show All Bookmarksmi
- Add Bookmark Annotationmkk
- Move Bookmark Upmjj
- Move Bookmark Down
\u
To Toggle undotreeg=
- to go to later version
gs
- switch.vim to switch things. e.g.true
<=>false
, or{ :a => a }
<=>{ a: a }
gA
- start mini.align in Preview mode
<!- TODO: expand help here -->
:Gsearch
- to search and open results in a buffer for edit:Greplace
- apply edits from the buffer into original files matched
\z
- toggle panel zoom
\F
- Focus (twilight.nvim). Dimm everything except area around the cursor line\<tab>
- Zen Mode. Focus, but also zoom and center the window
-
ctrl-n
- to select words -
n
- select next -
q
- skip -
ctrl-down
- add vertical cursor -
tab
- toggle cursor and extend mode
vim-illuminate is used to automatically highlight other uses of the word under the cursor using either LSP, Tree-sitter, or regex matching.
<m-i>
- textobject for the reference illuminated under the cursor<m-n>
- go to next occurance<m-p>
- go to prev occurance
yanky.nvim is used for 'yank ring' functionality
after pasting:
-
[y
- previous paste -
]y
- next paste -
<SPACE-Y-CR
- yank history picker
SPACE-gs
- show git status<SPACE-gp
- git push<SPACE-gd
- git diff<SPACE-gg
- git grep<SPACE-gw
- git grep word under cursor\gs
- toggle gitsigns\gs
- toggle virtual git blame for current line
g?
- help
changes:
-
- toggle stage / unstage of file or hunk- 'X' - discard file changes or hunk
=
- toggle inline diff
commit:
- 'cc' - commit
- 'ca' - amend commit
- 'cf' rt- commit
--fixup
for file under cursor - 'cF' - commit
--fixup
for file under cursor and immediately rebase it
rebase:
ri
- interactive rebase from ancestore of commit under the cursorrr
- continue rebasers
- skip the current commit and continue rebasera
- abort rebaserw
- interactive rebase with the commit under the cursor set toreword
.rm
- interactive rebase with the commit under the cursor set toedit
.rd
- interactive rebase with the commit under the cursor set todrop
.
SPACE-Sl
- LSP InfoSPACE-ali
- LSP InfoSPACE-all
- LSP LogSPACE-als
- LSP StartSPACE-alS
- LSP StopSPACE-alr
- LSP Restart
NullLS is a generic LSP server that can use external tools to provide LSP 'formatting' and 'diagnostic' capabilities.
To show null-ls
status: <leader>Sn
SPACE-q
- to access Sessions menu
\S
- toggle Status Line