bash redirect input/output
Thu 15. February 2024 | 2024-02-15- Stdin 0< or <
- Stdout 1 or >
- Stderr 2>
EDIT:
:CheckHealth
Clipboard (optional) ~
- WARNING No clipboard tool found. Clipboard registers (`"+` and `"*`) will not work.
- ADVICE:
- :help |clipboard|
Clipboard help: https://useful-snippets.netlify.app/posts/neovim-reference-manual/
:'<,'>w !clip.exe
https://stackoverflow.com/questions/61550552/how-to-copy-paste-from-vim-in-wsl
:set mouse=Should be able to paste text content anywhere else

Image: Copy paste " - Javascript" to OS system clipboard
set clipboard+=unnamed funker for Ideavim (.ideavimrc). Neovim gjennom WSL trenger kanskje mer verktøy for å funke
Run "npm run build" 10 times
for i in {1..10}; do npm run build; done
Wait beetween commands
for i in {1..10}; do npm run build && sleep 1; done
https://ubuntu.com/server/docs/upgrade-introduction
sudo apt update
sudo apt upgrade
Ctrl [ eller begynn å scrolle
Ctrl c eller q
https://stackoverflow.com/questions/67360866/tmux-exit-ctrl-b-and-stay-observing-the-session
https://askubuntu.com/questions/824496/how-do-i-access-tmux-session-after-i-leave-it
Ctrl b s
tmux ls
Med christoomey/vim-tmux-navigator package og instrukser fra https://www.josean.com/posts/tmux-setup / https://www.youtube.com/watch?v=U-omALWIBos&t=584s
Ctrl b h eller j eller k eller l
Ctrl h eller j eller k eller l
dawCtrl wCtrl xCtrl oCtrl 6Ctrl t / Ctrl d< / >. to repeatCtrl tCtrl vCtrl xCtrl t:tab h lualine:cdo s/blaba/blaba/gm[bokstav]'[bokstav]gd
ctrl owaK -> vim.lsp.buf.hover()dt* https://stackoverflow.com/questions/10658230/how-to-delete-until-end-of-delimiterda*<li>foo</li> -> citbar -> <li>bar</li>If shift right mouse click in insert mode doesn't paste anything, try exiting and re-entering Neovim again
Install IdeaVim plugin
Setup ctrl Q for toggling Vim on/off

Turn Vim on
reserve certain shortcuts to IDE
like:
ctrl Q so we can toggle Vim efficientlyctrl C to enable copying to OS registryctrl V to enable pasting from OS registry
How to paste using the yank register instead of delete register
"0p
Or skip delete register with black hole:
"_d
https://stackoverflow.com/questions/11993851/how-to-delete-not-cut-in-vim
https://useful-snippets.netlify.app/posts/vim/
ctrl F1To search replace the following:
</b>:
to:
:</b>
You can use another separator.
Example using # instead of /:
:8,27s#</b>:#:</b>