Rethinking Neovim as a Tool For Writers

Поділитися
Вставка
  • Опубліковано 9 чер 2024
  • If you're already invested into Neo/Vim, you know all the motions, move life fire when editing text. What's the point in ditching it when actually editing longer pieces of text?
    I mean, essays, blogs, notes, any text that isn't an actual phone text, would be easier in Vim (or with it's motions) then Notion or Apple notes or what have you.
    Let's make VIm a heaven for writers.
    Best ways to support this channel:
    🎓 My course: learn.omerxx.com/courses/seco...
    📰 Become a better engineer in just 3 minutes a week: signup.omerxx.com
    ⌨️ Tech I use: kit.co/omerxx/my-battle-station
    LINKS
    ▶ • #VimConf2021: Writing,...
    ▶ github.com/omerxx/dotfiles
    ⏱ Timestamps
    00:00 - Intro
    01:00 - Basic config
    01:28 - Markdown Preview
    02:22 - Twilight & ZenMode
    03:48 - Pencil
    05:05 - Spellcheck
    07:08 - GPT.nvim
    #productivity #writers #authors #neovim #terminal #vim #dev #devops #linux #console
  • Наука та технологія

КОМЕНТАРІ • 67

  • @MrRobot24
    @MrRobot24 4 місяці тому +5

    Great video, thanks for all the info you are posting its really is helpful. Keep up the great work. I love seeing your stuff.

  • @JakeDevs
    @JakeDevs 4 місяці тому +2

    I've been trying to figure this out every day since last week. This speeds things up.

  • @guglielmobartelloni
    @guglielmobartelloni 4 місяці тому

    Less goo I was waiting for this

  • @darccau7204
    @darccau7204 4 місяці тому

    Dude it's awesome. thanks for sharing.

  • @runfromnuke
    @runfromnuke 4 місяці тому

    Awesome info! Definitely going to be taking some tidbits from this.
    On an unrelated note, when you zoom and focus on specific text, is the sound effect from a common library? It reminds me of an old puzzle game I used to play. Gives me some nice nastolgia, so thanks for that!

  • @rafaelgomes3054
    @rafaelgomes3054 4 місяці тому

    Hi! This did so much to quench thirsts I didn't even knew I had.
    Let me ask you something. Any tips on using MDX files with NeoVim? I can't seem to find any good plugins for it.

  • @sylvanfranklin6904
    @sylvanfranklin6904 4 місяці тому

    Awesome video! I'm curious about how you get the frosted glass look on the terminal in these videos? It look like you're on a mac Allacritty?

    • @devopstoolbox
      @devopstoolbox  4 місяці тому +1

      I used to do that with either alacritty or wezterm, but this one is just an editing trick :) I normally just use the standard catppuccin background. no transparency

  • @NilEoe
    @NilEoe 4 місяці тому

    Looks very clean. May I ask what font you’re using ? Looks very “readable” and elegant while being monospaced

  • @hudsonfinn7001
    @hudsonfinn7001 4 місяці тому

    Awesome video! How do you get the tabs (Blog, Home, Time, etc) at the top of the terminal?

    • @devopstoolbox
      @devopstoolbox  4 місяці тому

      Watch this ;)
      ua-cam.com/video/GH3kpsbbERo/v-deo.html

  • @Nicolas-sq4fj
    @Nicolas-sq4fj 4 місяці тому

    Great video as usual! What browser are you using with that transparency? It looks sick

    • @devopstoolbox
      @devopstoolbox  4 місяці тому

      Thank you! Browser? Or you mean the terminal?
      I'm with wezterm and while you can achieve that this is just an editing trick ;)

    • @Nicolas-sq4fj
      @Nicolas-sq4fj 4 місяці тому

      Dang… neovim/terminal transparency works easy enough, i wish I could do that across my entire workflow, even the browser!
      The editing looks super clean though!

    • @gomen98
      @gomen98 4 місяці тому +1

      ​@@devopstoolboxhow did you blur wezterm? Thought it didn't support the blur

    • @devopstoolbox
      @devopstoolbox  4 місяці тому

      @@gomen98 not quite. Editing trick 😎

  • @soypablobernardo
    @soypablobernardo 4 місяці тому

    Very cool setup and well detailed?
    Is this what you also use to write your blog? It seems to be done via a static site generator, would mind shortly explaining what are you using?

    • @devopstoolbox
      @devopstoolbox  4 місяці тому +1

      Yep! I use this setup for everything. My site is running on Jekyll (needs an update when I have time) and my newsletter is also pure markdown, my notes and everything else - same thing ☺️

    • @soypablobernardo
      @soypablobernardo 4 місяці тому

      @@devopstoolbox Oh, great. I have used Hugo in the past but I find part of the syntax (the parts where it's not simple markdown) a bit disturbing.
      I'll check Jekyll.
      Thanks for your reply.

    • @devopstoolbox
      @devopstoolbox  4 місяці тому

      @@soypablobernardo I actually think Hugo is more modern but Jekyll is a solid choice. Pretty sure GitHub pages still runs Jekyll in the back!

  • @ebeneZr
    @ebeneZr 4 місяці тому

    is the vimtex plugin not maintained anymore? i cant get it to work with lazy vim

  • @bluefaolan
    @bluefaolan 3 місяці тому

    I need help figuring out how to add vim-pencil to Neovim. I'm new to using nvim, and vim in general, but I've gotten used to either using brew or adding a plugin with Lua, but looking at the git hub page for vim-pencil, it just says I can use built-in packages but I'm not sure I follow. Any advice? PS I'm using lazy vim currently, if that helps or changes anything.

  • @lpanebr
    @lpanebr 4 місяці тому

    6:29 zGood and zWrong is genius!

  • @korigamik
    @korigamik 4 місяці тому +1

    What is the plug-in that you are using at 3:08

    • @kald360
      @kald360 4 місяці тому

      folke/noice.nvim

    • @devopstoolbox
      @devopstoolbox  4 місяці тому +1

      This is my Tmux session manage!
      tmux-sessionx on GitHub (github.com/omerxx/tmux-sessionx)

  • @Linuxdirk
    @Linuxdirk 3 місяці тому

    For writers … it needs support for non-monospace fonts (which is somewhat impossible because of how Neovim writes its TUI and text content) and configurable line-height and paragraph spacing. Yes, those ar minimal details but in my opinion super important.
    So yes, for people who need to write, it can be set up absolutely well and it does it job perfectly fine. But writers as in “I’m a writer”? I’m not so sure.

    • @devopstoolbox
      @devopstoolbox  3 місяці тому

      I write a lot and happy with it, but I’m no author.. this is guys however, is! - ua-cam.com/video/2ORWaIqyj7k/v-deo.html

    • @bluefaolan
      @bluefaolan 3 місяці тому +2

      As a writer and a novelist, I call shenanigans. And, just to be clear, I'm not defending vim/nvim here; I am just going to point out that I believe you're thinking about this from a different perspective than most. If you care about the look and feel of your text, then you are likely wanting to focus on the layout design and therefore need publishing software--not writing software. Authors who don't always fuss about the look and feel of the text, will just go with times new roman, or Helvetica, or calibre--if they even bother to change it from whatever the default font is in the first place. They'll pick a size that's easy enough to read and then head off to races, happy as a clam.
      People will even use things like a FreeWrite that barely lets you change the size of the font, let alone the font type, and just pound away at the keys until they are satisfied with their work. The act of writing, just the simple act of typing until the completion of a thought or an idea, doesn't need fancy formatting. That, in the end, is what the editing and formatting stage is for, and that can all be done in the post production stage by either the author themselves or their editor.
      The point that most people are talking about when they talk about using Neovim or something like it for writing, even for writing something long form like a novel, is the idea that they can build an environment that is as cluttered or as minimalist as they like and they can do fancy things that help speed up their creative process. I understand your thought and yeah--some extra font options that aren't monospaced might be nice, but it's not really necessary. Doing world building in Neovim is more about getting into the flow state and letting go, not about having options and toolbars cluttering up everything. And, yes--before you feel the need to raise the question--there will be some extensive set up involved that other software like Scrivener, word/pages, or Ulysses simply does not require; however, the ability to just dive in and type without clutter or distraction is what's at the end of that journey.

  • @SilverSeleucid
    @SilverSeleucid 4 місяці тому +1

    I want to get my life fixed and use neovim and obsidian on my macbook for note taking for university and story writing for fun. these seems perfect for me but this video uses very technical language and assumes i have a lot of prior vim knowledge to configure plugins and use vim.
    I have no desire to be a developer. do you have an existing video explaining how to do this presuming zero prior knowledge? can i just copy dotfiles? and how do i even do that? i dont know what to do with these dotfiles.
    if you could expand on these topics for people with zero technical background or knowledge in vim that would be awesome.

    • @SilverSeleucid
      @SilverSeleucid 4 місяці тому +1

      how do i make my vim look so cool like yours with the transparency and fancy little icons on the top and colors?

    • @devopstoolbox
      @devopstoolbox  4 місяці тому

      Interesting audience no doubt! I'm releasing something this week that might help with that, however to answer your question directly - if yo just focus on Vim and its motions that's enough! Then you can use obsidian's UI with vim motions.
      If you do want Neovim, take my dotfiles config and just load it, Lazy should take of everything for you!

    • @devopstoolbox
      @devopstoolbox  4 місяці тому

      @@SilverSeleucid So ignore the transparency as this was done with a video editor, you can achieve this with terminals like alacritty / wezterm if you really want.
      As per the "fancy icons" these come from tmux. I have a video covering this from scratch, search "tmux from scratch to beast mode" on my channel's recent videos

    • @SilverSeleucid
      @SilverSeleucid 4 місяці тому

      @@devopstoolbox Thank you so much! its tough to cut through the tech jargon but this comment helps a lot!

  • @cyberlis8372
    @cyberlis8372 4 місяці тому +1

    What is your CmdLine plugin?

  • @007arek
    @007arek 4 місяці тому +1

    wouldn't asciidoctor be better for writers? It's better for creating books or documents.

    • @devopstoolbox
      @devopstoolbox  4 місяці тому

      Short answer - probably.. Longer answer - If I'm invested as much as I am into Neovim, I don't bother with other tools. What I can bring in comes in. I can open my second brain notes / code / handle any text I need so I prefer it this way (as well as the cool author who spoke on vimconf).
      That said, tools are a preference... YMMV

  • @007arek
    @007arek 4 місяці тому

    Don't you sometimes get different meaning from AI text correction?

    • @devopstoolbox
      @devopstoolbox  4 місяці тому

      Yep. Great point. Gotta be careful with these.

  • @AaronConway
    @AaronConway 4 місяці тому

    gotta fvim for variable width fonts.

  • @LIOMETECH
    @LIOMETECH 3 місяці тому +1

    can u show your keymap

    • @devopstoolbox
      @devopstoolbox  3 місяці тому

      Of course: dotfiles.omerxx.com

    • @LIOMETECH
      @LIOMETECH 3 місяці тому

      @@devopstoolbox no i mean something as docs about your keymap-mapping ( nvim) after your config lol

  • @ShaneHolloman
    @ShaneHolloman 4 місяці тому +1

    great content but the sound effect are over the top, very dirstracting, I had to turn the sound off

  • @samarthnagar3856
    @samarthnagar3856 4 місяці тому

    Well time to write an book i guess

  • @limitless1692
    @limitless1692 Місяць тому

    Letting ChatGPT into my personal VIM is a bad idea :(
    It is like inviting the devil in your home!!!

    • @devopstoolbox
      @devopstoolbox  Місяць тому

      Well... I wouldn't say I disagree, but on the other hand, especially when working on open source, or smaller projects I think it's mostly fine.
      That said, you can use something like Ollama and enjoy a local model worry-free!

  • @QuOUseTERSEa
    @QuOUseTERSEa 4 місяці тому +3

    LaTex much better for a book

    • @mateuszalmannai5865
      @mateuszalmannai5865 4 місяці тому +11

      you can latex in vim just fine

    • @theharozomber5201
      @theharozomber5201 4 місяці тому

      Vimtex

    • @stevet7522
      @stevet7522 3 місяці тому

      What would make latex better than markdown for a book? Looks like a lot more work to get the same resault.

  • @Selbstzensur
    @Selbstzensur 3 місяці тому

    Neovim is like equipping a horse-drawn carriage with a combustion engine or electric motor. It has its charm, but as a professional software developer I need tools that work according to my needs without any configuration effort. An editor that constantly stops me from working because I have to reconfigure this or that function simply sucks. Sure, if you don't have friends and aren't in a committed relationship and have a lot of time to fill somehow, then like the former Junkee Primagen you can appropriate that shit and jerk off to the fact that you work at Netflix. You still don't have my respect for this ego porn though! Because I'm a service provider, and I solve problems for other people and use professional tools that work simply because people have thought about my needs as a target group.

    • @devopstoolbox
      @devopstoolbox  3 місяці тому

      Hi, using Neovim for production code in the past ~6 years, lots of customers. The configurations are set once, the rest is when you feel you want to improve. IMHO it saves time far more than it consumes. But again, it’s a free world, use what works for you buddy

    • @mychaljohnston3522
      @mychaljohnston3522 2 місяці тому

      I'm a professional software developer, have a wife, and friends, and I switched from VSCode to NeoVim in a matter of a couple of days. The configuration aspect can be handled by LazyVim to get you to a good baseline, then if you really want to add stuff, which I did, it's usually as simple as adding the name of the plugin to a particular configuration file. If you want to dive into the details and change config options, you can do that, and yes it is time-consuming, but you can also skip it. Same thing with VSCode, except you use a GUI to change the details of extensions and settings. In NeoVim, it's a Lua file. As a professional software developer, it shouldn't be all that intimidating.

  • @vanvothe4817
    @vanvothe4817 4 місяці тому +3

    your vim is very distracting

    • @devopstoolbox
      @devopstoolbox  4 місяці тому +3

      What do you mean?

    • @midmeh
      @midmeh 4 місяці тому

      ​@@devopstoolboxprobably the transparent background and blur

    • @devopstoolbox
      @devopstoolbox  4 місяці тому

      @@midmeh I got this quite a lot when I started but over time I figured the vast majority of viewers enjoy this for it’s aesthetics. Never found the middle ground TBH. Losing it altogether is not something I’d be happy with unless I find an alternative. I do try to tone it down and maybe I’ll take your advice and push it a little further.
      I hope you did manage to watch regardless and got some value out of it.

    • @samarthnagar3856
      @samarthnagar3856 4 місяці тому

      ​@@midmeh my setup is like his and we are use to it transparent background is something I can't leave it makes me feel a bit less in a box