Inspired by early version of NvChad story
run the command below on mac os (we are sorry for other operating systems users)
curl https://raw.githubusercontent.com/abellaismail7/nvim-config/main/install.sh | bash
run :PackerSync
after starting neovim
#keymaps
I highly recommend to just remember one character after leader key and 'Whichkey' floating window will showup with keymaps you might need.
key |
Action |
wa |
vertical split |
ws |
horizontal split |
wm |
maximize window |
wh |
go to left window |
wj |
go to bottom window |
wk |
go to top window |
wl |
go to right window |
wc |
close window (not buffer) |
wH |
move window to max left |
wJ |
move window to max bottom |
wK |
move window to max top |
wL |
move window to max right |
key |
Action |
ld |
go to declaration |
lD |
go to definition |
li |
got to implementation |
lh |
go to hover |
lrn |
rename func_name/vars/.... |
lre |
Lists all the reference |
lf |
format code |
le |
show error line in floating window |
,a |
list code actions |
<C-n> |
move window to max bottom |
<C-p> |
move window to max top |
key |
Action |
bc |
close buffer |
bs |
save buffer |
key |
Action |
ff |
find file |
fs |
Grep for string |
fw |
Grep for word |
fb |
find buffer |
fh |
find help |
fm |
find mark |
fh |
find help |
fn |
browse files |
fa |
find files for android dev |
fg |
git files |
key |
Action |
dr |
initialize debug asking for debugable program |
dg |
go to gdb window (:Gdb) |
dp |
go to Program window (:Program) |
ds |
go to Source window (:Source) |
da |
go to Asembly window (:Asm) |
d= |
back to original window layout |
db |
set breakpoint |
dl |
unset breakpoint |
,c |
(gdb) continue |
,n |
(gdb) next |
,s |
(gdb) step |
key |
Action |
ra |
Run Android Project |
rn |
Run norminette |
rmm |
Run :make |
rmc |
Run :make clean |
rmf |
Run :make fclean |
rmr |
Run :make fclean all |
key |
Action |
ot |
Open terminal in foalting window(Esc to esacpe) |
y |
Copy to system clipboard |
Y |
Copy current line to system clipboard |
[0-9] |
go to buffer N according to tab position |
ARGS VALUES : arguments for ur program
ARGS VALUES : arguments for ur program