From d31de18bd0b25712797e0143e187dbc4839325f8 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Thu, 7 Sep 2023 22:11:04 +0200 Subject: [PATCH 01/16] add eunuch for sudo stuff --- lua/plex/plugins/extras/editor/vim-eunuch.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 lua/plex/plugins/extras/editor/vim-eunuch.lua diff --git a/lua/plex/plugins/extras/editor/vim-eunuch.lua b/lua/plex/plugins/extras/editor/vim-eunuch.lua new file mode 100644 index 0000000..c767058 --- /dev/null +++ b/lua/plex/plugins/extras/editor/vim-eunuch.lua @@ -0,0 +1,12 @@ +return { + { + -- enables UNIX specific stuff in vim, + -- specifically: + -- :SudoWrite + -- :SudoRead + -- :Chmod + -- and also some more, but those are easy done with shell + "tpope/vim-eunuch", + lazy=false, + } +} From b58b02b54630d746548b4fb1cc996916a60fd297 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Thu, 7 Sep 2023 22:28:08 +0200 Subject: [PATCH 02/16] suda usage --- lua/plex/config/options.lua | 2 ++ lua/plex/plugins/editor.lua | 2 +- lua/plex/plugins/extras/editor/vim-eunuch.lua | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lua/plex/config/options.lua b/lua/plex/config/options.lua index b1364d8..11aef7e 100644 --- a/lua/plex/config/options.lua +++ b/lua/plex/config/options.lua @@ -213,6 +213,8 @@ vim.g.loaded_node_provider = 0 vim.g.no_gitrebase_maps = 1 -- See share/nvim/runtime/ftplugin/gitrebase.vim vim.g.no_man_maps = 1 -- See share/nvim/runtime/ftplugin/man.vim +vim.g.suda_smart_edit = 1 -- smart suda open and write + -- Filetype detection -- === diff --git a/lua/plex/plugins/editor.lua b/lua/plex/plugins/editor.lua index b8ead1b..c1a0f6e 100644 --- a/lua/plex/plugins/editor.lua +++ b/lua/plex/plugins/editor.lua @@ -8,7 +8,7 @@ return { ----------------------------------------------------------------------------- { 'nmac427/guess-indent.nvim', lazy = false, priority = 50, config = true }, { 'tweekmonster/helpful.vim', cmd = 'HelpfulVersion' }, - { 'lambdalisue/suda.vim', event = 'BufRead' }, + { 'lambdalisue/suda.vim', lazy = false, event = 'BufRead' }, ----------------------------------------------------------------------------- { diff --git a/lua/plex/plugins/extras/editor/vim-eunuch.lua b/lua/plex/plugins/extras/editor/vim-eunuch.lua index c767058..2dfd252 100644 --- a/lua/plex/plugins/extras/editor/vim-eunuch.lua +++ b/lua/plex/plugins/extras/editor/vim-eunuch.lua @@ -7,6 +7,7 @@ return { -- :Chmod -- and also some more, but those are easy done with shell "tpope/vim-eunuch", + enabled = false, lazy=false, } } From d8fd81ba736dcc4ad2931c57ec11fcd06cce0b12 Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Fri, 8 Sep 2023 11:35:08 +0200 Subject: [PATCH 03/16] fancy fancy logo in dash --- lua/plex/plugins/extras/treesitter/treesj.lua | 2 ++ lua/plex/plugins/extras/ui/dashboard.lua | 34 ++++++++++++++++--- 2 files changed, 32 insertions(+), 4 deletions(-) diff --git a/lua/plex/plugins/extras/treesitter/treesj.lua b/lua/plex/plugins/extras/treesitter/treesj.lua index 0cc6162..fd8ba6f 100644 --- a/lua/plex/plugins/extras/treesitter/treesj.lua +++ b/lua/plex/plugins/extras/treesitter/treesj.lua @@ -1,6 +1,8 @@ return { { 'Wansmer/treesj', + enabled = true, + lazy = false, cmd = { 'TSJJoin', 'TSJSplit' }, keys = { { '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' }, }, }) From 78ea8f445bd9fe128f0e9a4cbc84e8fbb7f6a4c9 Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Fri, 8 Sep 2023 11:35:08 +0200 Subject: [PATCH 04/16] fancy fancy logo in dash --- lua/plex/plugins/extras/treesitter/treesj.lua | 2 ++ lua/plex/plugins/extras/ui/dashboard.lua | 34 ++++++++++++++++--- 2 files changed, 32 insertions(+), 4 deletions(-) diff --git a/lua/plex/plugins/extras/treesitter/treesj.lua b/lua/plex/plugins/extras/treesitter/treesj.lua index 0cc6162..fd8ba6f 100644 --- a/lua/plex/plugins/extras/treesitter/treesj.lua +++ b/lua/plex/plugins/extras/treesitter/treesj.lua @@ -1,6 +1,8 @@ return { { 'Wansmer/treesj', + enabled = true, + lazy = false, cmd = { 'TSJJoin', 'TSJSplit' }, keys = { { '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' }, }, }) From fe23da711a9c039152e4b72e4cafae04b0946f3e Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Fri, 8 Sep 2023 16:13:02 +0200 Subject: [PATCH 05/16] dont go up on split line --- lua/plex/config/keymaps.lua | 2 +- spell/en.utf-8.add | 2 ++ spell/en.utf-8.add.spl | Bin 371 -> 415 bytes 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lua/plex/config/keymaps.lua b/lua/plex/config/keymaps.lua index d4f80b9..887b208 100644 --- a/lua/plex/config/keymaps.lua +++ b/lua/plex/config/keymaps.lua @@ -121,7 +121,7 @@ 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', 'ss', 'i', { desc = 'Split lines', silent = true }) -- Re-select blocks after indenting in visual/select mode map('x', '<', '4@PK7_kJ5foRYtLo`}hOV-Kz3`1IaM=J~a?NO-Kp@jIqUEq=yC{7V z?YVM}oxRp_POL6Z(ffB0k=xb&aC{;>;W7Us!QO%uTVfYHbGMsg?QuWL6*Y+>|K@T_ ArT_o{ literal 371 zcmXX?%TB{E5Zqby3gtI)Md}}v14s=Ls(KHOxu@gnR_U_EiPJDVi z#L;?x|0g29H;rjs_vSDCIE4gJ69JK14}%UCp;Upl83RT{=nsoafgE!tx7t`D-8y6N zUSL&xqQwW<(1)P z2i=eu`JM5~@Qh5L-8&kvY Date: Fri, 8 Sep 2023 16:25:02 +0200 Subject: [PATCH 06/16] go to end after join --- lua/plex/config/keymaps.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lua/plex/config/keymaps.lua b/lua/plex/config/keymaps.lua index 887b208..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', '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', '<', ' Date: Sat, 9 Sep 2023 15:40:15 +0200 Subject: [PATCH 07/16] spell --- spell/en.utf-8.add | 7 +++++++ spell/en.utf-8.add.spl | Bin 371 -> 422 bytes 2 files changed, 7 insertions(+) diff --git a/spell/en.utf-8.add b/spell/en.utf-8.add index 0550369..e09861e 100644 --- a/spell/en.utf-8.add +++ b/spell/en.utf-8.add @@ -21,3 +21,10 @@ Testvectors possibilites/! Hexdumper hexdumped +Hexeditor +hexeditor +Hexdumping +stdin +md +regex101 +#nglish diff --git a/spell/en.utf-8.add.spl b/spell/en.utf-8.add.spl index 16efe2674bccd237177b4d2d7eb57e6b1ef6dc1d..2455257492a4667287a6e128f7b65741c5cca829 100644 GIT binary patch literal 422 zcmXX?%TB{E5Zqby3gtKGi6Zq6$^oGg2_f#mv7CULhaK8-<0JTA7;me{-rd>R*>T<; zcX{+N-v5c<>biDKXg}hLDxg7!naW9p^zOW`s+k$%X{LY*xvLF(TxcSF85s~w zB&(lwIF`Ig6f;jNM?(R+AT9Ij@Xix?3W2Yxu@gnR_U_EiPJDVi z#L;?x|0g29H;rjs_vSDCIE4gJ69JK14}%UCp;Upl83RT{=nsoafgE!tx7t`D-8y6N zUSL&xqQwW<(1)P z2i=eu`JM5~@Qh5L-8&kvY Date: Sun, 10 Sep 2023 01:44:49 +0200 Subject: [PATCH 08/16] fix dashboard icon --- lua/plex/plugins/extras/ui/dashboard.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/plex/plugins/extras/ui/dashboard.lua b/lua/plex/plugins/extras/ui/dashboard.lua index 4e61881..49601fa 100644 --- a/lua/plex/plugins/extras/ui/dashboard.lua +++ b/lua/plex/plugins/extras/ui/dashboard.lua @@ -3,8 +3,8 @@ local function get_header() return { -- The following is a customized version! [[ ]], - [[  ]], - [[ █ ███████ █████ ██ ]], + [[ ██ ]], + [[ █ ███████ █████ ██ ]], [[ ███ █████ █████  ]], [[ █████ ███ ███████████████████ ███ ███████████ ]], [[ ██ ██ █ ███ █████████████ █████ ██████████████ ]], From 8dcc61113411679de6e82f4b3414be977e24d528 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Sun, 10 Sep 2023 19:37:33 +0200 Subject: [PATCH 09/16] goto diagnostic --- lua/plex/config/keymaps.lua | 8 +++++++ lua/plex/plugins/extras/org/neorg.lua | 1 + spell/en.utf-8.add | 32 ++++++++++++++++++++++++++ spell/en.utf-8.add.spl | Bin 415 -> 860 bytes 4 files changed, 41 insertions(+) diff --git a/lua/plex/config/keymaps.lua b/lua/plex/config/keymaps.lua index c218c88..2330d6b 100644 --- a/lua/plex/config/keymaps.lua +++ b/lua/plex/config/keymaps.lua @@ -56,6 +56,14 @@ end map('n', '', 'lnext', { desc = 'Next Loclist Item' }) map('n', '', 'lprev', { desc = 'Previous Loclist Item' }) +-- go to next diagnostics entry +map('n', '', function () + vim.diagnostic.goto_next() +end, { desc = 'go to next diagnostic'}) +map('n', '', function () + vim.diagnostic.goto_prev() +end, { desc = 'go to last diagnostic'}) + -- Whitespace jump (see plugin/whitespace.vim) map('n', ']s', function() require('plex.lib.edit').whitespace_jump(1) diff --git a/lua/plex/plugins/extras/org/neorg.lua b/lua/plex/plugins/extras/org/neorg.lua index fc90a54..68905c3 100644 --- a/lua/plex/plugins/extras/org/neorg.lua +++ b/lua/plex/plugins/extras/org/neorg.lua @@ -9,6 +9,7 @@ return { load = { ["core.defaults"] = {}, -- Loads default behaviour ["core.concealer"] = {}, -- Adds pretty icons to your documents + ["core.export"] = {}, ["core.dirman"] = { -- Manages Neorg workspaces config = { workspaces = { diff --git a/spell/en.utf-8.add b/spell/en.utf-8.add index e01e765..203eea6 100644 --- a/spell/en.utf-8.add +++ b/spell/en.utf-8.add @@ -30,3 +30,35 @@ stdin md regex101 #nglish +Manspider +Manspiders +subrace +subraces +swiftstride +beasthide +Eldeen +Khorvaire +drider +spiderful +spiderfew +Spiderfolk +Shrelluka +find/! +find +Magnam +arachna +matrem +namegen +Zessas +Webbington +Razu +Rhellu +cantrip +d12 +d4 +th +unnoteworthy +Qroczhreer +Blokhof +Hauck +spiderous diff --git a/spell/en.utf-8.add.spl b/spell/en.utf-8.add.spl index 1f9eb6261edb15fb62cf4dd145d5044d0c97cf8f..12d1f6d335b970ab3f872720781ec74c35ba09a3 100644 GIT binary patch literal 860 zcmX|9F>>2L3_O5JZCCyQi*%7~eju@n6tX9oOzNCSh@^QUsUs=bR+BbwN$V<~$Zyid z3()r5+#Rt177Osce_jo}gmC`fIbNOlbzaD(tm?ZaY}Qdy z0jtK{5;Mz;jEJbIAaX7h>ZpO;sg-RKpAU!~DI!Asy`8~W1*l?ivDE8QX7il(NbgaI zf4=hG391()8h;@`TPoP`DUdC8q;mG91$*IPf&$eoIGfp%MSLSWYv`T}p$UmSOU+uk zP)7u*-X#jvklay32?nZ`HXT6LK^LNaDPnpvZ|z2?_HWoM5phpr;tNU2b_9<%{w)}K zL~1(`Q`DLRxU9K!%MQRXn|m^K$nCI#We z*a2GuFxOL#6MQ*6Lc4YGB=7_*)zMqt%M7gQ1FBYtR;?44I|SX+l0GPqE@9c|jw(rI z((mxD>hXw-PH88N{MWp-z3CF^0R1pWY7P8(2}=je1|(lpcf{0k5}OJfHEqzufQ{sj zkwpbm2JBHhheMwpebT?#;#)gD;MU<(nv^~OS=&Tf49SQtI$-*=HPbui-Y>3JH(vqn d>DHd2qbp55$&BtBPPHJ6c62>=e^MgRxn~F7o%;X) literal 415 zcmXX?%TB{E5ZqbyO!$JTH^ddG$KJ|;LyLqEN2K6bNx^kqCWRY+!)L;*6GisgvpWyx z<>4@PK7_kJ5foRYtLo`}hOV-Kz3`1IaM=J~a?NO-Kp@jIqUEq=yC{7V z?YVM}oxRp_POL6Z(ffB0k=xb&aC{;>;W7Us!QO%uTVfYHbGMsg?QuWL6*Y+>|K@T_ ArT_o{ From 63019107f1aabf7d19c1a09138b633a8fa98d619 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Mon, 11 Sep 2023 09:12:20 +0200 Subject: [PATCH 10/16] split back go end --- lua/plex/config/keymaps.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/plex/config/keymaps.lua b/lua/plex/config/keymaps.lua index c218c88..1998a3f 100644 --- a/lua/plex/config/keymaps.lua +++ b/lua/plex/config/keymaps.lua @@ -123,7 +123,7 @@ map('i', '', 'o', { desc = 'Start Newline' }) 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 }) +map('n', 'sS', 'ikg$', { desc = 'Split lines', silent = true }) -- Re-select blocks after indenting in visual/select mode map('x', '<', ' Date: Mon, 11 Sep 2023 14:41:20 +0200 Subject: [PATCH 11/16] sandwich stuff idk --- init.lua | 1 + lua/plex/plugins/extras/coding/sandwich.lua | 16 +++++++++------- spell/en.utf-8.add | 2 ++ spell/en.utf-8.add.spl | Bin 860 -> 896 bytes 4 files changed, 12 insertions(+), 7 deletions(-) diff --git a/init.lua b/init.lua index 2c89d66..27ec17f 100644 --- a/init.lua +++ b/init.lua @@ -8,6 +8,7 @@ config.ensure_lazy() require('lazy').setup(vim.tbl_extend('keep', config.user_lazy_opts(), { spec = { { import = 'plex.plugins' }, + { import = 'plex.plugins.extras.coding' }, { import = 'plex.plugins.extras.ui' }, { import = 'plex.plugins.extras.treesitter' }, { import = 'plex.plugins.extras.editor' }, diff --git a/lua/plex/plugins/extras/coding/sandwich.lua b/lua/plex/plugins/extras/coding/sandwich.lua index b29d003..29c14eb 100644 --- a/lua/plex/plugins/extras/coding/sandwich.lua +++ b/lua/plex/plugins/extras/coding/sandwich.lua @@ -1,16 +1,18 @@ return { { + -- I dont get how this stuff works 'machakann/vim-sandwich', + enabled = false, -- stylua: ignore keys = { -- See https://github.com/machakann/vim-sandwich/blob/master/macros/sandwich/keymap/surround.vim - { 'ds', '(operator-sandwich-delete)(operator-sandwich-release-count)(textobj-sandwich-query-a)', silent = true }, - { 'dss', '(operator-sandwich-delete)(operator-sandwich-release-count)(textobj-sandwich-auto-a)', silent = true }, - { 'cs', '(operator-sandwich-replace)(operator-sandwich-release-count)(textobj-sandwich-query-a)', silent = true }, - { 'css', '(operator-sandwich-replace)(operator-sandwich-release-count)(textobj-sandwich-auto-a)', silent = true }, - { 'sa', '(operator-sandwich-add)', silent = true, mode = { 'n', 'x', 'o' }}, - { 'ir', '(textobj-sandwich-auto-i)', silent = true, mode = { 'x', 'o' }}, - { 'ab', '(textobj-sandwich-auto-a)', silent = true, mode = { 'x', 'o' }}, + { 'sd', '(operator-sandwich-delete)(operator-sandwich-release-count)(textobj-sandwich-query-a)', silent = true }, + { 'ssd', '(operator-sandwich-delete)(operator-sandwich-release-count)(textobj-sandwich-auto-a)', silent = true }, + { 'sc', '(operator-sandwich-replace)(operator-sandwich-release-count)(textobj-sandwich-query-a)', silent = true }, + { 'ssc', '(operator-sandwich-replace)(operator-sandwich-release-count)(textobj-sandwich-auto-a)', silent = true }, + { 'sa', '(operator-sandwich-add)', silent = true, mode = { 'n', 'x', 'o' }}, + { 'ir', '(textobj-sandwich-auto-i)', silent = true, mode = { 'x', 'o' }}, + { 'ab', '(textobj-sandwich-auto-a)', silent = true, mode = { 'x', 'o' }}, }, init = function() vim.g.sandwich_no_default_key_mappings = 1 diff --git a/spell/en.utf-8.add b/spell/en.utf-8.add index 203eea6..0aa9cd9 100644 --- a/spell/en.utf-8.add +++ b/spell/en.utf-8.add @@ -62,3 +62,5 @@ Qroczhreer Blokhof Hauck spiderous +zlib +experimentelle diff --git a/spell/en.utf-8.add.spl b/spell/en.utf-8.add.spl index 12d1f6d335b970ab3f872720781ec74c35ba09a3..87a570522449d1f1d4894d116ce7a40fb6c151f6 100644 GIT binary patch delta 171 zcmcb^*1*me=IL8pkeZWY^q+x&DRUy zk#}+hlbqm12#-Ov7-$PnG-L8|CTqs1$&Z=zMVV4_7>j`rC>)gtv=nHOYSLsmW;*~$ Cl`5$K delta 160 zcmZo*zr)5C=IL8pkeZWY^q+x&$#){(QXa+}#uUa>Mn(n(n~zT%V$o_2MQ&CB~;5n p(z~F_REvR%7#SD?Cm&+6W^|tXk4c{gXiPB>0!5t@Cp$6Q0RSPvDAxc0 From 7887bbfb65dc30392be847f6da66f9727e0a5f85 Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Mon, 11 Sep 2023 17:25:01 +0200 Subject: [PATCH 12/16] spell --- spell/en.utf-8.add | 2 ++ spell/en.utf-8.add.spl | Bin 896 -> 924 bytes 2 files changed, 2 insertions(+) diff --git a/spell/en.utf-8.add b/spell/en.utf-8.add index 0aa9cd9..ef5fd27 100644 --- a/spell/en.utf-8.add +++ b/spell/en.utf-8.add @@ -64,3 +64,5 @@ Hauck spiderous zlib experimentelle +SHA +Etablierungs diff --git a/spell/en.utf-8.add.spl b/spell/en.utf-8.add.spl index 87a570522449d1f1d4894d116ce7a40fb6c151f6..64cbbf6367ba36dc07c22a7312181b7c89241c6b 100644 GIT binary patch delta 212 zcmZo*pTo`<=IL8pkeZWY^q+x&sdggYQZ?qBk_yHY##BZ|1_t9)#ze*>#vH~>Ais#Q zlrfJn9VBjAJn_I>#_q{+jOvUJCbuzq$pZ!F=P)OxmN4c5m8L_qtL8D~mxI**p8S!~ z2B=bx$ Date: Mon, 11 Sep 2023 21:41:05 +0200 Subject: [PATCH 13/16] correct neorg dirs --- lua/plex/plugins/extras/org/neorg.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/plex/plugins/extras/org/neorg.lua b/lua/plex/plugins/extras/org/neorg.lua index 68905c3..e2c54b4 100644 --- a/lua/plex/plugins/extras/org/neorg.lua +++ b/lua/plex/plugins/extras/org/neorg.lua @@ -16,7 +16,7 @@ return { -- FIXME: This shouldn't be in the Versioncontrol. Make this -- into a local extension of the plugin. main = "~/Nextcloud/Neorg", - notes = "~/Nextcloud/Notes", + notes = "~/Nextcloud/Notizen", }, }, }, From 3d3d2113e8c7f339a3ce4395f7c33ba59cf07eb7 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Mon, 11 Sep 2023 23:09:33 +0200 Subject: [PATCH 14/16] make markdown the default org stuff --- lua/plex/config/init.lua | 2 +- lua/plex/plugins/extras/org/neorg.lua | 3 ++- lua/plex/plugins/treesitter.lua | 6 +++++- spell/en.utf-8.add | 2 ++ spell/en.utf-8.add.spl | Bin 924 -> 952 bytes 5 files changed, 10 insertions(+), 3 deletions(-) diff --git a/lua/plex/config/init.lua b/lua/plex/config/init.lua index af0754f..843880a 100644 --- a/lua/plex/config/init.lua +++ b/lua/plex/config/init.lua @@ -28,7 +28,7 @@ local defaults = { colorscheme = '', features = { - elite_mode = false, + elite_mode = true, window_q_mapping = true, }, diff --git a/lua/plex/plugins/extras/org/neorg.lua b/lua/plex/plugins/extras/org/neorg.lua index e2c54b4..0b8bdd7 100644 --- a/lua/plex/plugins/extras/org/neorg.lua +++ b/lua/plex/plugins/extras/org/neorg.lua @@ -1,7 +1,8 @@ return { { "nvim-neorg/neorg", - lazy = false, + enabled = false, + lazy = true, build = ":Neorg sync-parsers", dependencies = { "nvim-lua/plenary.nvim" }, config = function() diff --git a/lua/plex/plugins/treesitter.lua b/lua/plex/plugins/treesitter.lua index a422b5a..592534c 100644 --- a/lua/plex/plugins/treesitter.lua +++ b/lua/plex/plugins/treesitter.lua @@ -69,8 +69,8 @@ return { -- See: https://github.com/windwp/nvim-ts-autotag autotag = { enable = true, - -- Removed markdown due to errors filetypes = { + 'markdown', 'glimmer', 'handlebars', 'hbs', @@ -186,5 +186,9 @@ return { 'zig', }, }, + init = function () + vim.opt.concealcursor = "nc" + vim.opt.conceallevel = 2 + end }, } diff --git a/spell/en.utf-8.add b/spell/en.utf-8.add index ef5fd27..03831ee 100644 --- a/spell/en.utf-8.add +++ b/spell/en.utf-8.add @@ -66,3 +66,5 @@ zlib experimentelle SHA Etablierungs +the +strikethrough diff --git a/spell/en.utf-8.add.spl b/spell/en.utf-8.add.spl index 64cbbf6367ba36dc07c22a7312181b7c89241c6b..60f315f1ae4a483ceb88faa5112eaafdabceb34e 100644 GIT binary patch delta 94 zcmbQkzJr}F%+t5HAT=k)=syDk)6|W8Cz%wPQi>QE85pZG88aEP8B-Zc7&91)81orR p8PkE{45}HE?=vaOWH1&3Wy*l^$v`?EBs0H=i23pCp!~CMj=FE)%VH*(A From b7d23cf504f83afbf82f2e880e3d55b5c14998c6 Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Tue, 12 Sep 2023 10:11:05 +0200 Subject: [PATCH 15/16] dont annoy me with ro --- lua/plex/config/autocmds.lua | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lua/plex/config/autocmds.lua b/lua/plex/config/autocmds.lua index 7c0c790..25ee149 100644 --- a/lua/plex/config/autocmds.lua +++ b/lua/plex/config/autocmds.lua @@ -56,13 +56,13 @@ vim.api.nvim_create_autocmd('TextYankPost', { }) -- Automatically set read-only for files being edited elsewhere -vim.api.nvim_create_autocmd('SwapExists', { - group = augroup('open_swap'), - nested = true, - callback = function() - vim.v.swapchoice = 'o' - end, -}) +-- vim.api.nvim_create_autocmd('SwapExists', { +-- group = augroup('open_swap'), +-- nested = true, +-- callback = function() +-- vim.v.swapchoice = 'o' +-- end, +-- }) -- Create directories when needed, when saving a file (except for URIs "://"). vim.api.nvim_create_autocmd('BufWritePre', { From 04506969a7af9434ebada5e33ff2c0d6fdc44590 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Wed, 13 Sep 2023 21:28:04 +0200 Subject: [PATCH 16/16] change tab bar --- lua/plex/plugins/ui.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lua/plex/plugins/ui.lua b/lua/plex/plugins/ui.lua index 48ce9f7..63917cb 100644 --- a/lua/plex/plugins/ui.lua +++ b/lua/plex/plugins/ui.lua @@ -6,7 +6,10 @@ return { ----------------------------------------------------------------------------- { 'nvim-tree/nvim-web-devicons', lazy = false }, { 'MunifTanjim/nui.nvim', lazy = false }, - { 'rafi/tabstrip.nvim', lazy = false, priority = 98, opts = true }, + { + 'akinsho/bufferline.nvim', lazy = false, version = "*", + dependencies = 'nvim-tree/nvim-web-devicons' + }, ----------------------------------------------------------------------------- {