wsl #3

Merged
PlexSheep merged 5 commits from wsl into master 2023-09-09 15:02:22 +02:00
8 changed files with 54 additions and 7 deletions

View File

@ -120,8 +120,10 @@ map('n', 'o', 'o', { desc = 'Insert newline below' })
map('i', '<S-Return>', '<C-o>o', { desc = 'Start Newline' }) map('i', '<S-Return>', '<C-o>o', { desc = 'Start Newline' })
-- Split and join lines -- Split and join lines
map('n', '<leader>jj', ':join<CR>', { desc = 'Join lines', silent = true }) map('n', '<leader>jj', ':join<CR>g$', { desc = 'Join lines', silent = true })
map('n', '<leader>ss', 'i<CR><ESC>k', { desc = 'Split 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>k', { desc = 'Split lines', silent = true })
-- Re-select blocks after indenting in visual/select mode -- Re-select blocks after indenting in visual/select mode
map('x', '<', '<gv', { desc = 'Indent Right and Re-select' }) map('x', '<', '<gv', { desc = 'Indent Right and Re-select' })

View File

@ -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_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.no_man_maps = 1 -- See share/nvim/runtime/ftplugin/man.vim
vim.g.suda_smart_edit = 1 -- smart suda open and write
-- Filetype detection -- Filetype detection
-- === -- ===

View File

@ -8,7 +8,7 @@ return {
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
{ 'nmac427/guess-indent.nvim', lazy = false, priority = 50, config = true }, { 'nmac427/guess-indent.nvim', lazy = false, priority = 50, config = true },
{ 'tweekmonster/helpful.vim', cmd = 'HelpfulVersion' }, { 'tweekmonster/helpful.vim', cmd = 'HelpfulVersion' },
{ 'lambdalisue/suda.vim', event = 'BufRead' }, { 'lambdalisue/suda.vim', lazy = false, event = 'BufRead' },
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
{ {

View File

@ -0,0 +1,13 @@
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",
enabled = false,
lazy=false,
}
}

View File

@ -1,6 +1,8 @@
return { return {
{ {
'Wansmer/treesj', 'Wansmer/treesj',
enabled = true,
lazy = false,
cmd = { 'TSJJoin', 'TSJSplit' }, cmd = { 'TSJJoin', 'TSJSplit' },
keys = { keys = {
{ '<leader>sj', '<cmd>TSJJoin<CR>' }, { '<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 { return {
{ {
'glepnir/dashboard-nvim', 'glepnir/dashboard-nvim',
@ -7,11 +24,9 @@ return {
theme = 'hyper', theme = 'hyper',
config = { config = {
header = { header = get_header(),
foo = "bar",
},
week_header = { week_header = {
enable = true, enable = false,
}, },
shortcut = { shortcut = {
{ {
@ -50,6 +65,17 @@ return {
key = 's', 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

@ -21,3 +21,5 @@ Testvectors
possibilites/! possibilites/!
Hexdumper Hexdumper
hexdumped hexdumped
Atlassian
Initialkosten

Binary file not shown.