summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/_dashboard
diff options
context:
space:
mode:
authoraktersnurra <grydholm@kth.se>2021-04-19 21:45:03 +0200
committeraktersnurra <grydholm@kth.se>2021-04-19 21:45:03 +0200
commit69347ce034f8966579e72dc969ec808363fdfaeb (patch)
tree3be9e1b1547a0871826b6112a0d88406572b02ba /.config/nvim/lua/_dashboard
parent23b895222a16925d39d04d45dedbedec9db0c752 (diff)
Add missing files of nvim conf
Diffstat (limited to '.config/nvim/lua/_dashboard')
-rw-r--r--.config/nvim/lua/_dashboard/init.lua32
1 files changed, 32 insertions, 0 deletions
diff --git a/.config/nvim/lua/_dashboard/init.lua b/.config/nvim/lua/_dashboard/init.lua
new file mode 100644
index 0000000..409bc2a
--- /dev/null
+++ b/.config/nvim/lua/_dashboard/init.lua
@@ -0,0 +1,32 @@
+vim.g.dashboard_custom_header = {
+ ' ##############..... ############## ',
+ ' ##############......############## ',
+ ' ##########..........########## ',
+ ' ##########........########## ',
+ ' ##########.......########## ',
+ ' ##########.....##########.. ',
+ ' ##########....##########..... ',
+ ' ..##########..##########......... ',
+ ' ....##########.#########............. ',
+ ' ..################JJJ............ ',
+ ' ################............. ',
+ ' ##############.JJJ.JJJJJJJJJJ ',
+ ' ############...JJ...JJ..JJ JJ ',
+ ' ##########....JJ...JJ..JJ JJ ',
+ ' ########......JJJ..JJJ JJJ JJJ ',
+ ' ###### ......... ',
+ ' ..... ',
+ ' . ',
+}
+
+
+vim.g.dashboard_default_executive = 'telescope'
+
+vim.g.dashboard_custom_section = {
+ a = {description = {' Find File '}, command = 'Telescope find_files'},
+ b = {description = {' Recently Used Files'}, command = 'Telescope oldfiles'},
+ c = {description = {' Load Last Session '}, command = 'SessionLoad'},
+ d = {description = {' Find Word '}, command = 'Telescope live_grep'},
+ e = {description = {' Settings '}, command = ':e ~/.config/nvim/language-settings.lua'}
+}
+