Home

About

Archive

Knowledge Base

Graph

Portfolio

Contact

live
This website is supported entirely by the generosity of its audience. If you enjoy the ideas and inventions shared here, please consider giving back in the form of a one-time or recurring donation. Any amount you gift is sincerely appreciated! Thank you.—l00sed
Sponsor on GitHubPay with VenmoPay with Paypal

Neovim

10:32PMJanuary 4 2025Daniel Tompkins
codesysadmin
CommandsToggle Wrapped Lines

Archive KB

Find my Neovim dot­files on GitHub .

Com­mands

Toggle Wrapped Lines

Same func­tion in Vim­Script (for Vim)

Toggle wrapped lines in Neovim (Lua)
lua
local M = {} -- Toggle Wrap function M.toggle_wrap() if vim.o.wrap then vim.o.wrap = false vim.o.virtualedit = 'all' else vim.o.wrap = true vim.o.virtualedit = '' vim.o.display = 'lastline' end end return M

Comments loading...

Previous
Next logo centered over a background of formatted code
Next.js
02 01 2025kbDaniel Tompkins
In this page I share my experience using Next without Vercel hosting— and its associated costs ($$$), instead hosting on a generic VPS....
codesysadmin
Next
A close-up photograph of a silicon chip. It's a microcontroller with jumper cables and header sockets.
Mi­cro­con­trollers
08 07 2020kbDaniel Tompkins
Some microcontrollers are used together to form single-board computers (SBCs). These are computers on a single chip!...
codeelectronics

LEARN

Archive
Bookmarks Dump
Contribute
Graph
Knowledge Base
Reading List

META

Atom
Privacy Policy
RSS
Sitemap
Terms & Conditions

SOCIAL

Bluesky
GitHub
Hacker News
Instagram
LinkedIn
Reddit
Stack Overflow
YouTube

WHOAMI

About
Email
Keybase
Portfolio
Uses

2018-2025 · l-o-o-s-e-d.net