diff --git a/lua/plex/config/keymaps.lua b/lua/plex/config/keymaps.lua index d4f80b9..c218c88 100644 --- a/lua/plex/config/keymaps.lua +++ b/lua/plex/config/keymaps.lua @@ -120,8 +120,10 @@ map('n', 'o', 'o', { desc = 'Insert newline below' }) map('i', '', 'o', { desc = 'Start Newline' }) -- Split and join lines -map('n', 'jj', ':join', { desc = 'Join lines', silent = true }) -map('n', 'ss', 'ik', { desc = 'Split lines', silent = true }) +map('n', 'jj', ':joing$', { desc = 'Join lines', silent = true }) +map('n', 'jJ', 'k:joinj', { desc = 'Join lines', silent = true }) +map('n', 'ss', 'i', { desc = 'Split lines', silent = true }) +map('n', 'sS', 'ik', { desc = 'Split lines', silent = true }) -- Re-select blocks after indenting in visual/select mode map('x', '<', 'sj', 'TSJJoin' }, diff --git a/lua/plex/plugins/extras/ui/dashboard.lua b/lua/plex/plugins/extras/ui/dashboard.lua index 1900ac8..4e61881 100644 --- a/lua/plex/plugins/extras/ui/dashboard.lua +++ b/lua/plex/plugins/extras/ui/dashboard.lua @@ -1,3 +1,20 @@ +local function get_header() + -- see https://github.com/MaximilianLloyd/ascii.nvim + return { + -- The following is a customized version! + [[ ]], + [[  ]], + [[ █ ███████ █████ ██ ]], + [[ ███ █████ █████  ]], + [[ █████ ███ ███████████████████ ███ ███████████ ]], + [[ ██ ██ █ ███ █████████████ █████ ██████████████ ]], + [[ ████ ████ ██████████ █████████ █████ █████ ████ █████ ]], + [[ ██████ ██ ███ ███ █████████ █████ █████ ████ █████ ]], + [[ ████████  ██████████████████ ████ █████ █████ ████ ██████ ]], + [[ ]], + } +end + return { { 'glepnir/dashboard-nvim', @@ -7,11 +24,9 @@ return { theme = 'hyper', config = { - header = { - foo = "bar", - }, + header = get_header(), week_header = { - enable = true, + enable = false, }, shortcut = { { @@ -50,6 +65,17 @@ return { key = 's', }, }, + + project = { + enable = true, + limit = 8, + icon = '', + label = ' Projects', + action = 'Telescope find_files cwd=' + }, + packages = { enable = true}, + mru = { limit = 10, icon = '', label = ' Last Edited'}, + -- footer = { 'footer bar foo' }, }, }) diff --git a/spell/en.utf-8.add b/spell/en.utf-8.add index 0550369..7b827eb 100644 --- a/spell/en.utf-8.add +++ b/spell/en.utf-8.add @@ -21,3 +21,5 @@ Testvectors possibilites/! Hexdumper hexdumped +Atlassian +Initialkosten diff --git a/spell/en.utf-8.add.spl b/spell/en.utf-8.add.spl index 16efe26..1f9eb62 100644 Binary files a/spell/en.utf-8.add.spl and b/spell/en.utf-8.add.spl differ