danielhpavey.uk

A sorta, kinda, web development and design blog...

Posts tagged #vim:

Auto Format Entire Document in Vim

Monday 24 April 2017

Auto Format Entire Document in Vim gg=G Source: gg=G auto-formats the entire document:args src/**/*.<ext> | argdo silent execute "normal gg=G" | update fixes all source files indentation— Mastering Vim (@MasteringVim) April 22, 2017

Tags: #vim #web dev

Interactive History of Vim Commands

Monday 3 April 2017

Interactive History of Vim Commands q: simple... Did you know that q: gets you an interactive history of : commands. You can edit or run them(hitting enter). https://t.co/0HvURMTh1N— Mastering Vim (@MasteringVim) April 1, 2017

Tags: #vim #web dev

How to get in interative history of commands in Vim

Friday 17 February 2017

How To Get In Interative History Of Commands In Vim Did you know that q: gets you an interactive history of : commands. You can edit or run them(hitting enter). https://t.co/0HvURMTh1N— Mastering Vim (@MasteringVim) February 17, 2017

Tags: #vim #css #web

Open All Files Staged in Git in Vim

Thursday 9 February 2017

Open All Files Staged in Git in Vim vim git status --porcelain | sed -E -e 's/^M|^A//g' This is working for me in iTerm on my Mac...

Tags: #vim #web dev #git

Open URL in Vim in Default Browser

Wednesday 25 January 2017

Open URL in Vim in Default Browser gx If your running Vim 7.4 or over it's as simple as that...

Tags: #vim #web dev

Infinite Vim Monkey Theorem

Sunday 28 February 2016

Infinite Vim Monkey Theorem Infinite Vim Monkey Theorem. #vimhttps://t.co/0HvURMTh1N pic.twitter.com/MPNEvZYhbc— Mastering Vim (@MasteringVim) February 26, 2017

Tags: #vim #web dev

How do you reload your .vimrc file without restarting vim?

Friday 4 December 2015

How do you reload your .vimrc file without restarting vim? :so $MYVIMRC How do you reload your .vimrc file without restarting vim? - Super User

Tags: #vim #web dev

Vim Keymapping for Changing a CSS Property Value

Wednesday 20 May 2015

Vim Key Mapping for Changing a CSS Property Value I'm quite pleased with this one. I love Vim and work with CSS a lot! I've finally got around to setting up a key mapping to quickly edit a css property value. This is something I do a lot and have felt for a…

Tags: #vim #css #web

Launch Vim With No Plugins or Settings

Thursday 7 May 2015

Launch Vim With No Plugins or Settings $ vim -u NONE or to create / edit a file: $ vim -u NONE fileyouwantopen

Tags: #vim