VIM - Vi IMproved

1156 readers
1 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 2 years ago
MODERATORS
26
57
submitted 2 years ago by bhagwan to c/vim
 
 

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!

27
 
 

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?

28
11
submitted 2 years ago* (last edited 2 years ago) by wgs to c/vim
 
 

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

29
 
 

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.

30
18
submitted 2 years ago by DammN to c/vim
 
 

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 ?

31
 
 

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
32
15
submitted 2 years ago by lntl to c/vim
 
 

Vim actually feels natural...

... to people who use vim.

33
9
submitted 2 years ago by DammN to c/vim
 
 

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

34
35
submitted 2 years ago* (last edited 2 years ago) by maxficco to c/vim
 
 

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 !vim@lemmy.ml - 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~┌(・。・)┘♪

35
12
submitted 2 years ago by maxficco to c/vim
36
32
Vim Cheat Sheet (vim.rtorr.com)
submitted 2 years ago by maxficco to c/vim
 
 

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