Commit Graph

21 Commits (d89a6c4d5fa96bce58d6794b45249243e0fa4dbb)

Author SHA1 Message Date
iGor milhit fe25313c23
global: rewrite configuration from scratch
- Allows me to better understand what are doing the installed plugins
  and depedencies.
- Improves the structure of the configuration, in order to ease
  the maintenance.
- Improves markdown experience, even if it can still be improved.
- Documents the configuration in the README file.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-08-08 11:33:12 +02:00
iGor milhit 6f5f205cca
options: set breakindent to true
- Sets the breakindent option to true. It should allow vim-pandoc to
  handle list with hard wrap with better indentation, as I want.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-06-19 14:49:55 +02:00
iGor milhit df27a91f63
theme: set the adwaita colorscheme
- Sets the Adwaita colorscheme, also for lualine.
- Remove the marksman parser.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-05-16 12:06:44 +02:00
iGor milhit fa63aa9445
pandoc: disable treesitter for markdown
- Disables treesitter for markdown to avoid conflicts with vim-pandoc*
  plugins.
- Sets the folding level to 1 for pandoc filetypes.
- Moves to a nord light theme.
- Fixes the treesitter configuration.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-05-16 12:06:44 +02:00
iGor milhit de01104408
json: add support of schemastore schemas
Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-05-16 12:06:44 +02:00
iGor milhit 60c7aacd4e
options: set shiftwidth and softtabstop
Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-05-16 12:06:44 +02:00
iGor milhit b17723a4b5
plugins: add venv-selector
- Adds `venv-selector` to ease the setting of the needed virtual
  environment for python.
- Adds pyright as a python LSP server.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-05-16 12:06:44 +02:00
iGor milhit 2959893e49
plugins: improve LuaSnip configuration
Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-05-16 12:06:44 +02:00
iGor milhit 1810cf9a24
mason: remove tectonic configuration for build
Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-05-16 12:06:44 +02:00
iGor milhit cbd7159754
plugins: improve config, remove unused plugins
- Updates the configuration according to the indent blankline plugin
  version 3.
- Removes the ZenMode plugin as I should have done long ago.
- Lazy loads the Rainbow CSV plugin.
- Adds a keymap (<leader>ch) for the command history picker of
  telescope.
- Removes the kickstart big comment on top of the init.lua file.
- Removes the config file that I don't remember the utility.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-05-16 12:06:43 +02:00
iGor milhit 8310bfb34b
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>
2024-05-16 12:06:43 +02:00
iGor milhit 195075d96c
snippets: add HTML and commit snippets
- Creates a new file for custom HTML snippets.
- Creates 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.
- Creates a snippet for commit message to save working hours.
- Creates snippet for incremental note commits.
- Creates snippet for AoU stats commits.
- Removes redundant markdown snippets for the date.
- Improves the markdown snippet for incremental note entry.
- 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>
2024-05-16 12:06:43 +02:00
iGor milhit 8162a01e8e
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>
2024-05-16 12:06:43 +02:00
iGor milhit 4484afbca5
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>
2024-05-16 12:06:43 +02:00
iGor milhit 983dfae04c
completion: add completion for text in the buffer
- Adds completion capabilities for text (in the current buffer), with
  the help of `cmp-buffer`).
- Set the keyword_length to 4 in order to lighten the buffer completion.
- 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.
- Add a markdown snippet to add a tags line in my incremental notes
  (journal).
- Expand the French dictionnary.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-05-16 12:06:43 +02:00
iGor milhit 054c4defa5
plugins: improve configuration, install plugins
- Fixes the markdown preview node package installation.
- Removes the markdown preview theme configuration.
- Adds the ToggleTerm plugin that allows to improve the managment of
  terminal buffers and configures it.
- Ensures to use the legacy tag for the fidget plugin, as it will be
  under active development and rewritting.
- Installs Grammalect, which is a French language checker. This plugin
  requires the python package `Grammalecte` that provide
  `grammalecte-cli` and `grammalecte-server`.
- Sets, in the mkdnflow configuration, the `perspective.priority` to
  `current` to get the follow link feature behaves as I need, relative
  to the current buffer.
- Fixes, in the mkdnflow configuration, 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>
2024-05-16 12:06:43 +02:00
iGor milhit 6c0e0b4de1
snippets: load my own, add markdown snippets
- Renames the snippets folder to my_snippets.
- Lazy loads my snippets.
- Creates two snippet example available for all filetypes.
- Creates three snippets for markdown filetype.
- Creates a markdown snippet to get the number of the curret day.
- Creates a markdown snippet to get the current date.
- Creates a snippet to create a link in markdown reference syntax.
- Creates a generic frontmatter snippet.
- Creates a frontmatter snippet for my incremental notes (journal).
- Improves the description and description syntax of my markdown
  snippets.
- Adds the telescope luasnip plugin.
- Sets a keymaping to fuzzy search all available snippets (<leader>ss).
- Documents the feature of the plugin that provides the snippets search
  through telescope.
- Enables the search highlighting.
- Removes unnecessary lualine separator.
- Renames the neo-tree plugin file.
- Lazy loads the zen-mode for markdown files.
- 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.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-05-16 12:06:42 +02:00
iGor milhit cc2ec20a73
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.
- Adds completion capabilities for paths.
- Adds to the pandoc filetype the markdown snippets.
- Adds a markdown template for new files created inside mkdnflow.
- Adds all useful filetypes for mkdnflow.
- Adds a keymap to fuzzy search open buffers (<leader>sb).
- Updates the English dictionnaries.
- Installs the German dictionnaires.
- Fixes the concatenation of strings for the pyenv path.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-05-16 12:06:42 +02:00
iGor milhit bfbd5df274
plugins: remove and install some
- Removes vim-rhubarb (github related).
- Sets autopairs and vim-surround.
- Adds and configures true-zen and twilight

Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-05-16 12:06:20 +02:00
iGor milhit 94adb9ba82
markdown: configure the markdown environment
- Adds the `markdown-preview.nvim` plugin.
- Adds the two `vim-pandoc` and `vim-pandoc-syntax` for the support of
  markdown syntax and for file conversions with pandoc.
- Sets basic options (max width of 79 chars).
- Restores the `.gitignore` rules of the kickstart.nvim project.
- Adds and configures the Nordic colorscheme plugin.
- Sets the English, French and German spelling.
- Adds the `mkdnflow` plugin to get notebook features.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-05-16 12:06:20 +02:00
iGor milhit 9f773efbcb
global: rewrite neovim config based on kickstart
- Copies all kickstart files here.
- Rename my config to init.vim.save.
- Add the markdown preview plugin.
- Add the neo-tree plugin, as explained in the REAME.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-05-16 12:06:20 +02:00