vimforxcode (@vimforxcode) header
vimforxcode (@vimforxcode) profile picture

Tips on how to use Xcode Vim Mode. Run by @mokagio.

Joined October 2021
Photo by vimforxcode (@vimforxcode)Photo by vimforxcode (@vimforxcode)Photo by vimforxcode (@vimforxcode)Photo by vimforxcode (@vimforxcode)Photo by vimforxcode (@vimforxcode)Photo by vimforxcode (@vimforxcode)Photo by vimforxcode (@vimforxcode)Photo by vimforxcode (@vimforxcode)Photo by vimforxcode (@vimforxcode)Photo by vimforxcode (@vimforxcode)
vimforxcode retweeted
Has anyone seen Vim Mode improvements in Xcode 14.0 beta 1? I haven't seen any. And there's no Vim mention in the release notes either. How disappointing. 😞
1
3
Has anyone seen Vim Mode improvements in Xcode 14.0 beta 1? I haven't seen any. And there's no Vim mention in the release notes either. How disappointing. 😞
1
3
Vim for Xcode tip 🔥⌨️ Delete from the current line to the end of the file with: d Shift g
I do miss the . command, too. I keep trying to use it because muscle memory is hard to change 🥲
Yes. Xcode support count prefixes 😁 teapawt.net/vimforxcode/status/145…
Move up or down multiple lines at a time by prefixing j or k with a count
Move up or down multiple lines at a time by prefixing j or k with a count
Jump to the middle of the viewport with Shift m
2
10
⌨️🔥 Vim for Xcode Pro Tip Move the cursor to the bottom of the file with Shift g
2
4
⌨️🔥 Vim for Xcode Pro Tip Move the cursor to the top of the file with gg
2
4
23
⌨️Vim for Xcode Pro Tip ⌨️ Stuck on a TouchBar MacBook Pro with no Esc key? No dramas! You can use Ctrl [
2
3
One thing is for sure: Either option is way faster than Xcode's Cmd L shortcut 🐢
1
3
You can jump to a line using <line number>G, too. Although, I find it's faster to hit the g key twice than to travel to the Shift key with a pinky and then hit g while holding Shift. YMMV 🤷‍♂️ There's more than one way to get stuff done in Vim – Choose your own adventure!
1
1
4
⌨️ Vim for Xcode Pro Tip 🔥 Jump to any line with <line number>gg 👌
1
1
8
⌨️ Vim for Xcode Pro Tip 👉 Easily replace the content of a string with ci"
2
14
First things first: How to enable Vim keybindings.