From 85ed5712eae5cc1c7e194dec26d6d3dffaf8688a Mon Sep 17 00:00:00 2001 From: aleidk Date: Thu, 26 Oct 2023 18:16:04 -0300 Subject: [PATCH] Update from obsidian - Affected files: .obsidian/bookmarks.json .obsidian/core-plugins-migration.json .obsidian/core-plugins.json notes/daily/2023-10-26.md notes/utils/Neovim.md projects/quests.md projects/todos-notes/Rewrite neovim config.md projects/todos-notes/Update dots.md --- .obsidian/bookmarks.json | 18 ++++++-- .obsidian/core-plugins-migration.json | 2 +- .obsidian/core-plugins.json | 1 + notes/daily/2023-10-26.md | 4 ++ notes/utils/Neovim.md | 46 +++++++++++++++++++ projects/quests.md | 3 +- projects/todos-notes/Rewrite neovim config.md | 14 ++---- projects/todos-notes/Update dots.md | 4 +- 8 files changed, 76 insertions(+), 16 deletions(-) create mode 100644 notes/daily/2023-10-26.md create mode 100644 notes/utils/Neovim.md diff --git a/.obsidian/bookmarks.json b/.obsidian/bookmarks.json index 11cdbff..f93675b 100644 --- a/.obsidian/bookmarks.json +++ b/.obsidian/bookmarks.json @@ -1,9 +1,21 @@ { "items": [ { - "type": "file", - "ctime": 1695497967124, - "path": "projects/personal-page.md" + "type": "group", + "ctime": 1698322774827, + "items": [ + { + "type": "file", + "ctime": 1698322761257, + "path": "projects/quests.md" + }, + { + "type": "file", + "ctime": 1695497967124, + "path": "projects/personal-page.md" + } + ], + "title": "Projects" } ] } \ No newline at end of file diff --git a/.obsidian/core-plugins-migration.json b/.obsidian/core-plugins-migration.json index c66165e..cce9e83 100644 --- a/.obsidian/core-plugins-migration.json +++ b/.obsidian/core-plugins-migration.json @@ -8,7 +8,7 @@ "outgoing-link": true, "tag-pane": true, "page-preview": true, - "daily-notes": false, + "daily-notes": true, "templates": true, "note-composer": true, "command-palette": true, diff --git a/.obsidian/core-plugins.json b/.obsidian/core-plugins.json index c29980c..1a4f041 100644 --- a/.obsidian/core-plugins.json +++ b/.obsidian/core-plugins.json @@ -8,6 +8,7 @@ "tag-pane", "properties", "page-preview", + "daily-notes", "templates", "note-composer", "command-palette", diff --git a/notes/daily/2023-10-26.md b/notes/daily/2023-10-26.md new file mode 100644 index 0000000..f115726 --- /dev/null +++ b/notes/daily/2023-10-26.md @@ -0,0 +1,4 @@ +- [ ] Terminar neovim config +- [ ] Avanzar escribiendo sobre meditación +- [ ] Terminar Kimetsu +- [ ] Ordenar calcetines \ No newline at end of file diff --git a/notes/utils/Neovim.md b/notes/utils/Neovim.md new file mode 100644 index 0000000..4f6f72b --- /dev/null +++ b/notes/utils/Neovim.md @@ -0,0 +1,46 @@ +## Formatters + +Hay que añadirlos en `plugins/formatters.lua`, pueden ser instalados con mason. + +## Linters + +Hay que añadirlos en `plugins/linters.lua`, pueden ser instalados con mason. + +## LSP + +Hay que añadirlos en `plugins/lsp.lua`, son instalados automáticamente al ser agregados aquí con mason. +## Remember to use: + +### Harpoon + +Fast navigation with `[hjkl]` + +### Treesitter + +#### Text objects + +### Surround plugin + +- Actions (all of them are dot-repeatable out of the box and respect `v:count` for searching surrounding) with configurable keymappings: + - Add surrounding with `sa` (in visual mode or on motion). + - Delete surrounding with `sd`. + - Replace surrounding with `sr`. + - Find surrounding with `sf` or `sF` (move cursor right or left). + - Highlight surrounding with `sh`. + - Change number of neighbor lines with `sn` (see |MiniSurround-algorithm|). +- Surrounding is identified by a single character as both "input" (in `delete` and `replace` start, `find`, and `highlight`) and "output" (in `add` and `replace` end): + - 'f' - function call (string of alphanumeric symbols or '_' or '.' followed by balanced '()'). In "input" finds function call, in "output" prompts user to enter function name. + - 't' - tag. In "input" finds tag with same identifier, in "output" prompts user to enter tag name. + - All symbols in brackets '()', '[]', '{}', '<>". In "input' represents balanced brackets (open - with whitespace pad, close - without), in "output" - left and right parts of brackets. + - '?' - interactive. Prompts user to enter left and right parts. + - All other alphanumeric, punctuation, or space characters represent surrounding with identical left and right parts. + +### Text Object + +works for: +- Comments (`gc`) +- Visual selection + +## Plugins compatibility errors + +Lazy.nvim tiene un `lazy-lock.json`, por lo que ante cualquier problema de compatibilidad, podemos volver a versión especificada aqui con `Lazy restore`. Es importante mantener este archivo en git y solo modificarlo cuando se esté seguro que no hay problemas de compatibilidad. \ No newline at end of file diff --git a/projects/quests.md b/projects/quests.md index 6a1d078..02a2e3f 100644 --- a/projects/quests.md +++ b/projects/quests.md @@ -60,11 +60,11 @@ kanban-plugin: basic - [ ] Traer React Hooks a Wiki
Añadir a portafolio de alguna manera
#wiki - [ ] Pasar en limpio notas del cuaderno
#home - [ ] Definir orden de libros a leer
#home +- [ ] ## Ongoing Quests (3) -- [ ] [Rewrite neovim config](Rewrite%20neovim%20config.md)
#laptop - [ ] [Update dots](Update%20dots.md)
#laptop @@ -80,6 +80,7 @@ kanban-plugin: basic - [x] Configurar Omnivore + integración con Obsidian
#laptop - [x] Añadir videos de youtube watch later a omnivore
#laptop #tablet - [x] Create termux shortcut to sync repo outside in obsidian
Also check if I can disable the git plugin in android?? +- [x] [Rewrite neovim config](Rewrite%20neovim%20config.md)
#laptop *** diff --git a/projects/todos-notes/Rewrite neovim config.md b/projects/todos-notes/Rewrite neovim config.md index c0f450c..536974c 100644 --- a/projects/todos-notes/Rewrite neovim config.md +++ b/projects/todos-notes/Rewrite neovim config.md @@ -30,11 +30,12 @@ Especific stuff - [x] Update completition configuration - [x] TS context -- [ ] Final review and cleanup -- [ ] Check lock file behavior of lazy.nvim +- [x] Final review and cleanup +- [x] Check lock file behavior of lazy.nvim +- [x] checkhealth pass --- -Fix indentation: +- [x] Fix indentation: ```lua local indent = 2 @@ -51,9 +52,4 @@ Reference: - https://www.youtube.com/watch?v=NJDu_53T_4M&t=315s - https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/plugins/ui.lua - https://www.youtube.com/watch?v=CVCBHHFXWNE -- [Mason Select](https://github.com/williamboman/mason.nvim/issues/1461) - ---- - -Further improvements: -- [ ] [Better Text Objects](https://www.lazyvim.org/plugins/coding#miniai) \ No newline at end of file +- [Mason Select](https://github.com/williamboman/mason.nvim/issues/1461) \ No newline at end of file diff --git a/projects/todos-notes/Update dots.md b/projects/todos-notes/Update dots.md index e31d7be..67be401 100644 --- a/projects/todos-notes/Update dots.md +++ b/projects/todos-notes/Update dots.md @@ -1,5 +1,5 @@ - [ ] Crear prefixes para configuración distinta en distintas máquinas (Ej: Alactritty) -- [ ] Crear config de nvim desde zero con kickstart.nvim +- [x] Crear config de nvim desde zero con kickstart.nvim - [x] Crear Sway setup - [x] Utilizar `$OSTYPE` para ejecutar config dependiendo del sistema - [ ] env variables MACHINE_NAME @@ -10,7 +10,7 @@ - [ ] Move Tmux config to .conf directory - [ ] Update "check-tools" script - [ ] Debloat zsh -- [ ] improve terminal setup on mac +- [x] improve terminal setup on mac - write better config for alacritty - use iterm2 - [ ] Arreglar alias de música -> usar celluloid