oryband, thanks for the comment. I didn't even know that semi-colon was mapped to anything in normal mode, thanks for the info.
How often do you use ;
normally? I don't find myself using f
or t
very much, and when I do use them I usually prefix with a c
and never need to jump to the next one on the same line.
Ohhh, that's a great idea to search github for vimrc
, pirj!
Try mapping jj to exit insert mode and save your file with:
inoremap jj <Esc>:w<CR>
That way you can save your file while in insert mode with jj, or save while in normal mode with ijj.
Both are a lot faster than typing colon + w + hitting enter as your fingers barely have to leave the home keys.
It's probably worth mentioning that running the server with [::]:8000 will enable IPv6 support, whereas 0.0.0.0:8000 will only enable IPv4 support.
You can use
docker rm -f [container]
to force docker to remove containers.