From 024dd04edc16693545fb916150e6361f0626aad0 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Sat, 8 Jun 2024 17:06:10 +0800 Subject: Update --- snippets/html/html_with_basic_head | 21 +++++++++++++++++++++ snippets/lua/keymap | 6 ++++++ 2 files changed, 27 insertions(+) create mode 100644 snippets/html/html_with_basic_head create mode 100644 snippets/lua/keymap (limited to 'snippets') diff --git a/snippets/html/html_with_basic_head b/snippets/html/html_with_basic_head new file mode 100644 index 0000000..219bae2 --- /dev/null +++ b/snippets/html/html_with_basic_head @@ -0,0 +1,21 @@ + + + + + + + + My Website + + + + + + + +
+
+

foo

+
+ + diff --git a/snippets/lua/keymap b/snippets/lua/keymap new file mode 100644 index 0000000..7ea9396 --- /dev/null +++ b/snippets/lua/keymap @@ -0,0 +1,6 @@ +vim.keymap.set( + 'n', + 'gp', + require('gitsigns').prev_hunk, + { buffer = bufnr, desc = '[G]o to [P]revious Hunk' } +) -- cgit v1.2.3-70-g09d2