My Vimrc: Customized for Markdown Writing & Nothing Else

Поділитися
Вставка
  • Опубліковано 6 лют 2025

КОМЕНТАРІ • 32

  • @nbn22385
    @nbn22385 4 роки тому +1

    Thanks for the video.
    The is a carriage return, which simulates pressing Enter after the command.

  • @robertbower9862
    @robertbower9862 4 роки тому +4

    Great video. It's nice to see someone else who uses vim and doesn't write code. Your setup is similar to mine but I would recommend a couple of utilities, fzf and silver searcher, and the fzf plugin for vim called fzf-vim. Between those you can find any thing you are looking for while in Vim from files, text within files, and many other vim related items.

  • @arjaz1150
    @arjaz1150 4 роки тому +3

    You can map to :Lex!:vertical resize 30 and it will resize yout split automatically

    • @3N4N
      @3N4N 4 роки тому

      @@makc And you should read up on the difference between `map`, 'remap`, 'noremap`, etc. Just skim through the help docs.

  • @muskyoxes
    @muskyoxes 4 роки тому +8

    "do you know how much text you'd need for a 1 megabyte file?" I thought I once computed that to about 440 paperback pages. It'd be cool to know how close that is.

  • @craigshea2930
    @craigshea2930 2 роки тому

    You can use `set signcolumn=yes` to make sure the sign column is always displayed for git gutter. Then, `set updatetime=100` changes vim's UI update time from 4000ms (that's 4 seconds!) to 100ms, which means your git gutter will update almost immediately.

  • @PabloAndresDealbera
    @PabloAndresDealbera 4 роки тому +1

    Nice undervalued video, you deserve more views!

  • @ahmadshahzad5404
    @ahmadshahzad5404 3 роки тому

    Vim now has basic markdown support built-in (italics, bold, etc.)

  • @marksmod
    @marksmod 4 роки тому +2

    1:45 in are seriosity (yesyes, I know) if you use vim, it probably only makes sense if you program, and program fast at that. The gains for any other application, any application which doesn't require you to switch between >5 files within 5 minutes, which doesn't require you to jump between lines in less than a minute, probably will not make a big difference. But fuck it, vim is great. long live ncurses

  • @drumpf4all
    @drumpf4all 4 роки тому +2

    Just subbed. You're a hidden gem.

  • @eje77
    @eje77 2 роки тому +1

    Still a great video after all this time.
    I too like using the built in file-browser in Vim (netrw) and think that 30 colums is a good with to Lexplore-split in. I recently found that netrw has a setting for setting the size of the window opened when opened in a split.
    let g:netrw_winsize = 30
    This would have your Lex-command open in a split that is 30% of your screen size.

    • @makc
      @makc  2 роки тому

      Nice, thanks for that

  • @kartikxramesh
    @kartikxramesh 4 роки тому

    Great video! What font is that?

  • @johnmcgiv1
    @johnmcgiv1 4 роки тому

    Hi Makc, I have just started with Vim unfortunately I type very slow and am trying to learn a bit of program language. Your video is excellent you have come a long way since you say you started with version8 I am still trying to learn how to install some plugins but I'll get there trouble is I am almost 70haha but enjoy trying to learn, only negative is font size very difficult to see, once again thanks for video from u.k.

  • @Good-and-Geeky
    @Good-and-Geeky Рік тому

    incredibly incredibly useful… 😂

  • @olddingodude
    @olddingodude 4 роки тому

    Great vid. Why did you decide on vim rather than neovim? trying to work out which choice and why...

    • @makc
      @makc  4 роки тому +1

      I’ve actually switched to neovim now

  • @elrisitas8508
    @elrisitas8508 4 роки тому +1

    why i cant play this video @1080p

  • @norgeball3971
    @norgeball3971 3 роки тому +1

    Aesthetically, we have almost the same taste! Subscribed!

  • @smccrode
    @smccrode 4 роки тому

    to get rid of the redundant --INSERT-- use `set noshowmode`.

  • @zholud
    @zholud 3 роки тому

    I liked the Goyo plugin - thank you!!! The only thing I noticed when I installed it was that it turns off relative numbers - don't you use them when you write?

    • @makc
      @makc  3 роки тому +1

      I don’t find them all that helpful to the way I work. I’ve got line numbers turned of completely in my most recent config

    • @zholud
      @zholud 3 роки тому

      @@makc Lucky you! How do you yank some lines of text in normal mode then? Ctrl-V? I find it hard to do something like y6j or y17j - because my touch typing is a bit behind with numbers and characters like $,%,^...

  • @VictorRodriguez-zp2do
    @VictorRodriguez-zp2do 4 роки тому

    You can configure the default with of the NerdTree window with:
    let g:NERDTreeWinSize=30

    • @VictorRodriguez-zp2do
      @VictorRodriguez-zp2do 4 роки тому

      @@makc I have used the default vim explorer and I can't recommend it. At least on my experience it wouldn't leave me escape Vim because it would leave certain buffers open and do other small things which aren't a big deal but are annoying on their own. It may be different now since I haven't tried the default file explorer for a while.

    • @nikinbaidar581
      @nikinbaidar581 4 роки тому

      You can use let g:netrwWinSize=30
      To do the same thing as vsplit 30 @MAKC

  • @shell4331
    @shell4331 4 роки тому

    Great video! Do you happen to know of any a plug-in similar to Git Gutter that can track changes made to a markup document (for example, one made using LaTeX) without having to use Git?

    • @shell4331
      @shell4331 4 роки тому

      You were right Mack, Git wasn't that hard to set up, indeed. It makes navigating between different versions of a same file so easy. Thanks!

  • @PalinuroRex
    @PalinuroRex 4 роки тому

    Thanks

  • @alvarocarneiro7664
    @alvarocarneiro7664 4 роки тому

    hello there dream

  • @igormorgado
    @igormorgado 3 роки тому +1

    so many errors and redundant configuration in vim files.

    • @makc
      @makc  3 роки тому

      Errors are a trademark for me at this point. Thx for watching!