VIM - Vi IMproved

0 readers
0 users here now

For Vim enthusiasts and anyone interested in Vim/Neovim!

"VIM is the greatest editor since the stone chisel." - Dr. Jose Unpingco

#HJKL

founded 1 year ago
MODERATORS
1
1
Custom tab name? (lemmy.world)
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 
 

I want to assign a name to a new tab where I'v opened the :tab term cmd....I'v looked inside the guide but I need a real example of what I'v to put in vimrc. Thanks

2
3
 
 

I received an email from on the vim_announce mailng list that Bram Moolenaar, VIM creator, died August 3 2023. RIP Bram and condolences to his family and friends.

4
 
 

I'm aware that you can "edit" binary files with :%!xxd but seriously, am I the only one to think it's totally pathetic? Vim should be better than that.

I use Hexer myself. It's binary editing done right and it should be merged into vim - as in, type :hex or something and the edition mode switches to that editor's layout.

5
 
 

He didn't say anything, but his email had the telltale :wq from someone with unshakable VI muscle memory at the end :)

6
 
 

TJ made a nice video about how to start with neovim and its configuration. I hope that this link is not against the rules since it's about neovim and not about vim .... Personally I find those 2 very very alike and with the features that I need for my daily work, I can use either one of them without noticing any difference.

https://www.youtube.com/watch?v=stqUbv-5u2s

Enjoy !

7
 
 

Hi fellow vimmers (and neo-vimmers).

Since “The Great Reddit Rebellion” I’ve found myself not wanting to go back to Reddit, together with Twitter blocking anonymous scrolling it was the push I needed to finally move to the Fediverse and get rid of corporate social media.

After a few days of being a nomad and trying different instances I found SDF and immediately felt home (I even opened a shell and became an ARPA member).

I am posting this here as I’m an avid (neo-)vimmer myself and the author of a few neovim lua plugins.

Something which irked me a bit on Reddit is the animosity between the vim and neovim subs, doesn’t make a lot of sense IMHO given we’re already a very small and niche community.

Would really love to see this place flourish and become the new home to both vim and neovim reddit refugees.

Content is important, I’m gonna try to do my part, in the meantime I’ve attached a link to a fairly popular vim cheatsheet, being the author I’m a bit biased but it’s pretty pretty good :)

To a decentralized, non-commercial internet, cheers!

8
 
 

Does anyone have experience using GNU Stow for managing dot files? I'm especially interested in using it to build a git repo to include my .vimrc file so I can sync it between hosts.

I know I've seen other methods, such as making your home directory a bare git repo, so you can check-in your config files without moving them. There is also the chezmoi golang project.

How do others sync .vimrc between hosts?

9
1
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 
 

TL;DR: I use a vim like editor which tackles Vim's greatest weakness: vis.

10
 
 

Has anyone ever tried to use vim on a non qwerty layout? I've always been interested in colemak but having to possibly re-bind every single key for vim is daunting.

11
 
 

Wow, I'm surprised that there is not a single post in here yet. Let's this to be the first one. I'm using NeoVIM tbh but we all know where we came from, right ?

12
 
 

Generalize Orgmode to Markdown and any Folding structure in Vim and Neovim. Supports Org, Markdown and any Folded file.

See the repo for more information.

Features :

  • folding based on headings in org and markdown files
  • headings based on folding in folded files
    • you can handle your folds like headings in orgmode
  • navigate in headings or list items hierarchy
    • next, previous : any level
    • forward, backward : same level as current one
    • parent heading, upper level
    • child heading, lower level :
      • loosely speaking : first headline of level + 1, forward
      • strictly speaking : must be in the current subtree
    • go to another headline with prompt completion of full path
  • modify headings or list items
    • new headline or list item
    • select, yank, delete subtree
    • promote, demote heading or list item
    • move subtree up or down
    • move current subtree in another one (aka org-refile)
    • cycle todo status
  • headlines
    • tags
  • lists
    • cycle list item prefix
    • toggle checkbox
    • checked boxes ratio on parent item
  • tables
    • inside of table : align columns
      • also works with multibyte characters
    • outside of table : align following a pattern
    • go to next or previous cell
    • go to beginning or end of cell
    • duplicate above cell content to current one
    • select cell content
    • add new row, colum
    • delete row, colum
    • move row up or down
    • move column left or right
  • links
    • store url at cursor
    • create link with url completion
    • goto link under or close to cursor
    • goto next/previous link
  • expand shortcut to template (aka org-structure-template)
    • markdown support limited to code blocks
  • insert timestamp
  • insert unicode character
    • refer to autoload/organ/unicode.vim to see available chars
  • insert result of vim or python expression
  • export in another format using
    • pandoc
    • emacs
    • asciidoc or asciidoctor
    • view exported document
  • convert headings and links org <-> markdown
13
 
 

What Lemmy .. Group do you follow ( still not sure how do you call them)

For now I just have :

- @share_your_art
- @piracy
- @vim

I'm sure there are more interesting ones that I'm not aware of :)

And the best part you dont even have to have an account there thanks to #activitypub and the #fediverse

14
 
 

Vim actually feels natural...

... to people who use vim.

15
 
 

as title says :-). Time to start posting some .vimrc / .nvimrc snippets.

16
1
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 
 

Like many others, I am a huge fan of vim and with the recent Reddit blackouts I thought this would be a great opportunity to explore alternatives for enthusiasts who - aside from in r/vim and a slightly dead [email protected] - could use some more support!

This community offers more hands on and personal resources and discussions that might bring others along in the path of learning and using vim to code (write, etc.) some amazing things!

If anyone has the direct contact of the mods who currently run r/vim, please let me know and I would be happy to appoint them as mods here as well.

Thanks!

max~┌(・。・)┘♪

17
18
 
 

Do you guys prefer visual cheat sheets better? I found this one to be very comprehensive.