commit a7a6d1475ff527516a423116e5256a8b5559e3d8 parent 8d2e220fa4c9f35fea1208c2efb5d54897ed1f56 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Fri, 14 Jun 2019 22:37:50 +0200 Move snippets and myfiletype to plugins Diffstat:
R | .config/vis/myfiletype.lua -> .config/vis/plugins/myfiletype.lua | | | 0 | |
A | .config/vis/plugins/snippets.lua | | | 10 | ++++++++++ |
M | .config/vis/visrc.lua | | | 4 | ++-- |
3 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/.config/vis/myfiletype.lua b/.config/vis/plugins/myfiletype.lua diff --git a/.config/vis/plugins/snippets.lua b/.config/vis/plugins/snippets.lua @@ -0,0 +1,10 @@ +-- snippets +vis:map(vis.modes.INSERT, '`sig', + '-- \n' .. + 'Anders Damsgaard\n' .. + '--\n' .. + 'Academia: https://adamsgaard.dk\n' .. + 'Photography: https://andersdamsgaard.com\n' .. + 'PGP public key: https://adamsgaard.dk/ad-public-key.txt\n' .. + 'PGP fingerprint: 5C95 9DF2 43CE 4DD1 7A5B 2610 B790 F4AD 1BF8 58FE') + diff --git a/.config/vis/visrc.lua b/.config/vis/visrc.lua @@ -1,8 +1,8 @@ require('vis') -require('myfiletype') +require('plugins/myfiletype') require('plugins/vis-commentary') require('plugins/fzf-mru') -require('snippets') +require('plugins/snippets') leader = '<Space>'