vimgeek's profile picture. Tweeting Vim tips | Tweets by @susam

Vim Geek

@vimgeek

Tweeting Vim tips | Tweets by @susam

Working on CSES data structures and algorithms problem set: spxy.github.io/live/ #algorithms #computing #mathematics


Practical Common Lisp reading session is now live at: twitch.tv/susampal . Join in if you are free!


Emacs book club is live now. Join spxy.github.io/live/ to see the live stream, post comments, and ask questions. For Vim users who cannot live without Vim's modal-editing, Emacs has evil-mode, a nice Vim emulation package. Join to learn and discuss!


Vim Geek reposted

It took me a while to realize what this picture on the cover of the book "Introduction to Analytic Number Theory" (Apostol, 1976) really means. Special thanks to @LavaboMouille for helping me interpret this picture correctly.

susam's tweet image. It took me a while to realize what this picture on the cover of the book "Introduction to Analytic Number Theory" (Apostol, 1976) really means.

Special thanks to @LavaboMouille for helping me interpret this picture correctly.

LaTeX typesetting with MathJax and Muboard to create virtual chalkboards: spxy.github.io/live/ Join the live stream at to see standalone HTML files being written in Markdown + LaTeX that automatically render themselves into chalkboards for the web!


How do you substitute a pattern with newline in Vim? Say, replace colons with newlines? Here is an example: :%s/:/\r/g The above command would change the following text: foo:bar:baz:qux to the following text: foo bar baz qux #vim #unix #linux


Vim Geek reposted

Released Muboard 0.5.0. It now supports GitHub Flavored Markdown (GFM). GFM extensions like tables, task lists, strikethrough, autolinks, etc. are supported now. Website: muboard.net Source: github.com/susam/muboard #mathematics #latex #javascript #programming

susam's tweet image. Released Muboard 0.5.0. It now supports GitHub Flavored Markdown (GFM). GFM extensions like tables, task lists, strikethrough, autolinks, etc. are supported now.

Website: muboard.net

Source: github.com/susam/muboard

#mathematics #latex #javascript #programming

Lisp book club is now live at spxy.github.io/live/. We are reading Lisp books in this live channel. Why Lisp? Because Lisp is the "Maxwell's Equations of Software!" Visit and be a part of this learning experience.


Our software & programming cafe: spxy.github.io/live/ Activities on this channel: Technology book club meetups, Emacs lessons, Lisp programming, algorithm problems solving, and mathematics meetups! Follow to be a part of the learning experience!


LaTeX typesetting with MathJax and Muboard (live stream): spxy.github.io/live/ Creating standalone HTML files written in Markdown + LaTeX and they automatically render themselves into virtual chalkboards for the web!


Use these Vim normal mode commands to move around between windows: ctrl-w ctrl-w - Go to the next window ctrl-w ctrl-h - Go to the left window ctrl-w ctrl-j - Go to the down window ctrl-w ctrl-k - Go to the up window ctrl-w ctrl-l - Go to the right window #vim #unix #linux


Lisp programming hour is now live: spxy.github.io/live/ Activities include programming in Lisp and reading Lisp books, documentation, style guides, etc. Visit to watch the live stream and past broadcasts.


Enter the following command in Vim to show all buffers: :ball It opens one window for each buffer in the buffer list. #vim #unix #linux


Vim comes with its own colorful and featureful diff tool. Run one of the following commands to try it out: vimdiff file1 file2 vim -d file1 file2 Enter :help diff in Vim command-line mode to read more about it!


Execute a command and insert its standard output below the cursor with this command: :r !{cmd} For example, on a Linux, macOS, or Unix system, try this: :r !cal #vim #unix #linux


Vim Geek reposted

Latency Exists, Cope! - web.archive.org/web/2018100404… This blog post from 2007 discusses these four strategies to design for latency: good decomposition, asynchronous interactions, non-monolithic data, and designing for active/active. #software #design #architecture #programming


Vim Geek reposted

This Twitter thread has a description of how the “:w !sudo tee %” command works: . Apparently, this trick is known at least since 2005. By the way, put double-quotes around percent (%) if your filename has spaces.

The famous Vim sudo-write trick: You open a file, edit it, and save it only to get the E45 error message. You now realize that only root can edit the file. What do you? Start over? No, instead try this: :w !sudo tee "%" Learnt it from vim.fandom.com/wiki/Su-write?… back in 2005. #vim

susam's tweet image. The famous Vim sudo-write trick: You open a file, edit it, and save it only to get the E45 error message. You now realize that only root can edit the file. What do you? Start over? No, instead try this:

:w !sudo tee "%"

Learnt it from vim.fandom.com/wiki/Su-write?… back in 2005.

#vim


Vim Geek reposted

The famous Vim sudo-write trick: You open a file, edit it, and save it only to get the E45 error message. You now realize that only root can edit the file. What do you? Start over? No, instead try this: :w !sudo tee "%" Learnt it from vim.fandom.com/wiki/Su-write?… back in 2005. #vim

susam's tweet image. The famous Vim sudo-write trick: You open a file, edit it, and save it only to get the E45 error message. You now realize that only root can edit the file. What do you? Start over? No, instead try this:

:w !sudo tee "%"

Learnt it from vim.fandom.com/wiki/Su-write?… back in 2005.

#vim

Loading...

Something went wrong.


Something went wrong.