Commit Graph

12 Commits (cda7ff36e318f37d9fe2ecb8119598e931c250b4)

Author SHA1 Message Date
iGor milhit 481b13b37b
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-02-01 11:27:00 +01:00
iGor milhit f9b7aa0279
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-10-17 11:27:02 +02:00
iGor milhit 7cb3422123
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>
2023-10-17 11:26:21 +02:00
iGor milhit f1d5af9e6f
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-08-23 15:10:23 +02:00
iGor milhit 5ce8f4285a
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-08-23 15:10:23 +02:00
iGor milhit 93a825e952
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>
2023-08-23 15:09:20 +02:00
iGor milhit 13e1faf10c
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>
2023-08-23 14:56:58 +02:00
iGor milhit 7c52a10de3
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>
2023-08-23 08:31:22 +02:00
iGor milhit e33c6e1b80
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>
2023-08-22 16:12:12 +02:00
iGor milhit 02ca7d1d2b
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>
2023-08-22 14:44:52 +02:00
iGor milhit 25c736d4f7
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>
2023-08-22 11:44:57 +02:00
iGor milhit 9cae3c7b03
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>
2023-05-29 12:23:55 +02:00