Notes about different tools I use in the terminal.
Terminal
Table of content
Kitty terminal
Vim
Kitty terminal ●
- configuration file
.config/kitty/kitty.conf
- open kitty terminal
ctrl + 1
- new window
F5
- change window
left top right bottom (cursor)
- resize window
shift + cmd + r
- open a new tab
shift + cmd + t
- go to next tab
shift + cmd + ->
- go to previous tab
shift + cmd + <-
Vim ●
leader key ,
- quit
q
- move
h j k l
- move line by line in a paragraph
g + j k
- visual mode
v
- normal mode
esc
- insert before the cursor
i
- insert after the cursor
a
- insert at the end of the line
A
- begin a new line below the cursor and insert
o
- begin a new line above the cursor and insert
O
- copy
y
- cut
d
- paste
p
- paste above
P
- replace
r
- undo
u
- redo
ctrl + r
- undo all changes on the line
U
- delete text
d
- delete line
dd
- delete text (and yank to the buffer) and enter insert mode
c
- delete the line and enter insert mode
cc
- delete until the end of the line and enter insert mode
C
- go to first line
gg
- go the last line
G
- open files
, space
- open files in the buffer
, b
- close current file (buffer)
:bd