From 0d9fb6eb17c111b4b349e39370bbb00690c74c5b Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Thu, 6 Jul 2023 15:45:45 +0200 Subject: [PATCH 1/3] disable ALE display --- home/.config/nvim/coc-settings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/.config/nvim/coc-settings.json b/home/.config/nvim/coc-settings.json index 0faf7cd..3e2101c 100644 --- a/home/.config/nvim/coc-settings.json +++ b/home/.config/nvim/coc-settings.json @@ -1,5 +1,5 @@ { "rust-analyzer.server.path": "~/.cargo/bin/rust-analyzer", "suggest.acceptSuggestionOnCommitCharacter": true, - "diagnostic.displayByAle": true + "diagnostic.displayByAle": false } From 55d0a08377398da73ad710b93e52c6d600f55f92 Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Thu, 6 Jul 2023 21:24:20 +0200 Subject: [PATCH 2/3] add mirror notice for codeberg Signed-off-by: Christoph J. Scherr --- README.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index ffd20e6..479db38 100644 --- a/README.md +++ b/README.md @@ -14,13 +14,9 @@ target user, some stuff will need to run as root. - lsd (workstations) - nodejs (nvim language server) -# TODO -[ ] list nvim plugins and auto install -[ ] add options for help, only local installs, complete installs and so on -[ ] add vim shortcut to resize splits -[ ] take a look at autoclosing plugins for nvim -[ ] Check if :Rustdebug works with regular vim - # Mirrored The origin of this repository is [git.cscherr.de](https://git.cscherr.de/PlexSheep/configs.git) -It is mirrored to [github](https://github.com/PlexSheep/configs) + +It is mirrored to: +- [github](https://github.com/PlexSheep/configs) +- [codeberg](https://codeberg.org/PlexSheep/configs) \ No newline at end of file From c8dfd1ad2886d7279daf5c83a5923b1e866595fa Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Fri, 7 Jul 2023 13:27:30 +0200 Subject: [PATCH 3/3] better splitting and joining vim --- home/.config/nvim/common.vim | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/home/.config/nvim/common.vim b/home/.config/nvim/common.vim index 0ae7cd9..6c5dac9 100644 --- a/home/.config/nvim/common.vim +++ b/home/.config/nvim/common.vim @@ -103,6 +103,13 @@ map % :split " join with j nnoremap j :join +" join up with J +nnoremap J :move .-2 :join + +" split lines with s +nnoremap s i +" split lines up with S +nnoremap S i V:m -2 " move screen a line up/down with alt U/D nmap kzz