Skip to content

Instantly share code, notes, and snippets.

View ironicbadger's full-sized avatar

Alex Kretzschmar ironicbadger

View GitHub Profile
@ironicbadger
ironicbadger / vim-shortcuts.md
Created October 27, 2017 13:30 — forked from tuxfight3r/vim-shortcuts.md
VIM SHORTCUTS

VIM KEYBOARD SHORTCUTS

###MOVEMENT###

h        -   Move left
j        -   Move down
k        -   Move up
l        -   Move right
$        -   Move to end of line
0        -   Move to beginning of line (including whitespace)
## credit: http://fabian-affolter.ch/blog/the-lineinfile-module-of-ansible/
---
- hosts: alpine_install
user: root
tasks:
# - name: create a complete empty file
# command: /usr/bin/touch /test/test.conf
- name: create a new file with lineinfile