EMBED YOUR TERMINAL RECORDINGS ONLINE

Vim hack

DATE: 2013-03-30
AUTHOR: Rahul
AUTHOR WWW: http://raahulram.weebly.com
RELATED ARTICLE: http://dunno

Related recordings:

VIM ALIGN
tags: vim align aligning text text editing text trick
VISUAL SELECTS IN VIM
tags: vim visual selects regex text editing fast
SNIPPET PLUGIN FOR VIM (POWA!)
tags: vim snippet intelligent text editing class
NUMBER LINES IN TEXT FILES
tags: number lines nl cat vim
VIM MAPPINGMANAGER PLUGIN
tags: vim editor text vi bash keyboard shortcut mapping
VIM FILE NAVIGATING AND NERDTREE
tags: vim buffer file navigating NERD NERDTree
TRANSFORMING DATA WITH VIM REPEATS
tags: vim automating text editing repeating repeats
BASHIZZLE AND VIM
tags: vim bash snippet





EMBED THIS RECORDING:
<div><script id="playterm-MjAxMy0wMy90dHlyZWNvcmQtMTM2NDY2NzQyN3w4MHgyNA==" type="text/javascript" src="https://playterm.org/js/?hash=MjAxMy0wMy90dHlyZWNvcmQtMTM2NDY2NzQyN3w4MHgyNA==" class="size:80x24"></script></div>
I recorded this `vim hack` shellsession because .. i like to share vim hacks.

sqz said

cool!
I made a mapping so you can just do ':w!!'
Put this in your .vimrc
cmap w!! w !sudo tee % > /dev/null<CR>:e!<CR><CR>

 

Name   
Email (never shown)  
Comment