vim is written in (https://github.com/vim/vim) Vim Script 54.3% C 39.2% Roff 1.6% Makefile 1.3% C++ 0.7% NSIS 0.5% Other 2.4% nobody is god, nobody is perfect, but vim is a pretty nice terminal based text editor, capable of handling even […]
variant1: the most minimalist approach works but imho it is very primitive 🙂 (but it works) variant2: a wee bit better let’s go hostnamectl; # tested with Virtualization: kvm Operating System: Ubuntu 22.04.4 LTS Kernel: Linux 5.15.0-94-generic Architecture: x86-64 # […]
ok let’s put it like this Mr Torvalds and Mr Stallman like their EMacs. Vim has grown into a very big program, that will contain errors (every program does and only god and nobody are perfect) But it at least […]
prepare: echo “com -nargs=1 HI exe histget(‘c’, )” >> ~/.vimrc then start vim and type to show the history (commands last typed): [ESC] :history # or short :his now to re run the command #LineNumber 29, type: :HI 29
https://joinpeertube.org/ “show me the src“: https://github.com/Chocobozzz/PeerTube Developed with by Framasoft “PeerTube is a free, decentralized and federated video platform developed as an alternative to other platforms that centralize our data and attention, such as YouTube, Dailymotion or Vimeo. ” (src) […]
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: […]
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 […]
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 […]
it is actually possible to open a text file in less, then switch over to vim (without exiting less) and when done with editing, switch back to less. less /open/this/file/for/viewing # switch over to vim :v # now one is […]
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 […]
how to search replace in the whole text how to undo redo how to change selected text UPPERCASE to lowercase other examples: vim; # start vim # inside vim global search and replace :%s/search/replace/g vi testfile.txt; # open some file […]
vim: the config file is located at: ~/.vimrc for example one might want to change the default color highlighting scheme: one can open a config file: vim /etc/passwd # then hit ESC :syntax on :colorscheme desert # one can actually […]
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 […]
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: […]
to enable syntax highlighting in vim, open a file.php and do: :syntax on if you want syntax highlighting permanently enabled do: echo “syntax on” >> ~/.vimrc HAVE FUN! 🙂
yes it is advices to every 10 years print out the phone book… but without the duplicates and in font 8pt just in case cat contacts.vcf|grep -e ‘FN:’ -e ‘CELL:’|less cat contacts.vcf|grep -e ‘FN:’ -e ‘CELL:’ > contacts.print1.vcf paste – […]
Warning! FUN but LOADS of inter human embarrassments X-D SOME STATEMENTS COULD TRAUMATIZE USERS AND DEVELOPERS X-D thanks Linus (Sebastian) Tech Tips (LTT) for bringing this Kernel nerd Linus Torvalds (LT) from his mint room to youtube and endure his […]
yes and no. btw very creative users use a USV as DC-to-AC-converter or charge batteries (2x12V = 24V system voltage) with solar, it seems to work even without batteries installed in the APC USV for example to power a lower […]
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 […]
want to share pictures in full resolution easily accessible to other user’s via user’s webspace? generate a index.html that has clickable thumbnails -> view full resolution 😀 su – root apt install convert; # install tool to resize images # […]
in 2025 still a lot of browsers are not x265 compatible (firefox 1.141 is) the best up to know: (it reduces the video size resolution by 50% and reencode audio to mp3, because firefox seems to have problems with ogg […]
software minimalism (leaving away anything that is not absolutely necessary and trying to simplify things) is a good UNIX KISS software concept that will lead to more stable and more secure systems, because there are just an infinite amount of […]
in short: forget it X-D ending up compining gcc (worked) and Chromium from scratch (fails) https://chromium.googlesource.com/ https://chromium.googlesource.com/v8/v8/+/refs/heads/main/include/v8config.h A LOT of devs are using vscode… especially those with the macbooks mostly using eclipse try to build vscode from src X-D (is […]
brasero is actually a nice CD-R DVD-R burning based on wodim (formely known as cdrecord, now cdrecord is only a softlink to wodim) but it has some pitfalls problems on Debian 13: Schilling claims, “is the only CD-R program available […]
got to know: Desktops that use wayland will profit from high framerate (x11 based not) make sure the NVIDIA card uses it’s own monitor output, if it’s outputting only on virt-manager virtio device: ./NVIDIA.run reinstall drivers in single-user-mode (init 2) […]
hostnamectl; # tested with Static hostname: workstation Operating System: Debian GNU/Linux 13 (trixie) Kernel: Linux 6.12.30-amd64 Architecture: x86-64 Hardware Model: Gigabyte B550 Aorus Elite AX V2 rev-1 Socket AM4 # gpu used nvidia RTX 5060 Ti 16GByte the idea start […]
convenience vs security: it’s always a tradeoff credit card scammers and scimmers: when the shop owner HIMSELF is the thief if not already put all cards with “wireless” functionality (bank ec credit id healthcare cards maybe even drivers licence) into […]
# 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)$
So unglaubglich das klingt, kaum eine Programmiersprache hat sich so ausdauernd gehalten wie die Sprache C aus dem Jahr 1972. Ein grossteil des Erfolges von C ist sicherlich das “keep it simple” Prinzip, umso “einfacher” eine Sprache umso einfacher lässt […]
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 […]
























