Fish is a interactive shell, you can find anything about it in the document.
- Fisher - Plugin manager
- Z - A tool to jumping to the recent directory
- peco - Enhance search, eg. command history, project name
- eza - A replacement for ls.
- startship - color shceme.
Search Directory | Ctrl+Alt+F (F for file) | --directory
Search Git Log | Ctrl+Alt+L (L for log) | --git_log
Search Git Status | Ctrl+Alt+S (S for status) | --git_status
Search History | Ctrl+R (R for reverse) | --history
Search Processes | Ctrl+Alt+P (P for process) | --processes
Search Variables | Ctrl+V (V for variable) | --variables
Shortcut |
Description |
Implementation |
ctrl-r |
Search command history |
fzf.fish |
ctrl-v |
Search variables |
fzf.fish |
ctrl-alt-p |
Search process |
fzf.fish |
ctrl-alt-l |
Search git log |
fzf.fish |
ctrl-alt-s |
Search git status |
fzf.fish |
ctrl-f |
Search the configured directories |
fzf |
z {keyword} |
Jump to the last directory which name contains the keyword |
z for fish |
ctrl-l |
Forward a char like vim in command line |
fish_user_key_bindings.fish |
ctrl-w |
Forward a word like vim in command line |
fish_user_key_bindings.fish |
ctrl-a |
Move to the end of line like vim in command line |
fish_user_key_bindings.fish |
ctrl-h |
Backward a char like vim in command line |
fish_user_key_bindings.fish |
ctrl-b |
Backward a word like vim in command line |
fish_user_key_bindings.fish |
ctrl-i |
Move to the begin of line like vim in command line |
fish_user_key_bindings.fish |
recommend color scheme: folke/tokyonight.nvim
Shortcut |
Description |
implementation |
uC |
change color scheme |
|
uz |
zen mode |
folke/zen-mode.nvim |
Shortcut |
Description |
implementation |
gg |
git gui |
lazygit |
gb |
git blame line |
|
gc |
git commits |
" |
gf |
current file's commit history |
lazygit |
;gs |
Find git changed fields |
fzfx.nvim |
;gb |
Search git branches |
fzfx.nvim |
;gc |
Search git commits |
fzfx.nvim |
;gm |
Search git blame |
fzfx.nvim |
Shortcut |
Description |
implementation |
gd |
list defination |
fzfx.nvim |
gr |
list reference |
fzfx.nvim |
gi |
list implementation |
fzfx.nvim |
gt |
list defination |
fzfx.nvim |
gci |
list incoming calls |
fzfx.nvim |
gco |
list outcoming calls |
fzfx.nvim |
gh |
inlay hint switcher |
lsp |
;e |
list diagnostics |
fzfx.nvim |
;s |
list function name, variables |
telescope |
ctrl-h |
show signature info in model i |
lsp |
vca |
code action |
lsp |
vrn |
rename symbol |
lsp |
ctrl-p |
completion with lsp |
lsp-cmp |
Shortcut |
Description |
implementation |
ctrl-o |
go to older position in jump list |
:h jumplist |
ctrl-i |
go to newer position in jump list |
:h jumplist |
g; |
go to older position in change list |
:h jumplist |
g, |
go to newer position in change list |
:h jumplist |
J |
a keymap to 10j |
|
K |
a keymap to 10k |
|
np |
paste to next line |
|
ctrl-a |
copy the whole content of the file |
|
ctrl-s |
save the file |
|
+ |
expand the visual selection |
terryma/vim-expand-region |
- |
shrink the visual selection |
terryma/vim-expand-region |
w |
forward next word like w but can recognize cojoined words |
chrisgrieser/nvim-spider |
e |
forward next word like e but can recognize cojoined words |
chrisgrieser/nvim-spider |
b |
forward next word like b but can recognize cojoined words |
chrisgrieser/nvim-spider |
option-left |
move to left (todo option-l not work) |
mini.move |
option-right |
move to right |
mini.move |
option-up |
move to up |
mini.move |
option-down |
move to down |
mini.move |
cs |
symbol outline |
|
;; |
resume telescope command |
telescope |
ctrl-u |
scroll up |
|
ctrl-n |
scroll down |
|
tl |
translate current word |
voldikss/vim-translator |
ee |
auto generate if err != nil ... in go |
|
S |
search and replace window toggle |
nvim-pack/nvim-spectre |
sw |
search and replace current word |
nvim-pack/nvim-spectre |
sp |
search and replace current word in current file |
nvim-pack/nvim-spectre |
yp |
copy file path |
|
yd |
copy directory path |
|
yf |
copy file name |
|
s |
quick jump |
flash.nvim |
S |
quick jump with treesitter |
flash.nvim |
sf |
tag all words to jump |
phaazon/hop.nvim |
fi |
fold close |
|
fo |
fold open |
|
af |
select outter function in v model |
treesitter |
if |
select inner function in v model |
treesitter |
Shortcut |
Description |
implementation |
ss |
Horizontal split window |
|
sv |
Veritical split window |
|
wd |
Close current window |
|
= |
Horizontal expand window size |
|
- |
Horizontal shrink window size |
|
+ |
Vertical expand window size |
|
- |
Vertical shrink window size |
|
ctrl-h |
choose left window |
|
ctrl-j |
choose below window |
|
ctrl-k |
choose above window |
|
ctrl-l |
choose right window |
|
option-cr |
show terminal below |
|
Shortcut |
Description |
implementation |
;f |
find files under root |
fzfx.nvim |
;wf |
find files by cursor word |
fzfx.nvim |
;yf |
find files by yank text |
fzfx.nvim |
;lf |
find files by resume text |
fzfx.nvim |
;r |
live grap by words under root |
fzfx.nvim |
;wr |
live grap by cursor word |
fzfx.nvim |
;yr |
live grap by yank text |
fzfx.nvim |
;lr |
live grap by resume text |
fzfx.nvim |
;br |
live grap buffers |
fzfx.nvim |
;p |
find projects |
GnikDroy/projections.nvim |
;bb |
find buffers |
fzfx.nvim |
;c |
Search vim commands |
fzfx.nvim |
;km |
Search vim keymaps |
fzfx.nvim |
;mk |
Search vim marks |
fzfx.nvim |
;p |
File explorer |
fzfx.nvim |
[b |
last buffers |
|
]b |
next buffers |
|
;e |
Lists Diagnostics for all open buffers or a specific buffer |
telescope.nvim |
;; |
resume the previous telescope picker |
telescope.nvim |
;t |
Lists available help tags and opens a new window with the relevant help info |
telescope.nvim |
sf |
Open File Browser with the path of the current buffer |
telescope.vim |
e |
explore neotree(root dir) |
|
E |
explore neotree(cmd dir) |
|
H |
add file to harpoon |
ThePrimeagen/harpoon |
h |
get files from harpoon |
ThePrimeagen/harpoon |
{num} |
choose the file from harpoon |
ThePrimeagen/harpoon |
te |
create a new tab (save with :w filename) |
|
|
next tab |
|
ctrl-x |
Go to file selection as a split |
nvim-telescope/telescope.nvim |
ctrl-v |
Go to file selection as a vsplit |
nvim-telescope/telescope.nvim |
fP |
list the neovim plugin files |
telescope |
Kitty is a fast GPU-based terminal emulator.
You can change the color scheme with command:
Shortcut |
Description |
implementation |
command-{i} |
move to the tab that index is i |
|
command + enter |
new window |
|
command + n |
new OS window |
|
shift + command + d |
close window |
|
shift+command + left |
resize window narrower |
|
shift+command + right |
resize window wider |
|
shift+command + up |
resize window taller |
|
shift+command + down |
resize window shorter |
|
shift+command + [ |
previous window |
|
shift+command + ] |
next window |
|
shift+command + b |
move window backward(not work) |
|
shift+command + f |
move window forward |
|
shift+command + k |
move window top |
|
shift+command + l |
decrease background opicity |
|
shift+command + m |
increase background opicity |
|
-
fzf - A fuzzy finder, can be used with any list.
-
ghq - Manage remote repository clones.
-
fd - A replacement for find.
-
rg - A tool that search file contents for a regex pattern.
Command |
Description |
:map {shortkey} |
find plugins that setted the shortkey |