diff options
| -rw-r--r-- | gemfeed/2022-11-24-i-tried-emacs-but-i-switched-back-to-neovim.html | 23 | ||||
| -rw-r--r-- | gemfeed/atom.xml | 27 | ||||
| -rw-r--r-- | gemfeed/index.html | 2 | ||||
| -rw-r--r-- | index.html | 2 |
4 files changed, 22 insertions, 32 deletions
diff --git a/gemfeed/2022-11-24-i-tried-emacs-but-i-switched-back-to-neovim.html b/gemfeed/2022-11-24-i-tried-emacs-but-i-switched-back-to-neovim.html index 1553a344..dfa27e82 100644 --- a/gemfeed/2022-11-24-i-tried-emacs-but-i-switched-back-to-neovim.html +++ b/gemfeed/2022-11-24-i-tried-emacs-but-i-switched-back-to-neovim.html @@ -2,14 +2,14 @@ <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<title>I tried Doom Emacs, but I switched back to (Neo)Vim</title> +<title>I tried (Doom) Emacs, but I switched back to (Neo)Vim</title> <link rel="shortcut icon" type="image/gif" href="/favicon.ico" /> <link rel="stylesheet" href="../style.css" /> <link rel="stylesheet" href="style-override.css" /> </head> <body> -<h1>I tried Doom Emacs, but I switched back to (Neo)Vim</h1> -<p class="quote"><i>Published by Paul at 2021-11-24</i></p> +<h1>I tried (Doom) Emacs, but I switched back to (Neo)Vim</h1> +<p class="quote"><i>Published by Paul at 2022-11-24, last updated 2022-11-26</i></p> <pre> _/ \ _(\(o / \ / _ ^^^o @@ -52,23 +52,16 @@ Art by \ \_! / __! <p>To come back to the example, for the clipboard integration, I use this small VimScript snippet, and I didn't have to dig into any Lisp or Perl for this:</p> <pre> " Clipboard - -if uname != 'Darwin' - vnoremap ,y !gpaste-client<CR>ugv - vnoremap ,i !gpaste-client --use-index get 0<CR> - nmap ,i !wgpaste-client --use-index get 0<CR> -else - vnoremap ,y !pbcopy<CR>ugv - vnoremap ,i !pbpaste<CR> - nmap ,i !wpbpaste<CR> -endif +vnoremap ,y !pbcopy<CR>ugv +vnoremap ,i !pbpaste<CR> +nmap ,i !wpbpaste<CR> </pre><br /> <p>That's only a very few lines and does precisely what I want. It's quick and dirty but get's the job done! If VimScript becomes too cumbersome, I can use Lua for NeoVim scripting.</p> <h2>The famous Emacs Org mode</h2> <p>Org-mode is an Emacs mode for keeping notes, authoring documents, computational notebooks, literate programming, maintaining to-do lists, planning projects, and more — in a fast and effective plain-text system. There's even a dedicated website for it:</p> <a class="textlink" href="https://orgmode.org/">https://orgmode.org/</a><br /> <p>In short, Org-mode is an "interactive markup language" that helps you organize everything mentioned above. I rarely touched the surface during my two-month experiment with Emacs, and I am impressed by it, so I see the benefits of having that. But it's not for me.</p> -<p>I use "Dead Paper Mode" to organize my work and notes. Dead paper? Yeah, I use an actual pen and a real paper journal (Leuchtturm or a Moleskine and a set of coloured <span class="inlinecode">0.5</span> Muji Pens are excellent choices). That's far more immersive and flexible than a computer program can ever be. Yes, some automation and interaction with the computer (like calendar scheduling etc.) are missing. Still, an actual paper journal forces you to stay simple and focus on the actual work rather than tinkering with your computer program. (But I could not resist, and I wrote a VimScript which parses a table of contents page in Markdown format of my scanned paper journals, and NeoVim allows me to select a topic so that the corresponding PDF scan on the right journal page gets opened in an external PDF viewer (the PDF viewer is <span class="inlinecode">zathura</span>, it uses Vi-keybindings, of course) :-). (See the appendix of this blog post for that script).</p> +<p>I use "Dead Tree Mode" to organize my work and notes. Dead tree? Yeah, I use an actual pen and a real paper journal (Leuchtturm or a Moleskine and a set of coloured <span class="inlinecode">0.5</span> Muji Pens are excellent choices). That's far more immersive and flexible than a computer program can ever be. Yes, some automation and interaction with the computer (like calendar scheduling etc.) are missing. Still, an actual paper journal forces you to stay simple and focus on the actual work rather than tinkering with your computer program. (But I could not resist, and I wrote a VimScript which parses a table of contents page in Markdown format of my scanned paper journals, and NeoVim allows me to select a topic so that the corresponding PDF scan on the right journal page gets opened in an external PDF viewer (the PDF viewer is <span class="inlinecode">zathura</span>, it uses Vi-keybindings, of course) :-). (See the appendix of this blog post for that script).</p> <a class="textlink" href="https://pwmt.org/projects/zathura/">Zathura</a><br /> <p>On the road, I also write some of my notes in Markdown format to NextCloud Notes, which is editable from my phone and via NeoVim on my computers. Markdown is much less powerful than Org-mode, but I prefer it the simple way. There's a neat terminal application, <span class="inlinecode">ranger,</span> which I use to browse my NextCloud Notes when they are synced to a local folder on my machine. <span class="inlinecode">ranger</span> is a file manager inspired by Vim and therefore makes use of Vim keybindings and it feels just natural to me. </p> <a class="textlink" href="https://github.com/ranger/ranger">Ranger - A Vim inspired file manager</a><br /> @@ -81,6 +74,8 @@ endif <h2>Conclusion</h2> <p>I understand the Emacs users now. Emacs is an incredibly powerful platform for almost everything, not just text editing. With Emacs, you can do nearly everything (Writing, editing, programming, calendar scheduling and note taking, Jira integration, playing games, reading/writing emails, browsing the web, using as a calculator, generating HTML pages, configuring interactive menus, jumping around between every feature and every file within one single session, chat on IRC, surf the Gopherspace, ... the options are endless....). If you want to have one piece of software which rules it all and you are happy to invest a large part of your time in your platform: Pick Emacs, and over time Emacs will become "your" Emacs, customized to your own needs and change the way it works, which makes the Emacs users stick even more to it.</p> <p>Vim/NeoVim also comes with a very high degree of customization options, but to a lesser extreme than Emacs (but still, a much higher degree than most other editors out there). If you want the best text editor in the world, which can also be tweaked to be a decent IDE, you are only looking for: Pick Vim or NeoVim! You would also need to invest a lot of time in learning, tweaking and customizing Vim/NeoVim, but that's a little more straightforward, and the result is much more lightweight once you get used to the "Vi way of doing things" you never would want to change back. I haven't tried the Emacs vanilla keystrokes, but they are terrible (that's probably one of the reasons why Doom Emacs uses Vim keybindings by default).</p> +<p class="quote"><i>Update: One reader recommended to have a look at NvChad. NvChad is a NeoVim config written in Lua aiming to provide a base configuration with very beautiful UI and blazing fast startuptime (around <span class="inlinecode">0.02</span> secs ~ <span class="inlinecode">0.07</span> secs). They tweak UI plugins such as telescope, nvim-tree, bufferline etc well to provide an aesthetic UI experience. That sounds interesting!</i></p> +<a class="textlink" href="https://github.com/NvChad/NvChad">https://github.com/NvChad/NvChad</a><br /> <p>E-Mail your comments to paul at buetow dot org! :-)</p> <a class="textlink" href="../">Go back to the main site</a><br /> <h1>Appendinx</h1> diff --git a/gemfeed/atom.xml b/gemfeed/atom.xml index ff7c9596..f000a2a1 100644 --- a/gemfeed/atom.xml +++ b/gemfeed/atom.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <feed xmlns="http://www.w3.org/2005/Atom"> - <updated>2022-11-24T11:43:18+02:00</updated> + <updated>2022-11-26T08:41:31+02:00</updated> <title>foo.zone feed</title> <subtitle>To be in the .zone!</subtitle> <link href="https://foo.zone/gemfeed/atom.xml" rel="self" /> @@ -19,11 +19,11 @@ <content type="xhtml"> <div xmlns="http://www.w3.org/1999/xhtml"> 1c1 -< -rw-r--r--. 1 paul paul 14073 Nov 24 11:35 ../foo.zone-content/gemtext/gemfeed/2022-11-24-i-tried-emacs-but-i-switched-back-to-neovim.html +< -rw-r--r--. 1 paul paul 14388 Nov 24 11:43 ../foo.zone-content/gemtext/gemfeed/2022-11-24-i-tried-emacs-but-i-switched-back-to-neovim.html --- -> -rw-r--r--. 1 paul paul 14388 Nov 24 11:43 ../foo.zone-content/gemtext/gemfeed/2022-11-24-i-tried-emacs-but-i-switched-back-to-neovim.html -<h1>I tried Doom Emacs, but I switched back to (Neo)Vim</h1> -<p class="quote"><i>Published by Paul at 2021-11-24</i></p> +> -rw-r--r--. 1 paul paul 14639 Nov 26 08:40 ../foo.zone-content/gemtext/gemfeed/2022-11-24-i-tried-emacs-but-i-switched-back-to-neovim.html +<h1>I tried (Doom) Emacs, but I switched back to (Neo)Vim</h1> +<p class="quote"><i>Published by Paul at 2022-11-24, last updated 2022-11-26</i></p> <pre> _/ \ _(\(o / \ / _ ^^^o @@ -66,23 +66,16 @@ Art by \ \_! / __! <p>To come back to the example, for the clipboard integration, I use this small VimScript snippet, and I didn't have to dig into any Lisp or Perl for this:</p> <pre> " Clipboard - -if uname != 'Darwin' - vnoremap ,y !gpaste-client<CR>ugv - vnoremap ,i !gpaste-client --use-index get 0<CR> - nmap ,i !wgpaste-client --use-index get 0<CR> -else - vnoremap ,y !pbcopy<CR>ugv - vnoremap ,i !pbpaste<CR> - nmap ,i !wpbpaste<CR> -endif +vnoremap ,y !pbcopy<CR>ugv +vnoremap ,i !pbpaste<CR> +nmap ,i !wpbpaste<CR> </pre><br /> <p>That's only a very few lines and does precisely what I want. It's quick and dirty but get's the job done! If VimScript becomes too cumbersome, I can use Lua for NeoVim scripting.</p> <h2>The famous Emacs Org mode</h2> <p>Org-mode is an Emacs mode for keeping notes, authoring documents, computational notebooks, literate programming, maintaining to-do lists, planning projects, and more — in a fast and effective plain-text system. There's even a dedicated website for it:</p> <a class="textlink" href="https://orgmode.org/">https://orgmode.org/</a><br /> <p>In short, Org-mode is an "interactive markup language" that helps you organize everything mentioned above. I rarely touched the surface during my two-month experiment with Emacs, and I am impressed by it, so I see the benefits of having that. But it's not for me.</p> -<p>I use "Dead Paper Mode" to organize my work and notes. Dead paper? Yeah, I use an actual pen and a real paper journal (Leuchtturm or a Moleskine and a set of coloured <span class="inlinecode">0.5</span> Muji Pens are excellent choices). That's far more immersive and flexible than a computer program can ever be. Yes, some automation and interaction with the computer (like calendar scheduling etc.) are missing. Still, an actual paper journal forces you to stay simple and focus on the actual work rather than tinkering with your computer program. (But I could not resist, and I wrote a VimScript which parses a table of contents page in Markdown format of my scanned paper journals, and NeoVim allows me to select a topic so that the corresponding PDF scan on the right journal page gets opened in an external PDF viewer (the PDF viewer is <span class="inlinecode">zathura</span>, it uses Vi-keybindings, of course) :-). (See the appendix of this blog post for that script).</p> +<p>I use "Dead Tree Mode" to organize my work and notes. Dead tree? Yeah, I use an actual pen and a real paper journal (Leuchtturm or a Moleskine and a set of coloured <span class="inlinecode">0.5</span> Muji Pens are excellent choices). That's far more immersive and flexible than a computer program can ever be. Yes, some automation and interaction with the computer (like calendar scheduling etc.) are missing. Still, an actual paper journal forces you to stay simple and focus on the actual work rather than tinkering with your computer program. (But I could not resist, and I wrote a VimScript which parses a table of contents page in Markdown format of my scanned paper journals, and NeoVim allows me to select a topic so that the corresponding PDF scan on the right journal page gets opened in an external PDF viewer (the PDF viewer is <span class="inlinecode">zathura</span>, it uses Vi-keybindings, of course) :-). (See the appendix of this blog post for that script).</p> <a class="textlink" href="https://pwmt.org/projects/zathura/">Zathura</a><br /> <p>On the road, I also write some of my notes in Markdown format to NextCloud Notes, which is editable from my phone and via NeoVim on my computers. Markdown is much less powerful than Org-mode, but I prefer it the simple way. There's a neat terminal application, <span class="inlinecode">ranger,</span> which I use to browse my NextCloud Notes when they are synced to a local folder on my machine. <span class="inlinecode">ranger</span> is a file manager inspired by Vim and therefore makes use of Vim keybindings and it feels just natural to me. </p> <a class="textlink" href="https://github.com/ranger/ranger">Ranger - A Vim inspired file manager</a><br /> @@ -95,6 +88,8 @@ endif <h2>Conclusion</h2> <p>I understand the Emacs users now. Emacs is an incredibly powerful platform for almost everything, not just text editing. With Emacs, you can do nearly everything (Writing, editing, programming, calendar scheduling and note taking, Jira integration, playing games, reading/writing emails, browsing the web, using as a calculator, generating HTML pages, configuring interactive menus, jumping around between every feature and every file within one single session, chat on IRC, surf the Gopherspace, ... the options are endless....). If you want to have one piece of software which rules it all and you are happy to invest a large part of your time in your platform: Pick Emacs, and over time Emacs will become "your" Emacs, customized to your own needs and change the way it works, which makes the Emacs users stick even more to it.</p> <p>Vim/NeoVim also comes with a very high degree of customization options, but to a lesser extreme than Emacs (but still, a much higher degree than most other editors out there). If you want the best text editor in the world, which can also be tweaked to be a decent IDE, you are only looking for: Pick Vim or NeoVim! You would also need to invest a lot of time in learning, tweaking and customizing Vim/NeoVim, but that's a little more straightforward, and the result is much more lightweight once you get used to the "Vi way of doing things" you never would want to change back. I haven't tried the Emacs vanilla keystrokes, but they are terrible (that's probably one of the reasons why Doom Emacs uses Vim keybindings by default).</p> +<p class="quote"><i>Update: One reader recommended to have a look at NvChad. NvChad is a NeoVim config written in Lua aiming to provide a base configuration with very beautiful UI and blazing fast startuptime (around <span class="inlinecode">0.02</span> secs ~ <span class="inlinecode">0.07</span> secs). They tweak UI plugins such as telescope, nvim-tree, bufferline etc well to provide an aesthetic UI experience. That sounds interesting!</i></p> +<a class="textlink" href="https://github.com/NvChad/NvChad">https://github.com/NvChad/NvChad</a><br /> <p>E-Mail your comments to paul at buetow dot org! :-)</p> <h1>Appendinx</h1> <p>This is the VimScript I mentioned earlier, which parses a table of contents index of my scanned paper journals and opens the corresponding PDF at the right page in <span class="inlinecode">zathura</span>:</p> diff --git a/gemfeed/index.html b/gemfeed/index.html index d959380d..85277f2d 100644 --- a/gemfeed/index.html +++ b/gemfeed/index.html @@ -10,7 +10,7 @@ <body> <h1>Gemfeed of foo.zone</h1> <h2>To be in the .zone!</h2> -<a class="textlink" href="./2022-11-24-i-tried-emacs-but-i-switched-back-to-neovim.html">2022-11-24 - I tried Doom Emacs, but I switched back to (Neo)Vim</a><br /> +<a class="textlink" href="./2022-11-24-i-tried-emacs-but-i-switched-back-to-neovim.html">2022-11-24 - I tried (Doom) Emacs, but I switched back to (Neo)Vim</a><br /> <a class="textlink" href="./2022-10-30-installing-dtail-on-openbsd.html">2022-10-30 - Installing DTail on OpenBSD</a><br /> <a class="textlink" href="./2022-09-30-after-a-bad-nights-sleep.html">2022-09-30 - After a bad night's sleep</a><br /> <a class="textlink" href="./2022-08-27-gemtexter-1.1.0-lets-gemtext-again.html">2022-08-27 - Gemtexter 1.1.0 - Let's Gemtext again</a><br /> @@ -29,7 +29,7 @@ <a class="textlink" href="./gemfeed/atom.xml">Subscribe to this blog's Atom feed</a><br /> <a class="textlink" href="./gemfeed/index.html">Subscribe to this blog's Gemfeed</a><br /> <h3>Posts</h3> -<a class="textlink" href="./gemfeed/2022-11-24-i-tried-emacs-but-i-switched-back-to-neovim.html">2022-11-24 - I tried Doom Emacs, but I switched back to (Neo)Vim</a><br /> +<a class="textlink" href="./gemfeed/2022-11-24-i-tried-emacs-but-i-switched-back-to-neovim.html">2022-11-24 - I tried (Doom) Emacs, but I switched back to (Neo)Vim</a><br /> <a class="textlink" href="./gemfeed/2022-10-30-installing-dtail-on-openbsd.html">2022-10-30 - Installing DTail on OpenBSD</a><br /> <a class="textlink" href="./gemfeed/2022-09-30-after-a-bad-nights-sleep.html">2022-09-30 - After a bad night's sleep</a><br /> <a class="textlink" href="./gemfeed/2022-08-27-gemtexter-1.1.0-lets-gemtext-again.html">2022-08-27 - Gemtexter 1.1.0 - Let's Gemtext again</a><br /> |
