Skip to content

Repository files navigation

vim-forcer

vim-forcer

A daemon that intercepts nano and silently replaces it with vim.

Warning: kills processes and hijacks terminals system-wide. Don't run this anywhere that matters. The developer accepts zero responsibility, moral or legal.

How it works

An eBPF program hooks the execve syscall. The moment nano dares to launch, it gets SIGKILL'd and vim opens in its place. On the same terminal, with the same file, before the user knows what hit them. Renamed nano binaries are caught by scanning the ELF for the string "nano". Swap counts are tracked per-uid, in case you want a wall of shame in your motd.

Demo

demo

Building

See BUILDING.md.

Tübix 2026

This project was written for Tübix 2026.

AI Assistance Disclosure

This project was developed with assistance from AI-powered coding tools. All code has been reviewed, tested, and verified before inclusion.

About

A tool that keeps you from using nano. Even if you want to use nano.

Topics

Resources

Stars

Watchers

Forks

Releases

Contributors

Languages