Tue 13. February 2024 | 2024-02-13
EDIT:
unnamedplus funker for WSL. men bare ikke i windows 11 ser det ut som?
See if Neovim lacks Clipboard
: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/
Copy entire line
- Select entire line visual mode
- Enter command:
:'<,'>w !clip.exe
https://stackoverflow.com/questions/61550552/how-to-copy-paste-from-vim-in-wsl
Click & drag method
:set mouse= Neovim config already has this set as default
- Click & drag
- Ctrl C
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
Tue 06. February 2024 | 2024-02-06
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
Thu 25. January 2024 | 2024-01-25
https://ubuntu.com/server/docs/upgrade-introduction
sudo apt update
sudo apt upgrade
Wed 24. January 2024 | 2024-01-24
Enter copy mode
Ctrl [ eller begynn å scrolle
Quit copy mode
Ctrl c eller q
https://stackoverflow.com/questions/67360866/tmux-exit-ctrl-b-and-stay-observing-the-session
detach og tmux-attach:
https://askubuntu.com/questions/824496/how-do-i-access-tmux-session-after-i-leave-it
List sessions
Navigate between sessions in tmux
Ctrl b s
Just list sessions
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
Resize pane
Ctrl b h eller j eller k eller l
Move between panes
Ctrl h eller j eller k eller l
Move windows
Move to index
Ctrl b . 2
... Flere løsninger ...
https://superuser.com/questions/343572/how-do-i-reorder-tmux-windows
Wed 24. January 2024 | 2024-01-24
https://vim.rtorr.com/
Sun 21. January 2024 | 2024-01-21
If shift right mouse click in insert mode doesn't paste anything, try exiting and re-entering Neovim again
Sun 21. January 2024 | 2024-01-21
Setup
Install IdeaVim plugin
Setup ctrl Q for toggling Vim on/off

Settings
Turn Vim on
reserve certain shortcuts to IDE
like:
ctrl Q so we can toggle Vim efficiently
ctrl C to enable copying to OS registry
ctrl V to enable pasting from OS registry

Zed
{
"context": "Editor && !menu",
"bindings": {
"ctrl-f": "buffer_search::Deploy",
"ctrl-c": "editor::Copy",
"ctrl-x": "editor::Cut",
"ctrl-v": "editor::Paste",
"ctrl-a": "editor::SelectAll",
"ctrl-y": "editor::Undo",
"ctrl-t": "project_symbols::Toggle",
"ctrl-o": "workspace::Open",
"ctrl-s": "workspace::Save",
"ctrl-b": "workspace::ToggleLeftDock"
}
},
https://zed.dev/docs/vim#restoring-common-text-editing-and-zed-keybindings
Thu 18. January 2024 | 2024-01-18
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
Thu 18. January 2024 | 2024-01-18
https://useful-snippets.netlify.app/posts/vim/
Webstorm keyboard shortcuts
Sun 14. January 2024 | 2024-01-14
To search replace the following:
</b>:
to:
:</b>
You can use another separator.
Example using # instead of /:
:8,27s
Sat 13. January 2024 | 2024-01-13
GitHub
Docs
Prod
Sat 13. January 2024 | 2024-01-13
^
/ _ \
| : |
| 0. |
/] : [\
/_] _. [_\
| |
| |
|
|