aboutsummaryrefslogtreecommitdiffhomepage
path: root/snippets
diff options
context:
space:
mode:
Diffstat (limited to 'snippets')
-rw-r--r--snippets/html/details2
-rw-r--r--snippets/lua/function3
-rw-r--r--snippets/lua/keymap4
-rw-r--r--snippets/markdown/table6
l---------snippets/snippets1
5 files changed, 14 insertions, 2 deletions
diff --git a/snippets/html/details b/snippets/html/details
new file mode 100644
index 0000000..26ecaa6
--- /dev/null
+++ b/snippets/html/details
@@ -0,0 +1,2 @@
1<details><summary>TITLE</summary>
2</details>
diff --git a/snippets/lua/function b/snippets/lua/function
new file mode 100644
index 0000000..4a0ea5e
--- /dev/null
+++ b/snippets/lua/function
@@ -0,0 +1,3 @@
1function()
2
3end
diff --git a/snippets/lua/keymap b/snippets/lua/keymap
index 7ea9396..255fe49 100644
--- a/snippets/lua/keymap
+++ b/snippets/lua/keymap
@@ -1,6 +1,6 @@
1vim.keymap.set( 1vim.keymap.set(
2 'n', 2 'n',
3 '<leader>gp', 3 '<leader>gp',
4 require('gitsigns').prev_hunk, 4 require('gitsigns').prev_hunk,
5 { buffer = bufnr, desc = '[G]o to [P]revious Hunk' } 5 { buffer = bufnr, desc = '[G]o to [P]revious Hunk' }
6) 6)
diff --git a/snippets/markdown/table b/snippets/markdown/table
new file mode 100644
index 0000000..cb95fd4
--- /dev/null
+++ b/snippets/markdown/table
@@ -0,0 +1,6 @@
1| Column1 | Column2 | Column3 | Column4 |
2| --------------- | --------------- | --------------- | --------------- |
3| Item1.1 | Item2.1 | Item3.1 | Item4.1 |
4| Item1.2 | Item2.2 | Item3.2 | Item4.2 |
5| Item1.3 | Item2.3 | Item3.3 | Item4.3 |
6
diff --git a/snippets/snippets b/snippets/snippets
new file mode 120000
index 0000000..a05fd8e
--- /dev/null
+++ b/snippets/snippets
@@ -0,0 +1 @@
/home/pham/helper/snippets \ No newline at end of file