Compare commits

..

35 Commits

Author SHA1 Message Date
iGor milhit 40ff774acf spell: add two words in the French dictionary
Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-11 17:17:49 +02:00
iGor milhit 9602fcf4d2
completion: support non ascii with cmp-buffer
- Supports non ASCII chars in text completion (cmp-buffer).
- Restore the luasnip configuration inside the nvim-cmp configuration,
  as it is indeed closely related. I didn't understood it in the first
  place.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-11 15:41:12 +02:00
iGor milhit e884ce33b2
snippets: add a snippet for AoU stats commit
Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-10 10:09:35 +02:00
iGor milhit b5b9e7216c
snippets: add snippet for incremental note commits
Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-05 08:13:14 +02:00
iGor milhit 279d078208
snippets: add HTML snippets for library portal
- Creates a new file for custom HTML snippets.
- Adds three snippets to be used when updating the clinical medicine
  library portal with bibliographic descriptions:
  - A main HTML structure with CSS styling.
  - An item with some bibliographic description examples.
  - A list item with a link to an ebook online.
- Improves the LuaSnip configuration and moves it outside the nvim-cmp
  configuration.
- Increments the French personal dictionary.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-04 07:15:59 +02:00
iGor milhit 327fbe7256
plugins: replace zen-mode by true-zen
- Removes the distraction-free plugin zen-mode, as it has some weird
  performance issue.
- Adds the true-zen distraction-free plugin which seems better in some
  ways.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-07-08 12:05:29 +02:00
iGor milhit d2ebe0e57f
snippets: add a snippet for commit message
- Adds a snippet for commit message to save working hours.
- Remove redundant markdown snippet for the date.
- Improve the markdown snippet for incremental note entry.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-07-08 07:00:16 +02:00
iGor milhit e72b364cec
json: add configuration for JSON
- Adds the `json` parser to the treesitter languages for linting
  purpose.
- Adds `jsonls` as language server provider for JSON.
- Creates the `after/ftplugin` folders.
- Sets specific settings for JSON for folding method.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-07-04 17:12:01 +02:00
iGor milhit 08b7169b54
snippets: fix the inc front matter
- Fixes the front matter for the incremental notes files, removing
  unnecessary metadata and adding the id.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-07-03 09:36:04 +02:00
iGor milhit 80dd338b4a
telescope: add a plugin to use Ag
- Adds a plugin to use Ag The Silversearcher with Telescope.
- Improves some comments.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-07-01 21:44:56 +02:00
iGor milhit 769278dff9
config: set changes preview
- Sets the `inccommand` option to `nosplit` to preview the changes
  before accepting them with the substitute command.
- Removes unused configuration.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-06-30 16:30:44 +02:00
iGor milhit 1585f558ba
mkdnflow: adapt follow link behavior
- Sets the `perspective.priority` to `current` to get the follow link
  feature behaves as I need, relative to the current buffer.
- Fixes the new file template to avoid a blank column at the begining
  (results in an invalid YAML syntax).

Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
2023-06-30 14:31:01 +02:00
iGor milhit 0f0b1ee56a
plugin: install, configure Grammalecte
- Grammalecte is a French language checker. This plugin requires the
  python package `Grammalecte` that provide `grammalecte-cli` and
  `grammalecte-server`.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-06-29 07:21:43 +02:00
iGor milhit 2ba65a9f5f
completion: set buffer completion to 4 chars
- Set the keyword_length to 4 in order to lighten the buffer completion.
- Add a markdown snippet to add a tags line in my incremental notes.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-06-28 21:15:21 +02:00
iGor milhit 0fb6a4a7b4
plugin: ensure to use the legacy tag for fidget
- Ensures to use the legacy tag for the fidget plugin, as it will be
  under active development and rewritting.

Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
2023-06-22 16:08:59 +02:00
iGor milhit 97c6ac262e
completion: add completion for text in the buffer
- Adds completion capabilities for text (in the current buffer), with
  the help of `cmp-buffer`).
- Expand the French dictionnary.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-06-22 15:30:23 +02:00
iGor milhit c02afa6bbe
snippets: fix wrong function in md snippets
- Replace `get_date` by `get_datetime` in the frontmatter snippets for
  markdown.

Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
2023-06-20 09:14:17 +02:00
iGor milhit 53f0665f05
plugins: add a plugin to manage terminal
- Adds the ToogleTerm plugin that allows to improve the managment of
  terminal buffers.
- Configures it.

Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
2023-06-20 09:02:57 +02:00
iGor milhit 6e02172511 snippets: fix the date function for markdown
Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
2023-06-16 15:45:35 +02:00
iGor milhit 049a6e7b14 md preview: fix the node package installation.
- Fixes the markdown preview node package installation.
- Removes the theme configuration.

Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
2023-06-16 15:45:35 +02:00
iGor milhit 1f9d1c7657
zenmode: Improve slightly the configuration
- Disables the foldcolumn which displays the fold level.
- Removes the backdrop to get a better color experience.
- Removes the colorcolumn in zen mode.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-06-16 15:38:21 +02:00
iGor milhit b30b439e71
LSP: install and configure texlab
- Installs and configure texlab which provides LSP and linter for LaTeX.
  Should also allow to build a project, but It is failling right now, I
  don't get why.
- Adds a markdown snippet to get the number of the curret day.
- Adds a markdown snippet to get the current date.
- Improves the syntax of the markdown snippets descriptions.
- Documents the feature of the plugin that provides the snippets search
  through telescope.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-06-13 07:12:16 +02:00
iGor milhit 980b84a0e0
snippets: add some markdown snippets
- Adds a snippet to create a link in markdown reference syntax.
- Adds a frontmatter snippet for my INC notes.
- Replace the fronmatter snippet for markdown with a formatted one,
  easier to read.
- Improves the description of my markdown snippets.
- Enables the search highlighting.
- Removes unnecessary lualine separator.
- Renames the neo-tree plugin file.
- Lazy loads the zen-mode for markdown files.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-06-11 08:56:35 +02:00
iGor milhit c9af70e82e
snippets: load my own snippets
- Renames the snippets folder to my_snippets.
- Loads my snippets.
- Creates two snippet example available for all filetypes.
- Creates three snippets for markdown filetype.
- Adds the telescope luasnip plugin.
- Sets a keymaping to fuzzy search all available snippets (<leader>ss).

Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
2023-06-09 15:17:37 +02:00
iGor milhit 402e5a9308
plugins: configure zen mode to be zenier
- Removes the sign column and disables the git sign plugin.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-06-08 21:40:36 +02:00
iGor milhit 376091e78d
python: fix the pyenv path
- Fixes the concatenation of strings for the pyenv path.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-06-08 20:42:43 +02:00
iGor milhit aa2f3c9615
global: add completion capabilites
- Add completion capabilities for paths.
- Add to the pandoc filetype the markdown snippets.
- Add a markdown template for new files created inside mkdnflow.
- Add all useful filetypes for mkdnflow.
- Add a keymap to fuzzy search open buffers (<leader>sb).
- Removes the `vim.env.HOME` variable in the python3 provider, as it is
  not working properly.

Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
2023-06-08 16:51:37 +02:00
iGor milhit fa8a07a7b8
markdown: set mkdnflow to conceal links
Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-06-08 07:12:48 +02:00
iGor milhit 4ce0a81056
plugins: add and configure zen-mode and twilight
Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-06-07 12:22:43 +02:00
iGor milhit 8eafbbedd7
global: improve the configuration
- Adds the rainbow_csv plugin to improve CSV file support.
- Sets mutliple filetypes for markdown plugins (`pandoc`, `markdown`).
  - `mkdnflow`.
  - `markdownpreview`.
  - `marksman` language server (but it doesn't work for pandoc
    filetype).
- Sets folding level to 1 to fold from the level 2 headings.
- Sets the python virtualenv as python3 provider.
- Updates the English dictionnaries.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-06-07 11:30:31 +02:00
iGor milhit 6f316190e5
plugins: set autopairs, vim-surround
Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-06-06 07:16:34 +02:00
iGor milhit a6a823e0d3
markdown: add mkdnflow plugin
- Adds mkdnflow plugin to add some notebook features.
- Removes the markdown and markdown_inline parsers for treesitter as it
  is not compatible with vim-pandoc-syntax (or the other way round).

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-06-01 21:21:10 +02:00
iGor milhit 0485ae6ed5
plugins: remove vim-rhubarb (github related)
Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-06-01 07:20:55 +02:00
iGor milhit 1b188ceafd
markdown: améliore l'environnement markdown
- Installe les parsers pour markdown et markdown_inline.
- Ajoute et configure le plugins pour le colorscheme Nordic.
- Paramètre la correction orthographique pour l'anglais, le français et
  l'allemand.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-05-31 21:51:37 +02:00
iGor milhit 5c7726586f
markdown: ajoute des plugins pour le markdown
- Ajoute le plugin `markdown-preview.nvim` pour le preview.
- Ajoute les deux plugins vim-pandoc pour le support de la syntaxe
  markdown et pour les exports via pandoc.
- Définit des options de base (largeur maximale de 79 caractères.
- Restore les règles du `.gitignore` du projet kickstart.nvim.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-05-30 21:06:21 +02:00
3 changed files with 2 additions and 42 deletions

View File

@ -1,42 +0,0 @@
-- Zen mode with twilight.
-- Improves the edition experience with distraction free feature.
return {
"folke/zen-mode.nvim",
ft = {
"markdown",
"pandoc"
},
-- Twilight allows to dim text outside of the cursor line.
dependencies = {
"folke/twilight.nvim",
opts = {
-- Set the context to null in order to avoid highlighting to much
-- paragraphs in markdown.
context = 0,
},
},
opts = {
window = {
backdrop = 1,
-- Set the window width (85 columns) and height (80%).
width = 85,
height = .8,
options = {
-- Disable line numbering, signcolumn and colorcolumn.
number = false,
signcolumn = "no",
colorcolumn = "0"
},
},
plugins = {
options = {
enabled = true,
ruler = false,
showcmd = false,
foldcolumn = "0"
},
gitsigns = { enabled = false },
},
},
}

View File

@ -11,3 +11,5 @@ hyperindustrialisés
lacto-fermentation lacto-fermentation
d'engrain d'engrain
écorcheuse écorcheuse
écopolitique
Centralité

Binary file not shown.