Search for: vim

How to step debug debugging rust in vim 8.1
24 Jul 2021

“Basically, rust-gdb is a wrapper that loads external Python pretty-printing scripts into GDB. This is useful (and somewhat necessary) when debugging more complex Rust programs because it significantly improves the display of Rust data types.” (src) what the developer has […]

GNU Linux how to vim install VimPlug
16 Jul 2021

tested on hostnamectl Static hostname: lenovo Icon name: computer-laptop Operating System: Debian GNU/Linux 10 (buster) Kernel: Linux 4.19.0-17-amd64 Architecture: x86-64 preperations: su – root apt update # install vim and git and curl apt install vim git curl # install […]

how to copy and paste outside of vim – system clipboard to another other gui applications – the 1 million lines text editor benchmark onemillionlines.txt
28 Jul 2020

what is the problem? https://vi.stackexchange.com/questions/13564/why-is-vim-for-debian-compiled-without-clipboard for whatever reasons a lot of vim packages come compiled without system -clipboard support. furthermore: for copy & paste per default vim uses it’s own registers (not the default primary and secondary system clipboard that […]

password protect encrypt files with vim and vi
02 Jun 2017

it’s amazing… try this: open up a text file Hit ESC (command mode) :X now vim / vi will ask you for a password if you know save and quit and reopen the file it detects that the file was […]

GNU Linux – how to vi vim search replace within line number range command history credits
25 Apr 2017

vim; # start vim # inside vim global search and replace :%s/search/replace/g vi testfile.txt; # open some file with this content Test,Test,Test,Test,Test,Test,Test,Test,Test,Test,Test Test,Test,Test,Test,Test,Test,Test,Test,Test,Test,Test Test,Test,Test,Test,Test,Test,Test,Test,Test,Test,Test Test,Test,Test,Test,Test,Test,Test,Test,Test,Test,Test Test,Test,Test,Test,Test,Test,Test,Test,Test,Test,Test Test,Test,Test,Test,Test,Test,Test,Test,Test,Test,Test Test,Test,Test,Test,Test,Test,Test,Test,Test,Test,Test Test,Test,Test,Test,Test,Test,Test,Test,Test,Test,Test Test,Test,Test,Test,Test,Test,Test,Test,Test,Test,Test Test,Test,Test,Test,Test,Test,Test,Test,Test,Test,Test Test,Test,Test,Test,Test,Test,Test,Test,Test,Test,Test i :1,5s/T/t/g # 1 = start at line […]

GNU Linux -> Vim Search & Replace
27 Aug 2015

vim is one of the greatest terminal based editors that is out there (though Stallman & Linus prefer Emacs) it is capable of editing pretty large files, that would make other gui based editors crash # Find each occurrence of […]

28 May 2015

you can enable syntax highlighting in vim by typing: :syntax on and disable by: :syntax off per default vim shows *.conf files as blue-text on black-bg, which is pretty hard to read. you can change the color-scheme used by typing: […]

2023-03 IT Cyber Security Updates – Unfixed Cisco routers, Google ads to distribute malware, Evil Dota 2 game mods, Reddit’s internal documents and source code stolen, Apple zero-day vulnerabilities, malware in images, stealthy malware, fileless malware, SIM-Swapping scammer, Street magic steals crypto, Gootkit malware is actively attacking medical and financial institutions, American Megatrends BMC vulnerabilities, publicly accessible QNAP NAS again at risk, worm via USB drives, first suggested attacks on quantum cryptography, hurray for the cloud: misconfigured cloud database leaked data on ALL Australien citizens (spell it “klaut” wich is German for “steal”), Hackers modify DNS settings to redirect victims to malicious via vulnerable WiFi routers
05 Mar 2023

(knowing that manually auto-translating Russian CyberSec news to English, is not a feasable concept and need to be automated, but as this blog is non-profit, it is for curiosity.) Booking.com found an authentication vulnerability that allows account hijacking A vulnerability […]

AMD Ryzen 5600G + Gigabyte Aorus B550 + 2x NVMe Kingston SA2000M81000G + RAID0 (AMD RAIDXpert2) worth it? does it work with GNU Linux? 8k Youtube Benchmark passed on GNU Linux Debian 11 MATE – enable enable SVM Mode in UEFI BIOS to enable KVM Virtualization support
17 Dec 2022

hardware used: AMD Ryzen 5600G Gigabyte Aorus B550 Elite AX v1 (Rev 1.1) 2x NVMe Kingston SA2000M81000G those are DATACENTER capable NVMes! (at a pretty nice price!) energy meassurements: meassured wattage when PC was idle (doing nothing): GNU Linux Debian […]

08 Nov 2022

in order to preserve best audio quality instead of converting audio, it is better (better audio quality and also faster) to simply extract the aac from an mp4 like this: vim /scripts/aacFromMp4.sh #!/bin/bash # 🙂 ffmpeg rocks! if [ -z […]

GNU Linux bash – optimizing basics – the ll alias to ll
26 Jul 2022

ok an alias is simply an appreviation (ll) of a longer command (ls -lah –color) defined in one of those files: user@Debian8:~$ bash -l; # simulates a login 1. hello from /etc/bash.bashrc 2. hello from /etc/profile 7. hello from ~/.bash_profile […]

GNU Linux bash – notebook laptop test battery runtime script
08 Jul 2022

how long (many hours) will this notebook-laptop battery last? some sensors/softwares report/calculate things like this… 5days on one charge is a very very optimistic estimate for most intel or amd based notebooks (even for RISC/ARM based notebooks-laptops that would be […]