Search for: vim

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

why rust? hate loading times? rust is as C++ fast and unfortunately not easier to program than “user friendly” as C++ (from src): Performance: Fast and memory-efficient, suitable for critical services, embedded devices, and easily integrated with other languages. Reliability: […]

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 -> 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: […]

GNU Linux bash how to stabilize (anti shake) a video
09 Nov 2025

a lot of hand held videos are shaky, youtube used to have great stabilization filter… but Alphabet Google removed it (too CPU intense or what?) most smart phones and camera apps actually should apply some anti shake stabilization during recording […]

GNU Linux bash (Debian) git how to always show current branch
27 Apr 2025

# add # this (green) export PS1=’${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\033[0;32m$(__git_ps1 ” (%s)”)\033[0m\$ ‘ # alternativel this (red) export PS1=’\u@\h \[\e[32m\]\w \[\e[91m\]$(__git_ps1)\[\e[00m\]$ ‘ # to the end of vim ~/.bashrc # restart bash terminal and cd ./some/git/repo user@system ~/some/git/repo (currentBranchName)$

GNU Linux bash: how to get less with syntax highlighting?
23 Mar 2025

copy pasting lines from vim to other programs is a pain (selecting text with mouse Ctrl+C Ctrl+V process not working properly?) sometimes to debug a bash script it’s usefull to copy line-by-line and paste line-by-line to see what it does […]