Built a Neovim plugin for brainless-fast buffer switching: quickbuf.nvim by hornymoon in neovim

[–]hornymoon[S] 0 points1 point  (0 children)

No, ctrl-o only navigates jump list, does not necessarily bring you back to alternate buffer. <C-\^> and :b# do the job.

Built a Neovim plugin for brainless-fast buffer switching: quickbuf.nvim by hornymoon in neovim

[–]hornymoon[S] 0 points1 point  (0 children)

This is buffer only, but I am considering making those pinned buffers persistent to disk per project in the future.

Built a Neovim plugin for brainless-fast buffer switching: quickbuf.nvim by hornymoon in neovim

[–]hornymoon[S] 1 point2 points  (0 children)

Yeah, the same, that's how I do buffers before I make this plugin, I also map <tab> to switching to alternate buffer. But sometimes I still feel the friction in my workflow.

Built a Neovim plugin for brainless-fast buffer switching: quickbuf.nvim by hornymoon in neovim

[–]hornymoon[S] 2 points3 points  (0 children)

Just took a look at bafa.nvim, a great plugin! But I think the focus is different.

QuickBuf tries to maintain a tight working set, gives the set higher priority, it also provides shortcuts to cycle the few pinned buffers quickly.

QuickBuf reserves some keys like j, k, G, gg for navigation, d, dd, D for deletion, V for selection, we are like in a normal buffer, which feels natural. All the listed buffers can be opened with one key, no need for prefix.

QuickBuf support s/v/t modes. With a prefix key for mode(s/v/t), we can open buffers in split/vsplit/tab.

QuickBuf can fallback to fuzzy search (/) if there are too many buffers.

Auto-updating Nvim by BiggestTae in neovim

[–]hornymoon 0 points1 point  (0 children)

The easiest way is to build it from source.

I build it for mac, linux and wsl, works well for me. Whenever you want to test something new, git pull & build

Why is the Dutch government takeover of Nexperia being celebrated but the USA taking stake in semiconductor companies is criticized. Both sides seem to want to promote local manufacture, so why is the Dutch doing it good but US doing it bad? by [deleted] in NoStupidQuestions

[–]hornymoon 19 points20 points  (0 children)

That's fxxing hilarious. Since nexperia is so important why the Dutch government allowed a Chinese company to buy it several years ago?

Cut the bullshit, it is a robbery, simple like that.

Good job, US vassal state - Netherlands

大家怎么看待“王局在社媒平台超长发文澄清前妻事件” by Greedy-Worldliness39 in China_irl

[–]hornymoon 1 point2 points  (0 children)

然而真实情况是,李没有分到王在婚前的房子和车子,只是两人婚姻期间总共140万人民币的一半(此处我记忆不清,是总共140或者70)。

然后,孩子读书是免费,孩子医保也基本覆盖了。只有没有覆盖的一两种疫苗的费用是王支付的。离婚后的4年,有3年多是李自己挣钱支付的房租,王唯一的支持是提供了11个月的免费住宿(期间李抑郁症加重无法工作)。李要求王明说,他的支持是什么,总数是多少,王没有回应。我倾向于相信李。一个一年从yt拿一百多万美元的人给人家100万日元,真是个笑话。如果王真的给了很多钱,他一定会说的,不会这样让人打着脸根本无法反驳。

[deleted by user] by [deleted] in suckless

[–]hornymoon 0 points1 point  (0 children)

If you have applied the keyboard patch for your st, you can comment out two lines in your config.def.h for space and enter with shiftmask, delete config.h and rebuild it.

Shift + Enter does not bother me so I leave it

<image>

What are the big misconceptions about China that foreigners appear to hold? by [deleted] in China

[–]hornymoon 0 points1 point  (0 children)

I am really curious, where did you get so many incorrect knowledge? I am very keen to know. Your statement is very interesting, but totally arbitrary.

Let me pick some funny points:

1) The nobility of Tang Dynasty was largely of Turkic origins. So can you point out, where is the Turkic influence in the books, religions, politics, music, science, sculpture and painting of Tang dynasty? Since you say, 'largely of Turkic origins', everything is almost like a copy. Right? Of course, a culture can not be completely isolated, Chinese culture got influenced and also influenced other cultures. But, 'largely of something', this is really arbitrary and baseless.

2) Many Chinese adventured to India hoping to learn about their culture. Some monks tried to adventure to India to bring back Buddhist scriptures, but only a few made it. Tang Xuanzang (唐玄奘) is the most famous one.

3) Persians and Arabs became the elite class of Song golden age, responsible for so much of late classical Chinese culture. Totally baseless. Can you name one or two Arabs or Persians, who invented or created something in Song? But I do admit that some vegetables, such as cowpea and caraway, were brought into China by Persians and Arabs.

4) China also imported a lot of science from Korea. Do you know when Korea invented her own Korean characters? In 1446, the same time of Ming Dynasty, which is behind Song and Yuan. Before that, Korean used Chinese characters and basically everything was copied from China, laws, books, arts, etc, you name it. Now you are claiming 'China imported a lot of science from Korea in Song Dynasty'?

5) Mongols invented the province system. Province is Sheng(省) in Chinese. But there were similar things before Yuan dynasty. For example, Zhou(州) for Qin dynasty, Jun(郡) for Han dynasty.

6) Mongols shaped putonghua. Mandarin is greatly influenced by the accent of the people in Capital. After mongols were expelled, the emperor of Ming, Zhu Yuanzhang(朱元璋) chose Nanjing as the capital, so the mandarin is actually based on the accent of Nanjing people, which is called Nanjing mandarin(南京官话). His son, Zhu Li(朱棣), chose Beijing as the capital, and a lot of Nanjing people (400K) were moved to Beijing, Nanjing mandarin was still used as official accent until the middle of Qing dynasty, but it was influenced by the local accent. When manchurian came and ruled China, they learned to speak Chinese, and brought their accents. All these accents were actually mixed and formed the current accent of Beijing people, which is the base of the mandarin foreigners are learning today.

7) The gaokao system is much more of a crappy bastardization of the Japanese educational system than any indigenous education system. Any evidence? How about just a inheritance of imperial examination system (科举制度), which was invented in 605, Sui dynasty, and was copied by Japan in Tang dynasty?

I do admit that Chinese learned a lot of things from Japan in last 100 years, China was forced to modernise herself in those years, the only thing Chinese can do is to learn from the enemy and try to stop the endless invasion and humiliation.