Compare commits

...

22 commits

Author SHA1 Message Date
8fb1afa21a server: remove some stuff 2023-09-13 21:35:02 +02:00
78c69c2e48 Merge branch 'master' into server 2023-09-13 21:34:49 +02:00
e662a0c9bc Merge branch 'master' of https://git.cscherr.de/PlexSheep/neovim-confs 2023-09-13 21:28:07 +02:00
04506969a7 change tab bar 2023-09-13 21:28:04 +02:00
Christoph J. Scherr
b7d23cf504 dont annoy me with ro 2023-09-12 10:11:14 +02:00
3d3d2113e8 make markdown the default org stuff 2023-09-11 23:09:33 +02:00
8f0516bdbd correct neorg dirs 2023-09-11 21:41:05 +02:00
Christoph J. Scherr
7887bbfb65 spell 2023-09-11 17:25:01 +02:00
e6176bad3e sandwich stuff idk 2023-09-11 14:41:20 +02:00
2634786dcb Merge branch 'master' into wsl 2023-09-11 09:12:27 +02:00
63019107f1 split back go end 2023-09-11 09:12:20 +02:00
8dcc611134 goto diagnostic 2023-09-10 19:37:33 +02:00
78b379b80a fix dashboard icon 2023-09-10 01:44:49 +02:00
94254ff65e Merge branch 'spell' 2023-09-09 15:40:47 +02:00
9443965346 spell 2023-09-09 15:40:15 +02:00
62cb8ccabe Merge pull request 'wsl' (#3) from wsl into master
Reviewed-on: #3
2023-09-09 15:02:22 +02:00
769858aaf1 go to end after join 2023-09-08 16:27:58 +02:00
fe23da711a dont go up on split line 2023-09-08 16:13:02 +02:00
78ea8f445b fancy fancy logo in dash 2023-09-08 11:35:15 +02:00
d8fd81ba73 fancy fancy logo in dash 2023-09-08 11:35:08 +02:00
b58b02b546 suda usage 2023-09-08 09:07:01 +02:00
d31de18bd0 add eunuch for sudo stuff 2023-09-08 09:07:01 +02:00
12 changed files with 116 additions and 97 deletions

View file

@ -11,8 +11,6 @@ require('lazy').setup(vim.tbl_extend('keep', config.user_lazy_opts(), {
{ import = 'plex.plugins.extras.ui' },
{ import = 'plex.plugins.extras.treesitter' },
{ import = 'plex.plugins.extras.editor' },
{ import = 'plex.plugins.extras.org' },
{ import = 'plex.plugins.extras.lang.go' },
{ import = 'plex.plugins.extras.lang.json' },
{ import = 'plex.plugins.extras.lang.python' },
{ import = 'plex.plugins.extras.lang.yaml' },

View file

@ -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', {

View file

@ -28,7 +28,7 @@ local defaults = {
colorscheme = '',
features = {
elite_mode = false,
elite_mode = true,
window_q_mapping = true,
},

View file

@ -56,6 +56,14 @@ end
map('n', '<A-k>', '<cmd>lnext<CR>', { desc = 'Next Loclist Item' })
map('n', '<A-j>', '<cmd>lprev<CR>', { desc = 'Previous Loclist Item' })
-- go to next diagnostics entry
map('n', '<C-j>', function ()
vim.diagnostic.goto_next()
end, { desc = 'go to next diagnostic'})
map('n', '<C-k>', 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)
@ -120,8 +128,10 @@ map('n', 'o', 'o', { desc = 'Insert newline below' })
map('i', '<S-Return>', '<C-o>o', { desc = 'Start Newline' })
-- Split and join lines
map('n', '<leader>jj', ':join<CR>', { desc = 'Join lines', silent = true })
map('n', '<leader>ss', 'i<CR><ESC>k', { desc = 'Split lines', silent = true })
map('n', '<leader>jj', ':join<CR>g$', { desc = 'Join lines', silent = true })
map('n', '<leader>jJ', 'k:join<CR>j', { desc = 'Join lines', silent = true })
map('n', '<leader>ss', 'i<CR><ESC>', { desc = 'Split lines', silent = true })
map('n', '<leader>sS', 'i<CR><ESC>kg$', { desc = 'Split lines', silent = true })
-- Re-select blocks after indenting in visual/select mode
map('x', '<', '<gv', { desc = 'Indent Right and Re-select' })

View file

@ -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', '<Plug>(operator-sandwich-delete)<Plug>(operator-sandwich-release-count)<Plug>(textobj-sandwich-query-a)', silent = true },
{ 'dss', '<Plug>(operator-sandwich-delete)<Plug>(operator-sandwich-release-count)<Plug>(textobj-sandwich-auto-a)', silent = true },
{ 'cs', '<Plug>(operator-sandwich-replace)<Plug>(operator-sandwich-release-count)<Plug>(textobj-sandwich-query-a)', silent = true },
{ 'css', '<Plug>(operator-sandwich-replace)<Plug>(operator-sandwich-release-count)<Plug>(textobj-sandwich-auto-a)', silent = true },
{ 'sa', '<Plug>(operator-sandwich-add)', silent = true, mode = { 'n', 'x', 'o' }},
{ 'ir', '<Plug>(textobj-sandwich-auto-i)', silent = true, mode = { 'x', 'o' }},
{ 'ab', '<Plug>(textobj-sandwich-auto-a)', silent = true, mode = { 'x', 'o' }},
{ '<leader>sd', '<Plug>(operator-sandwich-delete)<Plug>(operator-sandwich-release-count)<Plug>(textobj-sandwich-query-a)', silent = true },
{ '<leader>ssd', '<Plug>(operator-sandwich-delete)<Plug>(operator-sandwich-release-count)<Plug>(textobj-sandwich-auto-a)', silent = true },
{ '<leader>sc', '<Plug>(operator-sandwich-replace)<Plug>(operator-sandwich-release-count)<Plug>(textobj-sandwich-query-a)', silent = true },
{ '<leader>ssc', '<Plug>(operator-sandwich-replace)<Plug>(operator-sandwich-release-count)<Plug>(textobj-sandwich-auto-a)', silent = true },
{ '<leader>sa', '<Plug>(operator-sandwich-add)', silent = true, mode = { 'n', 'x', 'o' }},
{ '<leader>ir', '<Plug>(textobj-sandwich-auto-i)', silent = true, mode = { 'x', 'o' }},
{ '<leader>ab', '<Plug>(textobj-sandwich-auto-a)', silent = true, mode = { 'x', 'o' }},
},
init = function()
vim.g.sandwich_no_default_key_mappings = 1

View file

@ -1,26 +0,0 @@
return {
{
"nvim-neorg/neorg",
lazy = false,
build = ":Neorg sync-parsers",
dependencies = { "nvim-lua/plenary.nvim" },
config = function()
require("neorg").setup {
load = {
["core.defaults"] = {}, -- Loads default behaviour
["core.concealer"] = {}, -- Adds pretty icons to your documents
["core.dirman"] = { -- Manages Neorg workspaces
config = {
workspaces = {
-- NOTE: This is the server branch, note taking here should not
-- be needed. Also, my server does not have a synchronisation
-- to nextcloud set up, so I don't have access to my Neorg
-- notes regardless.
},
},
},
},
}
end,
},
}

View file

@ -1,45 +0,0 @@
return {
{
'vimwiki/vimwiki',
enabled = false,
cmd = { 'VimwikiIndex', 'VimwikiUISelect' },
keys = {
{ '<Leader>W', '<cmd>VimwikiIndex<CR>', { noremap = true } },
},
init = function()
vim.g.vimwiki_global_ext = 0
vim.g.vimwiki_use_calendar = 1
vim.g.vimwiki_hl_headers = 1
vim.g.vimwiki_hl_cb_checked = 1
vim.g.vimwiki_autowriteall = 0
vim.g.vimwiki_listsym_rejected = ''
vim.g.vimwiki_listsyms = '✗○◐●✓'
end,
config = function()
vim.g.vimwiki_key_mappings = {
all_maps = 1,
global = 1,
headers = 1,
text_objs = 1,
table_format = 1,
table_mappings = 1,
lists = 1,
links = 1,
html = 1,
mouse = 0,
}
vim.g.vimwiki_list = {
{
diary_header = 'Diary',
diary_link_fmt = '%Y-%m/%d',
auto_toc = 1,
path = '~/docs/wiki/',
syntax = 'markdown',
ext = '.md',
},
{ path = '~/docs/books/', syntax = 'markdown', ext = '.md' },
{ path = '~/notes/', syntax = 'markdown', ext = '.md' },
}
end,
},
}

View file

@ -1,6 +1,8 @@
return {
{
'Wansmer/treesj',
enabled = true,
lazy = false,
cmd = { 'TSJJoin', 'TSJSplit' },
keys = {
{ '<leader>sj', '<cmd>TSJJoin<CR>' },

View file

@ -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' },
},
})

View file

@ -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
},
}

View file

@ -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'
},
-----------------------------------------------------------------------------
{

View file

@ -17,9 +17,54 @@ cscherr
MD5
Hashchecker
Testvectors
#ossibilites
possibilites/!
Hexdumper
hexdumped
SMB2
fileserver
Atlassian
Initialkosten
Hexeditor
hexeditor
Hexdumping
stdin
md
regex101
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
zlib
experimentelle
SHA
Etablierungs
the
strikethrough